Thanks for the reply. i will try this procedure.<br><br>
<div class="gmail_quote">On Dec 22, 2007 6:26 PM, Maksim Sestic &lt;<a href="mailto:max@geoinova.com">max@geoinova.com</a>&gt; 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&#39;s really a no-brainer, I implemented it as a web service
<br>backed by MG. Downside - it&#39;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>&gt;<br>&gt; I would like to see this functionality on the client, for use with<br>&gt; inteactive digitization.<br>&gt; The closest to an actual implementation I have seen is the MapBender
<br>&gt; project.<br>&gt;<br>&gt; Regards, Kenneth, GEOGRAF A/S<br>&gt;<br>&gt;<br>&gt;<br>&gt; Maksim Sestic skrev:<br>&gt;&gt; It&#39;s relatively easy to do. Here&#39;re the basic steps:<br>&gt;&gt;<br>&gt;&gt; 1) Make a Buffer around a point (buffer size = treshold)
<br>&gt;&gt; 2) Find LineStrings intersecting a Buffer<br>&gt;&gt; 3) If no LineStrings were found, then return original point (or whatever)<br>&gt;&gt; 4) Enumerate each LineString vertex to see which one is closest to the
<br>&gt;&gt; point<br>&gt;&gt; (distance comparer)<br>&gt;&gt; 5) Return closest LineString vertex as a &quot;snap&quot; point<br>&gt;&gt;<br>&gt;&gt; Regards,<br>&gt;&gt; Maksim Sestic<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;
<br>&gt;&gt; Wind wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; hello everyone: Has anyone done any snapping point to line in mapguide<br>&gt;&gt;&gt; enterprise?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ---------- Forwarded message ----------
<br>&gt;&gt;&gt; From: Wind &lt;<a href="mailto:sherwin.luna@gmail.com">sherwin.luna@gmail.com</a>&gt;<br>&gt;&gt;&gt; Date: Dec 18, 2007 11:38 AM<br>&gt;&gt;&gt; Subject: Re: [mapguide-users] Digitizing demo<br>&gt;&gt;&gt; To: 
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; hello everyone: Has anyone done any snapping point to line in mapguide<br>
&gt;&gt;&gt; enterprise?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; BradM wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hello all: &nbsp;Digitizing new point, line and polygon features is critical<br>&gt;&gt;&gt;&gt; for mapping features on the community mapping network at 
<a href="http://www.cmnbc.ca/" target="_blank">www.cmnbc.ca</a>.<br>&gt;&gt;&gt;&gt; Does anybody have digitizing tools working in a demo that I can view?<br>&gt;&gt;&gt;&gt; Is<br>&gt;&gt;&gt;&gt; anybody interested in developing the tools to make them really
<br>&gt;&gt;&gt;&gt; efficient?<br>&gt;&gt;&gt;&gt; We need tools that &nbsp;give added functionality for editing, &nbsp;creating new<br>&gt;&gt;&gt;&gt; points by adding a distance and a bearing from one point to the next,<br>&gt;&gt;&gt;&gt; creating shapefiles, downloading shapefiles, snapping points to lines
<br>&gt;&gt;&gt;&gt; and<br>&gt;&gt;&gt;&gt; more....<br>&gt;&gt;&gt;&gt; thanks<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:<br>&gt;&gt;&gt; <a href="http://www.nabble.com/Digitizing-demo-tp4127680s16610p14377506.html" target="_blank">
http://www.nabble.com/Digitizing-demo-tp4127680s16610p14377506.html</a><br>&gt;&gt;&gt; Sent from the MapGuide Users mailing list archive at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; mapguide-users mailing list<br>&gt;&gt;&gt; <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; mapguide-users mailing list<br>&gt;&gt;&gt; <a href="mailto:mapguide-users@lists.osgeo.org">
mapguide-users@lists.osgeo.org</a><br>&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mapguide-users mailing list<br>&gt; <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org
</a><br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>&gt;<br>&gt;<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>