forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WFS: fix paging with GPKG/Spatialite datasources and non-point geomet…
…ries (fixes MapServer#6325)
- Loading branch information
1 parent
7c05724
commit 20ef0a2
Showing
2 changed files
with
56 additions
and
4 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
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,36 @@ | ||
Content-Type: text/xml; subtype="gml/3.2.1"; charset=UTF-8 | ||
|
||
<?xml version='1.0' encoding="UTF-8" ?> | ||
<wfs:FeatureCollection | ||
xmlns:ms="http://mapserver.gis.umn.edu/mapserver" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:wfs="http://www.opengis.net/wfs/2.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver http://localhost/path/to/wfs_simple?SERVICE=WFS&VERSION=2.0.0&REQUEST=DescribeFeatureType&TYPENAME=test_6325&OUTPUTFORMAT=application%2Fgml%2Bxml%3B%20version%3D3.2 http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd" | ||
timeStamp="" numberMatched="unknown" numberReturned="1" | ||
next="http://localhost/path/to/wfs_simple?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=test_6325&BBOX=0.75%2C0.75%2C9%2C9&COUNT=1&STARTINDEX=1"> | ||
<wfs:boundedBy> | ||
<gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<gml:lowerCorner>0.00000 0.00000</gml:lowerCorner> | ||
<gml:upperCorner>10.00000 10.00000</gml:upperCorner> | ||
</gml:Envelope> | ||
</wfs:boundedBy> | ||
<wfs:member> | ||
<ms:test_6325 gml:id="test_6325.2"> | ||
<gml:boundedBy> | ||
<gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<gml:lowerCorner>0.00000 0.00000</gml:lowerCorner> | ||
<gml:upperCorner>10.00000 10.00000</gml:upperCorner> | ||
</gml:Envelope> | ||
</gml:boundedBy> | ||
<ms:msGeometry> | ||
<gml:LineString gml:id="test_6325.2.1" srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<gml:posList srsDimension="2">0.00000 0.00000 10.00000 10.00000 </gml:posList> | ||
</gml:LineString> | ||
</ms:msGeometry> | ||
<ms:id>2</ms:id> | ||
<ms:WKT>LINESTRING(0 0,10 10)</ms:WKT> | ||
</ms:test_6325> | ||
</wfs:member> | ||
</wfs:FeatureCollection> | ||
|