Geoserver fails reprojecting 2238 and 900913 in BBOX spatial queries
--------------------------------------------------------------------
Key: GEOS-2822
URL: http://jira.codehaus.org/browse/GEOS-2822
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.7.3
Environment: Windows server 2003, Sun Java 1.6,
http://www.nikos.alachua.fl.us:8080/geoserver, shapefile data store
Reporter: Tim Coulter
Assignee: Andrea Aime
When making a BBOX request on data whose native projection is ESPG:2238 (the
projection on the BBOX request is EPSG:900913) the request fails with the error:
<ows:ExceptionText>java.lang.RuntimeException: Could not
decode srs &apos;EPSG:900913&apos; Could not
decode srs &apos;EPSG:900913&apos; null</ows:ExceptionText>
The request:
<?xml version="1.0"?>
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WFS"
version="1.1.0" maxFeatures="501"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query xmlns:alachua="http://www.nikos.alachua.fl.us"
typeName="alachua:urban_cluster" srsName="EPSG:900913">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Envelope xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:900913">
<gml:lowerCorner>-9186737.1172306 3446893.8079555</gml:lowerCorner>
<gml:upperCorner>-9145613.9960205 3470589.2867197</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Reproduce by making the above request to
http://www.nikos.alachua.fl.us:8080/geoserver
Note: When we first added the alachua:urban_cluster layer to Geoserver,
Geoserver was unable to detect that the layer was EPSG:2238 even though
EPSG:2238 was installed. With the default configuration values set by Geoserver
after the first install, we received the same error as the above, except that
it reported "Could not decode EPSG:2238" (as opposed to EPSG:900913). After
manually setting the projection to 2238, we received the error shown above.
EPSG:900913 is installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel