I've got PostGIS installed and would like to create a web application to do some simple edits:

  • Draw manually (over a Basemap) points, lines and polylines, using snapping points (points, end of lines, intersections, center of circles)
  • Delete points, lines and polylines

  • Rotate a line or group of lines around a point

  • Move a line or group of lines with a base point

  • Move polylines and points (manually and to a point given by the coordinates)

  • Edit position of vertices of polylines and lines (manually and to a point given by the coordinates)

  • Create buffers around points, lines and polylines

Which is the best way to do this via web? Is there any already-built JavaScript library?

3 Answers 3


You should use Geoserver WFS-T,WPS protocols and some client software like openlayers http://openlayers.org/dev/examples/wfs-protocol-transactions.html



I would look into Cartaro, it appears to be based off of OpenLayers Editor by geOps.

I also just saw this OpenLayers WFS-T Using a GeoServer Hosted PostGIS Layer.

  • Cartaro is a combination of CMS and spatial data editing and probably not well suited for doing only spatial data editing. OpenLayers Editor however would be a good starting point. By the way I've recently added WFS-T and rotation support. Thanks for recommending our work. Commented Aug 10, 2012 at 18:11
  • How does Cartaro compare to OpenGeo Suite? Commented Mar 20, 2014 at 4:21

I do not think there are any "ready-to-use" libraries that covers all your needs, but with the mentioned combination of Geoserver (with wfs-t) and OpenLayers it should be possible to create what you want. Maybe mapfish has some more convenience-methods?

And, if web-based is not a "must have", then consider using Quantum GIS.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.