Opened 16 years ago
Last modified 15 years ago
#2647 new defect
When a GetFeature with an "equal" spatial filter that defines a geometry that is the same as an existing shape, must trigger a response from the server that returns this shape
Reported by: | nsavard | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | WFS Server | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | OGC, Cite, TEAM, WFS 1.0.0 |
Cc: | dmorissette |
Description
A GetFeature resquest with an "equal" spatial filter within it corresponding to an existing shape, that is sent to a WFS 1.0.0 server, must trigger a response that contains this shape.
The relevant tests are:
wfs:test1.0.0-basic-getfeature-filter-spatialoperators-equals-get-6 and 10 (s0008) wfs:test1.0.0-basic-getfeature-filter-spatialoperators-equals-post-6 and 10 (s0008)
and the respective requests are (get method only):
http://dev1.lan.mapgears.com/manwe/cgi-bin/mswfs100_ogc_cite?&service=WFS&version=1.0.0&request=GetFeature&typename=cgf:Lines&filter=%3Cogc%3AFilter+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%3E%3Cogc%3AEquals%3E%3Cogc%3APropertyName%3Egml%3AlineStringProperty%3C%2Fogc%3APropertyName%3E%3Cgml%3ALineString+xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fcite%2FspatialTestSuite%22+srsName%3D%22EPSG%3A32615%22%3E%3Cgml%3Acoordinates%3E500125%2C500025+500175%2C500075%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3ALineString%3E%3C%2Fogc%3AEquals%3E%3C%2Fogc%3AFilter%3E http://dev1.lan.mapgears.com/manwe/cgi-bin/mswfs100_ogc_cite?&service=WFS&version=1.0.0&request=GetFeature&typename=cgf:Polygons&filter=%3Cogc%3AFilter+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%3E%3Cogc%3AEquals%3E%3Cogc%3APropertyName%3Egml%3ApolygonProperty%3C%2Fogc%3APropertyName%3E%3Cgml%3APolygon+xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fcite%2FspatialTestSuite%22+srsName%3D%22EPSG%3A32615%22%3E%3Cgml%3AouterBoundaryIs%3E%3Cgml%3ALinearRing%3E%3Cgml%3Acoordinates%3E500225%2C500025+500225%2C500075+500275%2C500050+500275%2C500025+500225%2C500025%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3ALinearRing%3E%3C%2Fgml%3AouterBoundaryIs%3E%3C%2Fgml%3APolygon%3E%3C%2Fogc%3AEquals%3E%3C%2Fogc%3AFilter%3E
Change History (4)
comment:1 by , 16 years ago
Milestone: | 5.2 release → 5.4 release |
---|
comment:2 by , 16 years ago
Related, when I try this in msautotest/wxs/wfs_filter.map (against test wfs_filter_equals_poly.xml), the results differ, i.e. result returns
<?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://ogc.dmsolutions.ca/wfs/1.0.0/WFS-basic.xsd http://mapserver.gis.umn.edu/mapserver http://localhost/path/to/wfs_simple?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=pro vince&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:null>missing</gml:null> </gml:boundedBy> </wfs:FeatureCollection>
comment:3 by , 15 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:4 by , 15 years ago
Milestone: | 5.6 release → 6.0 release |
---|
Compliance testing to be continued in 6.0
Test 6: The coordinates of the spatial filter are: 500125,500025 500175,500075 and the shapes' coordinates are: LINESTRING(500125 500025,500175 500075)
Test 10: The coordinates of the spatial filter are: 500225,500025 500225,500075 500275,500050 500275,500025 500225,500025 and the shape's coordinates are: POLYGON((500225 500025,500225 500075,500275 500050,500275 500025,500225 500025))