How to set up GE for working with PostGIS and GeoServer
Hi all,
we run PostGIS 12 (latest version) and Geoserver 2.15 (where 2.16 is the latest)
- We can connect flawlessly to GeoServer WMS = OK
- We can connect flawlessly to Geoserver WMS + use WFS Name correlation to connect via WFS to the attributes
So far so good... however...
We can connect to Geoserver as WFS
- but upon loading a WFS service we get:
"An error occurred whil processing your request" Object reference not set to an instance of an object
- whatever button you hit now... you allways get this message
- when opening the site we get the message:
"ConfigurationLoadFailed/RequestError: Unable to load /Geocortex/Essentials/REST/viewers/../sites/test04/viewers/test04/virtualdirectory/Resources/Config/Default/Desktop.json.js status: 500"
I tried...
- Editing the WFS Map Service > Edit Connection Settings > Set WFS Version to 2.0.0
- Test connection = Succes
- now the error messages in GE are gone... everything seems to work fine
- when opening the site however, you get
"ConfigurationLoadFailed/RequestError: Unable to load /Geocortex/Essentials/REST/viewers/../sites/test04/viewers/test04/virtualdirectory/Resources/Config/Default/Desktop.json.js status: 500"
I tried...
Parsing the connect-string that GE automatically generates in "Edit WFS Map Service" into my browser results in:
http://srv-geoserver.lier.local:8080/geoserver/wms?request=DescribeFeatureType&service=WFS&typeName=Lier%3aeconomie_bed_terrein
"This document type can be harmfull for your computer"
I changed this url to a working one:
http://srv-geoserver.lier.local:8080/geoserver/Lier/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=Lier%3Aeconomie_bed_terrein&outputFormat=application%2Fjson
but the error on calling the website remains.
My question: Does anyone knows how to set up WFS on Geoserver?
0
-
Have you tried any other WFS client to see if GeoServer is setup properly? You could for instance try QGIS.
I'd also recommend to use the browser's developer tools (F12) when opening the viewer, and inspect the web requests (and responses) on the Network tab. Also see if there are any messages on the Console tab.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar