1

I edited a shapefile of approximately 1500+ pipe segments yesterday in QGIS. When opened today (first in ArcMAP by another user) only about 10% of the pipes were drawn. The same happened when the shapefile was subsequently opened again in QGIS. The attribute table still shows the 1500+ pipes.

Any help as to why they are not drawing?

Attached image shows original file (rose coloured lines) versus edited (blue lines).

original (rose) versus edited (blue) data

1

The good news is that your data is good. Your file is not displaying correctly in ArcGIS because the spatial index for a shapefile is not updated during editing in QGIS. The comment reply by elrobis has an excellent suggestion to use ogr2ogr to export the file, which should fix the index problem. Simply deleting the spatial index files (.sbn and .sbx) will also work.

You can rebuild the index within ArcGIS by exporting the shapefile to a new shapefile.

  • Saving a new copy w/QGIS did not work, and I am not very astute with the other options suggested. I asked our IT folks to help me interpret the suggestions received on this site, and they decided to simply restore the copy on the backup server, which lost a small amount of my data but not much. I will need to improve to be able to take advantage of the solutions suggested. Thanks for taking the time to review and respond. – user48144 May 22 '15 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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