Here's an old demo using OpenLayers + TinyOWS for WFS-T. This might give you some ideas.
http://dev4.mapgears.com/bdga/bdgaWFS-T.html Alexandre Paul Spencer wrote: > Try using tinyows, it is a lightweight c-based cgi that implements WFS > with transaction support and is backed by a postgres/postgis > database. The WFS protocol in OpenLayers seems to work perfectly with > it, use the Save strategy to ensure every edit gets saved to the db > and you can use mapserver to draw maps with features from the db. > > Cheers > > Paul > > On 2009-08-28, at 11:49 AM, AlessioDL wrote: > > >> Hi, >> >> I'm looking for a strategy to use OL as an editor to populate a >> polygon >> postgis layer. >> I can't use WFS-T because I have to work with UMN-Mapserver that >> doesn't >> support this specification. >> >> What I would like to do is this: >> >> (1) use the drawing tools to create my vector features on the map >> (2) capture the WKT string for these drawings in a form field >> (3) send an insert query to postgis via PHP >> >> The (1) and (3) are ok for me, but I need some help with the (2). >> Can you give me some suggestions? >> Is my "strategy" correct in your opinion? >> >> TIA, alessio >> -- >> View this message in context: >> http://n2.nabble.com/Save-Vector-drawings-in-PostGIS-tp3535558p3535558.html >> Sent from the OpenLayers Users mailing list archive at Nabble.com. >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
