[OpenLayers-Users] writing to my own wfs server

Arnd Wippermann arnd.wippermann at web.de
Mon Jul 30 12:36:44 EDT 2007


Hello Robert,

I would think, you can talk to your postgis-db via odbc. 

I use the editing functions of openlayers to draw a feature, select that
feature and use a serverside asp-script to insert the selected feature as
WKT string via odbc into an access-db. With mapserver and ogr I can request
the geometry and attributes from the access-db and show it in the map.

It is also possible with a WMS GetFeatureRequest to select features from the
db and delete the features in the db with odbc.

When the great editing tools from openlayers get the possibility to update
features (changing the geometry after drawing it), one can use an internet
explorer and openlayers for drawing, updating and deleting geometry data.

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/ginfo/








-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Burgholzer,Robert
Gesendet: Freitag, 27. Juli 2007 21:44
An: Users at openlayers.org
Betreff: Re: [OpenLayers-Users] writing to my own wfs server

I am thinking perhaps to post the data from the openlayers, and intercept it
with some php, that can then enter it into postgis via WKT (assuming that
the openlayers wfs-t object produces point cords for the shapes, which I
haven't verified, but assume that it must).

I will look at the packages to see further.

r.b.

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: Friday, July 27, 2007 3:41 PM
To: Burgholzer,Robert
Cc: Users at openlayers.org
Subject: Re: [OpenLayers-Users] writing to my own wfs server

On Fri, Jul 27, 2007 at 02:46:50PM -0400, Burgholzer,Robert wrote:
> Ahh yes, double-drat!
> 
> Don't suppose anyone has put together any PostGIS functions in 
> openlayers that will permit writing a WKT feature directly to a
PostGIS
> server? I am really dreading the prospect of another map-serving
entity
> on my machine.

If you mean something that allows you to talk to PostGIS directly from a web
browser... I can't imagine how that would work. You're going to need some
kind of layer inbetween that speaks a non-binary language. 

FeatureServer is a Python CGI that is designed to speak a variety of
languages on the input side and output side, and is designed to be as little
work as possible to install. However, it requires some level of
configuration, and it is likely, or even possible, that you would be better
off with GeoServer.

Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list