[mapguide-users] Fwd: Line Snapping

Kenneth, GEOGRAF A/S ks at geograf.dk
Fri Dec 21 13:04:45 EST 2007


I would like to see this functionality on the client, for use with 
inteactive digitization.
The closest to an actual implementation I have seen is the MapBender 
project.

Regards, Kenneth, GEOGRAF A/S



Maksim Sestic skrev:
> It's relatively easy to do. Here're the basic steps:
>
> 1) Make a Buffer around a point (buffer size = treshold)
> 2) Find LineStrings intersecting a Buffer
> 3) If no LineStrings were found, then return original point (or whatever)
> 4) Enumerate each LineString vertex to see which one is closest to the point
> (distance comparer)
> 5) Return closest LineString vertex as a "snap" point
>
> Regards,
> Maksim Sestic
>
>
>
> Wind wrote:
>   
>> hello everyone: Has anyone done any snapping point to line in mapguide
>> enterprise?
>>
>> ---------- Forwarded message ----------
>> From: Wind <sherwin.luna at gmail.com>
>> Date: Dec 18, 2007 11:38 AM
>> Subject: Re: [mapguide-users] Digitizing demo
>> To: mapguide-users at lists.osgeo.org
>>
>>
>>
>> hello everyone: Has anyone done any snapping point to line in mapguide
>> enterprise?
>>
>>
>>
>> BradM wrote:
>>     
>>> Hello all:  Digitizing new point, line and polygon features is critical
>>> for mapping features on the community mapping network at www.cmnbc.ca.
>>> Does anybody have digitizing tools working in a demo that I can view?  
>>> Is
>>> anybody interested in developing the tools to make them really efficient?
>>> We need tools that  give added functionality for editing,  creating new
>>> points by adding a distance and a bearing from one point to the next,
>>> creating shapefiles, downloading shapefiles, snapping points to lines and
>>> more....
>>> thanks
>>>
>>>       
>> --
>> View this message in context:
>> http://www.nabble.com/Digitizing-demo-tp4127680s16610p14377506.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071221/760ce086/attachment.html


More information about the mapguide-users mailing list