Hi,
I have a more problem when use GeoServer 2.0.2 with WFS request.
I click on center of a polygon, but it return 3 polygons. View image:

It just return one polygon when I use GeoServer 1.5.3, and I know it is right.
Here is request url:
http://localhost:8080/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=durbuy:pa_83012&MAXFEATURES=100&BBOX=226149.592363,111834.79803,226149.592363,111834.79803
And result is:

I open log file of Geoserver, I see request:
Request: getFeature
handle = null
service = WFS
version = 1.0.0
baseUrl = http://localhost:8080/geoserver/
providedVersion = null
query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: [ the_geom bbox POLYGON ((226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803)) ], sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: {[http://www.d2d3.com/durbuy}pa_83012])]
maxFeatures = 100
outputFormat = GML2
resultType = results
traverseXlinkDepth = null
traverseXlinkExpiry = null
formatOptions = {}
I found that Geoserver 2.0.2 using geometry_overlap function (I user PostGIS database), and I found result is different from intersects function.
Can I use intersects for getFeature request with bbox?
–
Nguyễn Đình Toán
Neu khong doc duoc tieng Viet, vui long chon Encoding là Unicode (UTF-8). Cam on.
Toan Nguyen ha scritto:
Hi,
I have a more problem when use GeoServer 2.0.2 with WFS request.
I click on center of a polygon, but it return 3 polygons. View image:
wfs.png
It just return one polygon when I use GeoServer 1.5.3, and I know it is right.
Here is request url:
http://localhost:8080/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=durbuy:pa_83012&MAXFEATURES=100&BBOX=226149.592363,111834.79803,226149.592363,111834.79803
And result is:
resultq.png
I open log file of Geoserver, I see request:
Request: getFeature
handle = null
service = WFS
version = 1.0.0
baseUrl = http://localhost:8080/geoserver/
providedVersion = null
query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: [ the_geom bbox POLYGON ((226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803, 226149.592363 111834.79803)) ], sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://www.d2d3.com/durbuy\}pa_83012])]
maxFeatures = 100
outputFormat = GML2
resultType = results
traverseXlinkDepth = null
traverseXlinkExpiry = null
formatOptions = {}
I found that Geoserver 2.0.2 using *geometry_overlap* function (I user PostGIS database), and I found result is different from *intersects *function.
Can I use *intersects *for getFeature request with bbox?
Disable the "loose bbox" flag in the postgis store configuration.
The queries should slower (which is, same speed as 1.5.3) but
you should get the expected results
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Great!
Thank you very much.
On Wed, Jul 14, 2010 at 8:04 PM, Andrea Aime <aaime@anonymised.com> wrote:
Disable the “loose bbox” flag in the postgis store configuration.
The queries should slower (which is, same speed as 1.5.3) but
you should get the expected results
Cheers
Andrea
–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
–
Nguyễn Đình Toán
Neu khong doc duoc tieng Viet, vui long chon Encoding là Unicode (UTF-8). Cam on.