Hi,

Here's an example [1] that shows how to setup a WFS-T protocol with a vector layer and some editing tools. It should give you a good idea about what's required on client-side.

Also, you'll need a server to manage your transactions to your database. If you currently don't have any, I'd propose the one I usually use : TinyOWS. It's light, easy to setup and connects easily to a PostGIS data source. Follow the installation instructions [2] and try installing the demo as well (sudo make install-demo).

  The download url in the doc is invalid.  The good one is [3].

  This "how to" [3] should help a lot, too.

HTH,

Alexandre

[1] http://openlayers.org/dev/examples/wfs-protocol-transactions.html
[2] http://mapserver.org/trunk/tinyows/serverinstallation.html
[3] http://tinyows.org/release/tinyows-1.0.0.tar.bz2
[4] http://mapserver.org/trunk/tinyows/openlayershowtobasic.html


On 12-08-06 01:42 PM, adidas wrote:
Hello! This example ( http://openlayers.org/dev/examples/drag-feature.html ) shows how to draw a feature on the map. My question is: how to keep the drawn feature in the database?
Thanks!
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users


--
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to