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

Carmelo Saffioti csaffi at libero.it
Mon Jan 5 06:01:43 EST 2009


Is there any example code about drawing a line connecting points of known coordinates?
Anybody can help me about that?


Thank you very much in advance
 
  ----- Original Message ----- 
  From: Carmelo Saffioti 
  To: mapguide-users at lists.osgeo.org 
  Sent: Monday, December 22, 2008 2:08 PM
  Subject: How to dynamically draw lines from MySql queryes


  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/20090105/6aabbe9b/attachment.html


More information about the mapguide-users mailing list