[Featureserver] problems with OpenLayers WFS
G. Allegri
giohappy at gmail.com
Thu May 22 12:16:03 EDT 2008
I put it:
My featureserver.cfg is:
[metadata]
default_service=GeoJSON
srs=3003 (I tried this)
[yyy]
type=PostGIS
dsn=host=localhost dbname=iet user=guest password=guest
layer=yyy
id=ogc_fid
geometry=wkb_geometry
srs=3003 (and this)
Sometimes I geti
An error occurred: 'ammcom03'
File "/www/projects/darfur/lib/featureserver-1.11/FeatureServer/Server.py",
line 186, in modPythonHandler
request_method
File "/www/projects/darfur/lib/featureserver-1.11/FeatureServer/Server.py",
line 133, in dispatchRequest
request.parse(params, path_info, host, post_data, request_method)
File "/www/projects/darfur/lib/featureserver-1.11/FeatureServer/Service/__init__.py",
line 66, in parse
action = self.get_select_action(path_info, params)
File "/www/projects/darfur/lib/featureserver-1.11/FeatureServer/Service/__init__.py",
line 110, in get_select_action
ds = self.service.datasources[self.datasource]
some other:
An error occurred: current transaction is aborted, commands ignored
until end of transaction block
File "/www/projects/iet/lib/featureserver-1.11/FeatureServer/Server.py",
line 186, in modPythonHandler
request_method
File "/www/projects/iet/lib/featureserver-1.11/FeatureServer/Server.py",
line 145, in dispatchRequest
result = method(action)
File "/www/projects/iet/lib/featureserver-1.11/FeatureServer/DataSource/PostGIS.py",
line 204, in select
cursor.execute(str(sql), attrs)
I'm really getting mad. I tried with a 4326 layer and it works ok...
More information about the Featureserver
mailing list