Hi Tina,

Your problem can easily be solved. Most easily if you have mapbasic since it
involves quite a few steps, which however are possible to do "by hand" in
mapinfo. I have listed them below.

If you have a mix of lines and polylines, you will have to do it in mapbasic
or it gets very clumsy ! This code is based on polylines only and if you
type it into the mapbasic window (one line at a time), it should run just
fine:

set coordsys table mytable
select ObjectNodeX(obj, 1, 1), ObjectNodeY(obj, 1, 1) from mytable into tmp
commit table tmp as "tmp"
close table tmp1
open table "tmp1"
select ObjectNodeX(obj, 1, objectinfo(obj,20)),ObjectNodeY(obj, 1,
objectinfo(obj,20)) from mytable into tmp2
insert into tmp1 select * from tmp2
commit table tmp1
close table tmp2
select col1,col2 from tmp1 group by col1,col2 into tmp3
commit table tmp3 as "intersections"
close table tmp3
open table "intersections"

Now you just have to make your new table mappable and add points.

Kind regards

Uffe Kousgaard
www.routeware.dk

----- Original Message -----
From: "Tina Freeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 12:21 AM
Subject: MI-L Point de-duplicating


> I am seeking tools to generate a point layer at the intersections of a
> polyline layer, without duplicates.  The purpose is to perform spatial
> queries on road centreline intersection locations.  Currently the only
tool
> I have been able to find places point at the end of each polyline,
> therefore generating duplicate points at each intersection.
>
> Regards,
>
> TINA FREEMAN
> GIS Technical Officer
>
> TONKIN CONSULTING
>
> 5 Cooke Terrace
> Wayville SA 5034
> T  +61 8 8273 3100
> F  +61 8 8273 3110
> E  [EMAIL PROTECTED]
>
>
> PRIVACY & CONFIDENTIALITY NOTICE
>
> This e-mail and any files transmitted with it are confidential and are
> intended solely for the use of the individual or entity to whom it is
> addressed.  This communication may contain material which is legally
> privileged and any misuse of this e-mail and any file attachments is
> strictly prohibited.  If you have received this e-mail in error, please
> delete
> it and any attachments immediately and notify the first sender by e-mail
> or by telephoning +61 8 8273 3100.
>
> You may rely on documents and drawings received by e-mail when
> confirmed by a signed Tonkin Consulting hardcopy.
>
> Whilst we have used appropriate software to alert us to the presence
> of computer viruses, we cannot guarantee that this e-mail and any files
> transmitted with it are free from them.
>
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>




_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to