Open tbonfort opened 12 years ago
Author: nsavard Date: 2007/07/18 - 17:20 Additionnal information: the response is corresponding to the expected result on Windows.
Author: dmorissette Date: 2007/08/15 - 17:38 Asseigned to Assefa. Please update status and/or target milestone.
Author: tomkralidis Date: 2007/08/16 - 23:56 When I run the same test (on FC6), I get segfault for each of these tests:
wfs_filter_beyond.xml wfs_filter_contains.xml wfs_filter_crosses.xml wfs_filter_disjoint.xml wfs_filter_dwithin.xml wfs_filter_equals.xml wfs_filter_intersects_line.xml wfs_filter_intersects.xml wfs_filter_overlaps.xml wfs_filter_touches.xml wfs_filter_within.xml
Note these are all GEOS functions (using geos 2.2.3)
Author: assefa Date: 2007/08/22 - 16:54 Tom, Norm
I have run the msausto test this morning using Mapserver svn on windows successfuly:
Author: nsavard Date: 2007/08/22 - 17:26 Replying to [comment:5 assefa]:
Tom, Norm
I have run the msausto test this morning using Mapserver svn on windows successfuly:
- Is the last comment from Tom (all tests crashing) still valid ?
- Norm, do you still get a blank reslut for the contains request ?
Assefa,
Yes I still get a blank result on Linux. If you read comment 07/18/07 11:20:44 I noticed that it works for Windows.
My MapServer configuration is:
MapServer version 5.0.0-beta4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Author: tomkralidis Date: 2007/08/22 - 17:29 Still valid:
test wfs_filter_bbox.xml
results match.
test wfs_filter_intersects.xml
sh: line 1: 28710 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2488789,289552 2588789,289552 2588789,389552 2488789,389552 2488789,289552</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>" >result/wfs_filter_intersects.xml
* results dont match, TEST FAILED.
test wfs_filter_dwithin.xml
sh: line 1: 28712 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><DWithin><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>2587598.000000,404010.531250</gml:coordinates></gml:Point><Distance units='m'>1000</Distance></DWithin></Filter>" >result/wfs_filter_dwithin.xml
* results dont match, TEST FAILED.
test wfs_filter_beyond.xml
sh: line 1: 28714 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><Beyond><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>2587598.000000,404010.531250</gml:coordinates></gml:Point><Distance units='m'>1000</Distance></Beyond></Filter>" >result/wfs_filter_beyond.xml
* results dont match, TEST FAILED.
test wfs_filter_equals.xml
sh: line 1: 28716 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><Equals><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>2503805.5,427872.65625</gml:coordinates></gml:Point></Equals></Filter>" >result/wfs_filter_equals.xml
* results dont match, TEST FAILED.
test wfs_filter_overlaps.xml
sh: line 1: 28718 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Overlaps><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2229029.24,261981.27 2363767.62,261981.27 2363767.62,360789.41 2229029.24,360789.41</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Overlaps></Filter>" >result/wfs_filter_overlaps.xml
* results dont match, TEST FAILED.
test wfs_filter_within.xml
sh: line 1: 28720 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Within><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2364765.68,430653.76 2450599.02,430653.76 2450599.02,505508.41 2364765.68,505508.41</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Within></Filter>" >result/wfs_filter_within.xml
* results dont match, TEST FAILED.
test wfs_filter_contains.xml
sh: line 1: 28722 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Contains><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2398347.49,454364.78 2403150.67,454364.78 2403150.67,458544.16 2398347.49,458544.16</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Contains></Filter>" >result/wfs_filter_contains.xml
* results dont match, TEST FAILED.
test wfs_filter_crosses.xml
sh: line 1: 28724 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Crosses><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2708973,187500 2734673,187500 2734673,212889 2708973,212889</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Crosses></Filter>" >result/wfs_filter_crosses.xml
* results dont match, TEST FAILED.
test wfs_filter_touches.xml
sh: line 1: 28726 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Touches><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2422047.0,455420.09375 2422043.0,453541.125 2422921.67,453530.47 2422921.67,455417.43</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Touches></Filter>" >result/wfs_filter_touches.xml
* results dont match, TEST FAILED.
test wfs_filter_equals_poly.xml
sh: line 1: 28728 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Equals><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2420754.0,453227.25 2419658.5,454812.9375 2420654.0,456235.25 2422047.0,455420.09375 2422043.0,453541.125 2420754.0,453227.25</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Equals></Filter>" >result/wfs_filter_equals_poly.xml
results match.
test wfs_filter_disjoint.xml
sh: line 1: 28730 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Disjoint><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2157168.77,-120775.54 2692130.04,-120775.54 2692130.04,565891.17 2157168.77,565891.17</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Disjoint></Filter>" >result/wfs_filter_disjoint.xml
* results dont match, TEST FAILED.
test wfs_filter_intersects_line.xml
sh: line 1: 28732 Segmentation fault mapserv QUERY_STRING="map=wfs_filter.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=province&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:LineString><gml:coordinates>2338382.77,339580.61 2366578.03,262230.79</gml:coordinates></gml:LineString></Intersect></Filter>" >result/wfs_filter_intersects_line.xml
* results dont match, TEST FAILED.
Author: assefa Date: 2008/06/24 - 22:38 closing. this is a duplicate of bug #2306
Reporter: nsavard Date: 2007/07/18 - 17:13 I ran (msautotest: wfs_filter.map) the following GetFeature request which has a CONTAINS WFS spatial filter and it returns null. The response should be as specified in reference #1 below.
QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0&REQUEST= GetFeature&TYPENAME=province&FILTER=
Geometry gml:Polygongml:outerBoundaryIs
gml:LinearRinggml:coordinates2398347.49,454364.78 2403150.67,454364.78 2403150.67,458544.16 2398347.49,458544.16/gml:coordinates/gml:LinearRing
/gml:outerBoundaryIs/gml:Polygon "
Reference #1:
Content-type: text/xml
<?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=province&OUTPUTFORMAT=XMLSCHEMA"> gml:boundedBy