Hi,
I have a problem with WFS request feature.
The source is the same shapefile with polygon and a ID attribute

This is the request:

*http://localhost:8080/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&typename=
<http://localhost:8080/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&typename=>workspace:layerName&sortBy=&propertyName=ID&SRS=EPSG:3003&BBOX=1511076.5,4341507,1511076.5,4341507*

*result from Geoserver v.2.6.1 ( --> this is what I want):*
<wfs:FeatureCollection xmlns="http://www.opengis.net/wfs"; xmlns:wfs="
http://www.opengis.net/wfs"; xmlns:gml="http://www.opengis.net/gml";
xmlns:workspace="http://www.domain.it/"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.domain.it/
http://mydomain/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=workspace:layerName
http://www.opengis.net/wfs
http://mydomain/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd";>

<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#3003";>
<gml:coordinates xmlns:gml="http://www.opengis.net/gml"; decimal="." cs=","
ts=" ">1508000.31429763,4339432.44093345
1511865.11144922,4343135.46830396</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<dbu:mylayer fid="myLayer.84">
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#3003";>
<gml:coordinates xmlns:gml="http://www.opengis.net/gml"; decimal="." cs=","
ts=" ">1508000.31429763,4339432.44093345
1511865.11144922,4343135.46830396</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<workspace:ID>079</workspace:ID>
</dbu:mylayer_NOR>
</gml:featureMember>
</wfs:FeatureCollection>


*result from Geoserver v.2.16.2: *
<wfs:FeatureCollection xmlns="http://www.opengis.net/wfs"; xmlns:wfs="
http://www.opengis.net/wfs"; xmlns:workspace="http://www.mydomain.it/";
xmlns:gml="http://www.opengis.net/gml"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.mydomain.it/
http://mydomain/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=workspace:layerName
http://www.opengis.net/wfs
http://mydomain/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd";>

<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#3003";>
<gml:coordinates xmlns:gml="http://www.opengis.net/gml"; decimal="." cs=","
ts=" ">-1,-1 0,0</gml:coordinates>
</gml:Box>
</gml:boundedBy>
</wfs:FeatureCollection>



The problem seems to be the BBOX parameter.
Why I have answer so different?


thanks in advance
Michele
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to