Failing query to non-compliant server
-------------------------------------

                 Key: GEOT-3499
                 URL: http://jira.codehaus.org/browse/GEOT-3499
             Project: GeoTools
          Issue Type: Wish
    Affects Versions: 2.7.0
         Environment: ArcGIS Server 9.3.1
            Reporter: Timo Järvinen


The following query fails.

URL:
http://geomaps2.gtk.fi/ArcGIS/services/GTKWFS/MapServer/WFSServer

Filter created by GeoTools 2.7.0:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature handle="GeoTools 2.7.0 WFS DataStore" maxFeatures="100" 
outputFormat="text/xml; subtype=gml/3.1.1" resultType="results" service="WFS" 
version="1.1.0" xmlns:ogc="http://www.opengis.net/ogc"; 
xmlns:gml="http://www.opengis.net/gml"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:ows="http://www.opengis.net/ows"; 
xmlns:wfs="http://www.opengis.net/wfs";><wfs:Query srsName="EPSG:3067" 
typeName="GTKWFS:kalliopera_1M"><wfs:PropertyName>Shape</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>Shape</ogc:PropertyName><gml:Envelope
 srsDimension="2" 
srsName="http://www.opengis.net/gml/srs/epsg.xml#3067";><gml:lowerCorner>466416.0
 6861296.0</gml:lowerCorner><gml:upperCorner>466417.0 
6861297.0</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>

Result:
<ows:ExceptionReport version='1.1.0' language='en' 
xmlns:ows='http://www.opengis.net/ows'><ows:Exception 
exceptionCode='InvalidParameterValue'><ows:ExceptionText>the input string is 
not a geographic or projected coordinate 
system</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

If the value of the srsName attribute is changed from 
http://www.opengis.net/gml/srs/epsg.xml#3067 to EPSG:3067 in gml:Envelope 
element, the query works.

Would it be possible to add a setting to make Geotools work with non compliant 
servers? This way, EPSG:xywz would be an alternative srsName attribute value.

-- 
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

       

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to