HI,
I am trying to use Geoserver - PostGIS, I am trying to create a new
FeatureType as "polygon", Geoserver throws throws the following error,
while trying to get the bounding box info on the FeatureType Editor. I have
got a response from PostGIS users mailing list that the PostGIS renamed the
extent function to ST_EXTENT (?), is it a problem with Geoserver? if so, can
the Geoserver (geotools) change the use of ST_EXTENT function?
GeoServer - Exception The following exception was thrown:
- class org.geotools.data.DataSourceException: Could not count Request
All Features
- class org.postgresql.util.PSQLException: ERROR: function
extent(geometry) does not exist
Details:
org.geotools.data.DataSourceException: Could not count Request All Features
at
org.geotools.data.postgis.PostgisFeatureStore.bounds(PostgisFeatureStore.java:764)
at
org.geotools.data.postgis.PostgisFeatureStore.getBounds(PostgisFeatureStore.java:676)
at
org.geotools.data.postgis.PostgisFeatureStore.getBounds(PostgisFeatureStore.java:653)
at
org.geoserver.feature.FeatureSourceUtils.getBoundingBoxEnvelope(FeatureSourceUtils.java:44)
at
org.vfny.geoserver.util.DataStoreUtils.getBoundingBoxEnvelope(DataStoreUtils.java:318)
at
org.vfny.geoserver.action.data.TypesEditorAction.executeBBox(TypesEditorAction.java:234)
at
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.java:136)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
following is the response from PostGIS users forum:
> * class org.geotools.data.DataSourceException: Could not count
> Request All Features
> * class org.postgresql.util.PSQLException: ERROR: function
> extent(geometry) does not exist
Does function extent() still exists in newer version of PostGIS or was
it removed and replaced by ST_extent()???
In the latter case, it's a Geotools problem, because it appears to be
using the old syntax.
Thanks!
Giri
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel