if you are using PostGIS try PgRoute On Tue, Jun 14, 2011 at 5:06 PM, Jackie Ng <[email protected]> wrote: > A high-level process flow would be something like this off the top of my > head: > > Create a MgCoordinateSystem object from the SRS of your MgMap > > With the MgGeometry instance in question (representing the highway), start > from the first coordinate and use the measuring functionality of your > MgCoordinateSystem to measure the distance between each coordinate, tallying > up the running total distance. Once this running total distance passes > 22.3km, measure the distance between the current coordinate and the > previously sampled one to determine which coordinate is closest to the > 22.3km mark. The coordinate closest to this mark would be the coordinate you > are after. > > - Jackie > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/How-to-realize-the-dynamic-segment-function-in-MGOS-tp6472870p6472985.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users >
-- Zac Spitzer Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
