Opened 18 years ago
Last modified 14 years ago
#1935 closed defect
[MapServer-msautotest]bounding box rounding issue with wfs_filter.map in wxs — at Initial Version
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | msautotest | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description
There is a rounding issue on Windows in the calculation of the overall features bounding box. This happens when a WFS GetFeature request that includes some filter parameters is performed (see below for the complete request). The map is wfs_filter.map in wxs directory. This rounding error occurs with the following requests: result\wfs_filter_greater_than_or_equalto.xml result\wfs_filter_isbetween.xml result\wfs_filter_isbetween_and_not_isequalto.xml result\wfs_filter_isequalto_or_isequalto.xml result\wfs_filter_isequalto_or_isequalto_reverse.xml result\wfs_filter_isgreater_than.xml Complete request: # Verify PropertyIsGreaterThan # RUN_PARMS: wfs_filter_isgreater_than.xml [MAPSERV] QUERY_STRING="map=[MAPFILE] &SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter>< PropertyIsGreaterThan><PropertyName>POP_RANGE</PropertyName><Literal>3</Literal> </PropertyIsGreaterThan></Filter>" > [RESULT] Difference between Linux and Windows: C:\proj\mapserver\msautotest\wxs>diff expected\wfs_filter_isgreater_than.xml res ult\wfs_filter_isgreater_than.xml 14c14 < <gml:coordinates>2431943.750000,118985.382812 2587598.00 0000,404010.531250</gml:coordinates> --- > <gml:coordinates>2431943.750000,118985.382813 2587598.00 0000,404010.531250</gml:coordinates> Beginning of the response: 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/p ath/to/wfs_simple?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType& amp;TYPENAME=popplace&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="EPSG:4269"> <gml:coordinates>2431943.750000,118985.382813 2587598.000000,404 010.531250</gml:coordinates> </gml:Box> </gml:boundedBy> ...
Note:
See TracTickets
for help on using tickets.