[mapguide-users] Re: Need to draw lines, points, possibly polygons to database

GordonL gordon.luckett at arrowgeomatics.com
Thu Oct 13 10:05:36 EDT 2011

You might have to tweak the PHP insert a little:

insert into  mytable(geom) VALUES('geography::STGeomFromText('LINESTRING("
.stripslashes($_REQUEST["myGEOM"]). ")', 4326) "; 

where 4326 is LL

View this message in context: http://osgeo-org.1803224.n2.nabble.com/Need-to-draw-lines-points-possibly-polygons-to-database-tp6860154p6889042.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list