9

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)

3 Answers 3

16

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

6

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

1
  • With this tool, you can select several fields to check for duplicates at the same time (e.g., all the fields except the ID. Like this it checks whether there are duplicate rows). Very handy.
    – Motti
    Commented Dec 1, 2023 at 8:49
3

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

N.

1
  • + v.clean(break) in case that lines are overlapping but not completely. Commented Dec 5, 2016 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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