removing duplicate lines

1,046 views
Skip to first unread message

Mel King

unread,
Jan 24, 2010, 11:47:52 PM1/24/10
to MapInfo-L
Hi all
Does anybody know how to remove duplicate lines? I found the MI tool
to remove duplicate records and also a post on how to remove duplicate
points but nothing on lines.
Thanks

Mats Elfström

unread,
Jan 25, 2010, 5:55:55 AM1/25/10
to mapi...@googlegroups.com
Hi Mel!
 
Please define duplicate lines.
 
Regards, Mats.E

2010/1/25 Mel King <mk...@unidel.com.au>

--
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To post to this group, send email to mapi...@googlegroups.com.
To unsubscribe from this group, send email to mapinfo-l+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mapinfo-l?hl=en.


CDR Group

unread,
Jan 25, 2010, 6:32:43 AM1/25/10
to mapi...@googlegroups.com
Hello Mel
 
If you find a duplicate - how do you know which one to delete?
Which is the correct one?
 
John Ievers
CDR Group
www.cdrgroup.co.uk
www.puredotnet.co.uk
Tel: 01433 621282
Fax: 01433 621292
Specialists in Geographic Information Systems

CDR Group is the trading name of Contract Data Research Ltd.
Registered address Eccles House, Eccles Lane, Hope, Hope Valley, S33 6RW.
Registration No. 1972376
VAT No. GB373 3117 67

MapInfo-L

unread,
Jan 25, 2010, 7:25:26 AM1/25/10
to mapi...@googlegroups.com
Hi John
 
If they are genuine duplicates ( identical geometry and attributes and on the same layer ) I guess it does not matter which one(s) you remove - as long as only one is left after. Its just like not wanting duplicate TOIDS in MasterMap.
 
A spatial solution with MapBasic would be to step through the TAB file record by record - get the records from the same layer in the MBR of the current record - and then with these records test for coincidence and attribution match - removing exact matches of current records. On moving to a record test ot is not deleted and if not repeat. At end pack table. There is perhaps a faster way - but this program could be refined to include or exclude based on other factors like attribution, colour line width etc etc.
 
I do not know of a utility to do this but there must be one out there ??
 
Regards
 
Bob

Driver, Greg 9434

unread,
Jan 25, 2010, 8:09:29 AM1/25/10
to mapi...@googlegroups.com
You could try SKIMALL -
 
 
"Skimall finds records that are judged identical on the basis of a strategy chosen by the user"
 
HTH

Greg Driver

NOT PROTECTIVELY MARKED

Information about this E-mail
This email and any files or attachments with it are intended solely for the use of the individual(s) or organisation(s) to whom it is addressed.

It may contain information that is confidential or subject to legal and/or professional privilege.

If you have received this email in error please notify the sender and delete it including any files or attachments from your e-mail account or computer.

Any opinions expressed in this email are those of the individual and not necessarily those of Surrey Police.

Surrey Police monitor incoming and outgoing e-mail.

Cinda Graubard

unread,
Jan 25, 2010, 9:54:25 AM1/25/10
to mapi...@googlegroups.com
If you have Discover, the really great topology tool called Polybuilder will find, identify and remove duplicate lines.

Cinda Graubard
GeoMax

smaps

unread,
Jan 27, 2010, 11:37:37 AM1/27/10
to MapInfo-L
If you have identical duplicates (that, only one line is visible)in
the same layer,

Make the layer editable

Select All objects in the layer
(note: When you "select all" identical duplicates, selection
"Highlight" become invisible )

Go to > Objects > Snap/Thin....


Check "Enable Node Thinning/Generalization"
Give Values 0, 0 for both "3-Node Collinear Deviation" and "Node
Separation"

Click OK

Hope This works(Do backup your data before your first try)

Regards
Srk Nair
http://www.gis.maphics.com

smaps

unread,
Jan 27, 2010, 11:39:37 AM1/27/10
to MapInfo-L

Make the layer editable

Go to > Objects > Snap/Thin....

Click OK

Reply all
Reply to author
Forward
0 new messages