Thanks for the reply. i will try this procedure.<br><br>
<div class="gmail_quote">On Dec 22, 2007 6:26 PM, Maksim Sestic <<a href="mailto:max@geoinova.com">max@geoinova.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Recently coded something similar, for digitizing accidents (points) against<br>road network. It's really a no-brainer, I implemented it as a web service
<br>backed by MG. Downside - it's relatively slow if you rely on MG+client only.<br>It redlines snapped points and flushes them back to feature store once<br>digitizing is over. But you can always intelligently precache targeted
<br>geometry on a client and do some JavaScript mish-mash, for CAD-like<br>experience.<br><br>I guess future enchancements related to MG client speed will have to tackle<br>problem of client-side data caching.<br><br>Regards,
<br>Maksim Sestic<br>
<div>
<div></div>
<div class="Wj3C7c"><br><br><br>Kenneth, GEOGRAF A/S wrote:<br>><br>> I would like to see this functionality on the client, for use with<br>> inteactive digitization.<br>> The closest to an actual implementation I have seen is the MapBender
<br>> project.<br>><br>> Regards, Kenneth, GEOGRAF A/S<br>><br>><br>><br>> Maksim Sestic skrev:<br>>> It's relatively easy to do. Here're the basic steps:<br>>><br>>> 1) Make a Buffer around a point (buffer size = treshold)
<br>>> 2) Find LineStrings intersecting a Buffer<br>>> 3) If no LineStrings were found, then return original point (or whatever)<br>>> 4) Enumerate each LineString vertex to see which one is closest to the
<br>>> point<br>>> (distance comparer)<br>>> 5) Return closest LineString vertex as a "snap" point<br>>><br>>> Regards,<br>>> Maksim Sestic<br>>><br>>><br>>>
<br>>> Wind wrote:<br>>><br>>>> hello everyone: Has anyone done any snapping point to line in mapguide<br>>>> enterprise?<br>>>><br>>>> ---------- Forwarded message ----------
<br>>>> From: Wind <<a href="mailto:sherwin.luna@gmail.com">sherwin.luna@gmail.com</a>><br>>>> Date: Dec 18, 2007 11:38 AM<br>>>> Subject: Re: [mapguide-users] Digitizing demo<br>>>> To:
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>>>><br>>>><br>>>><br>>>> hello everyone: Has anyone done any snapping point to line in mapguide<br>
>>> enterprise?<br>>>><br>>>><br>>>><br>>>> BradM wrote:<br>>>><br>>>>> Hello all: Digitizing new point, line and polygon features is critical<br>>>>> for mapping features on the community mapping network at
<a href="http://www.cmnbc.ca/" target="_blank">www.cmnbc.ca</a>.<br>>>>> Does anybody have digitizing tools working in a demo that I can view?<br>>>>> Is<br>>>>> anybody interested in developing the tools to make them really
<br>>>>> efficient?<br>>>>> We need tools that give added functionality for editing, creating new<br>>>>> points by adding a distance and a bearing from one point to the next,<br>>>>> creating shapefiles, downloading shapefiles, snapping points to lines
<br>>>>> and<br>>>>> more....<br>>>>> thanks<br>>>>><br>>>>><br>>>> --<br>>>> View this message in context:<br>>>> <a href="http://www.nabble.com/Digitizing-demo-tp4127680s16610p14377506.html" target="_blank">
http://www.nabble.com/Digitizing-demo-tp4127680s16610p14377506.html</a><br>>>> Sent from the MapGuide Users mailing list archive at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br>>>><br>
>>> _______________________________________________<br>>>> mapguide-users mailing list<br>>>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>>><br>>>> _______________________________________________<br>>>> mapguide-users mailing list<br>>>> <a href="mailto:mapguide-users@lists.osgeo.org">
mapguide-users@lists.osgeo.org</a><br>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>>><br>>>>
<br>>>><br>>><br>>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org
</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br><br></div></div><font color="#888888">--<br>View this message in context:
<a href="http://www.nabble.com/Fwd%3A-Line-Snapping-tp14451050s16610p14467864.html" target="_blank">http://www.nabble.com/Fwd%3A-Line-Snapping-tp14451050s16610p14467864.html</a><br></font>
<div>
<div></div>
<div class="Wj3C7c">Sent from the MapGuide Users mailing list archive at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br>mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><br></div></div></blockquote></div><br>