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 was wondering if anyone could help. I have a tab file in MapInfo consisting of just polylines. Each is meant to have its own reference number, however some are duplicated (e.g two lines occupying the same position with the same ID's) I can identify these with a query, but what I need to know is if it's possible to delete duplicates and leave one remaining (it doesn't matter which one as they are identical).

Thanks, Alan

(ps. I also have access to QGIS if it is easier in that)

share|improve this question

3 Answers 3

up vote 8 down vote accepted

Plugin mmqgis for QGIS. http://michaelminn.com/linux/mmqgis/ (http://plugins.qgis.org/plugins/tags/mmqgis/)- Delete Duplicate Geometries

share|improve this answer

Have a look at the Delete Duplicates tool that you can find in the Tool Manager. It will let you delete duplicates in a table based on attribute values, such as an ID.

Might be a good idea to create a backup of your table before using the tool.

This is in MapInfo Professional :-)

Peter

share|improve this answer

In QGIS you could try GRASS v.clean (rmdupl), it's included in the Sextante toolkit. See this link.

N.

share|improve this answer

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.