[postgis-users] inserting records via web-client

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Dec 5 19:42:45 PST 2005


> 
> I am currently trying to assess how difficult it would be to 
> insert a user-drawn shapes+attributes into a PostGIS 
> back-end. Using perhaps SVG or javascript enable web-client. 
> Does anyone know if this has been achieved?
> 

The most componentized way to do this would be to have a three-tiered
architecture, where a web client interacts with a Web Service which does
the DB inserts, i.e.

Web Application  <->  Web Service <-> PostGIS DB

Web Service: The OGC Web Feature Service (OGC:WFS) specification
provides a standards-based interface for data access.  In addition,
OGC:WFS allows for a transactional capability (OGC:WFS-T).  So you would
need software which runs atop PostGIS to obey the WFS-T specification.
Check out GeoServer (http://geoserver.sourceforge.net/) which allows for
transactional editing of underlying datastores.

Web Application: You would need software which acts as an OGC:WFS-T
client, making the appropriate requests as WFS transactions.  Check out
mapbuilder (http://mapbuilder.sourceforge.net/), an AJAX OGC
standards-based web mapping library which can do OGC:WFS-T client.

Hope this helps.

Cheers

..Tom

=========================
Tom Kralidis
Senior Systems Scientist
Environment Canada
Tel: +01-905-336-4409
http://www.ec.gc.ca/




More information about the postgis-users mailing list