-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filters: add whitespace between and and next part (relates to #5352)
A <Filter><And>....<BBOX></BBOX></And></Filter> results in a ( ..... ANDintersects(....)) mapserver expression. The expression lexer seems to make sense of it though, but this is ugly.
- Loading branch information
Showing
3 changed files
with
72 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
msautotest/wxs/expected/wfs_filter_false_ogr_property_is_equal_and_bbox.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Content-Type: text/xml; charset=UTF-8 | ||
|
||
<?xml version='1.0' encoding="UTF-8" ?> | ||
<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=popplace&OUTPUTFORMAT=XMLSCHEMA"> | ||
<gml:boundedBy> | ||
<gml:Box srsName="EPSG:4326"> | ||
<gml:coordinates>-65.816024,44.611049 -65.816024,44.611049</gml:coordinates> | ||
</gml:Box> | ||
</gml:boundedBy> | ||
<gml:featureMember> | ||
<ms:popplace> | ||
<gml:boundedBy> | ||
<gml:Box srsName="EPSG:4326"> | ||
<gml:coordinates>-65.816024,44.611049 -65.816024,44.611049</gml:coordinates> | ||
</gml:Box> | ||
</gml:boundedBy> | ||
<ms:msGeometry> | ||
<gml:Point srsName="EPSG:4326"> | ||
<gml:coordinates>-65.816024,44.611049</gml:coordinates> | ||
</gml:Point> | ||
</ms:msGeometry> | ||
<ms:AREA>0.000</ms:AREA> | ||
<ms:PERIMETER>0.000</ms:PERIMETER> | ||
<ms:POPPLACE_>118</ms:POPPLACE_> | ||
<ms:POPPLACE_I>2</ms:POPPLACE_I> | ||
<ms:UNIQUE_KEY>CAJOA</ms:UNIQUE_KEY> | ||
<ms:NAME>Digby</ms:NAME> | ||
<ms:NAME_E></ms:NAME_E> | ||
<ms:NAME_F></ms:NAME_F> | ||
<ms:UNIQUE_K_1></ms:UNIQUE_K_1> | ||
<ms:UNIQUE_K_2></ms:UNIQUE_K_2> | ||
<ms:REG_CODE>12</ms:REG_CODE> | ||
<ms:NTS50>021A12</ms:NTS50> | ||
<ms:LAT>443700</ms:LAT> | ||
<ms:LONG>654600</ms:LONG> | ||
<ms:SGC_CODE>1203006</ms:SGC_CODE> | ||
<ms:CAPITAL>0</ms:CAPITAL> | ||
<ms:POP_RANGE>2</ms:POP_RANGE> | ||
</ms:popplace> | ||
</gml:featureMember> | ||
</wfs:FeatureCollection> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters