Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a vector layer stored in PostGIS. I split several lines in the layer and simplified others by removing vertices.

When I tried to save the changes to the layer I got postgres more postgres errors about duplicate gids.

Is this a result splitting features and if so how do I get around the issue?

Russell

share|improve this question
add comment

1 Answer

Ah, trap for young players (or perhaps that should be new players ;)

After more poking around I realised that while cut and pasting line segments between layers on occasions I had forgotten to select the new layer before pasting and thereby duplicating the feature in the original layer. Hence the duplicate gids.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.