[mapguide-users] How to dynamically draw lines from MySql queryes

Carmelo Saffioti csaffi at libero.it
Mon Dec 22 08:08:38 EST 2008


Hi everybody,
I've got a sequence of GPS lat/lon positions on a MySql db table. I need to draw a line which connects them. Is there any example code about doing that?

For drawing polygons with MapGuide, reading data from a MySql table, I saw that I need to create a POLYGON attribute on the DB with vertices points coordinates.Do I need to create similarly a LINE attribute on the DB? If yes, how can I dynamically execute MySql queryes for doing that, so that MapGuide can draw a line starting from a sequence of GPS coordinates?


I hope you can help me, thank you in advance
Carmelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081222/1fa2f047/attachment.html


More information about the mapguide-users mailing list