[GeoMoose-users] WFS identify is GeoMoose using MapServer

Brent Fraser bfraser at geoanalytic.com
Mon Jan 2 13:54:59 PST 2023


Hi Jeff (and others),

I'm in the process of testing WFS in GeoMoose and thought I would make WFS requests to the demo site at demo.mapserver.org.  So in accessing the cities layer (https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities) it displays OK in GeoMoose even though the display SRS is EPSG:3857.

However the Identify operation fails. Mapserver returns

<?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://schemas.opengis.net/wfs/1.1.0/WFS-basic.xsd
http://mapserver.gis.umn.edu/mapserver https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=ms:cities&OUTPUTFORMAT=XMLSCHEMA">
<gml:boundedBy>
<gml:null>missing</gml:null>
</gml:boundedBy>
</wfs:FeatureCollection>

when the request sent (via POST) is
<GetFeature xmlns="http://www.opengis.net/wfs"
service="WFS"
version="1.1.0"
outputFormat="text/xml; subtype=gml/2.1.2"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Query typeName="ms:cities"
srsName="EPSG:3857">
<Filter xmlns="http://www.opengis.net/ogc">
<Intersects>
<PropertyName>geom</PropertyName>
<Polygon xmlns="http://www.opengis.net/gml">
<exterior>
<LinearRing>
<posList srsDimension="2">
 -10382797.7354368  5615179.747957421
 -10382797.7354368  5615332.622013991
 -10382644.86138023 5615332.622013991
 -10382644.86138023 5615179.747957421
 -10382797.7354368  5615179.747957421
</posList>
</LinearRing>
</exterior>
</Polygon>
</Intersects>
</Filter>
</Query>
</GetFeature>

Note the srsName in the request (3857 is not listed in the MapServer GetCapabilities doc).  When asking for the features for display GeoMoose sends a BBOX (3857) in the request.  When requesting feature(s) in Identify, it sends only the Intersects filter in the above XML.

So I'm not sure if this is a Mapserver configuration issue or a bug/Issue in GeoMoose.

Your thoughts?

Thanks!
Brent Fraser

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20230102/2f9fcf24/attachment.htm>


More information about the GeoMoose-users mailing list