Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapServer / WFS Request Issue #236

Closed
theduckylittle opened this issue Oct 11, 2017 · 9 comments
Closed

MapServer / WFS Request Issue #236

theduckylittle opened this issue Oct 11, 2017 · 9 comments

Comments

@theduckylittle
Copy link
Member

theduckylittle commented Oct 11, 2017

The following is causing a boundedBy null error:

<GetFeature
 xmlns="http://www.opengis.net/wfs" service="WFS" version="1.1.0" outputFormat="text/xml; subtype=gml/2.1.2" 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.xsd"><Query
 typeName="ms:Devices" srsName="EPSG:4326"><Filter xmlns="http://www.opengis.net/ogc"><Intersects><PropertyName>geom</PropertyName><Point xmlns="http://www.opengis.net/gml"><pos>-93.35131436860924 44.970039488140685</pos></Point></Intersects></Filter></Query></GetFeature>

This request is generated when doing an Identify on a WFS layer.

@brentfraser
Copy link
Contributor

Can this be closed?

@jmckenna
Copy link
Contributor

jmckenna commented Oct 15, 2021

Good question. From testing the MS4W.dev demo, performing an identify on the parcels layer generates a valid WFS (MapServer) GetFeature response, and nicely shows the attributes in the left panel.

But that identify on the WFS (TinyOWS) layer "census cities" shows an error in the left panel (however the GetFeature response from TinyOWS looks valid: https://ms4w.dev/cgi-bin/tinyows.exe?typename=MS4W%3Acensus_cities

Maybe others can try this on https://ms4w.dev/gm3/desktop/index.html as I might be doing the steps wrong.
Screen Shot 2021-10-15 at 4 04 58 PM

(it probably has to do with me not setting a template for this layer). I believe we can close this ticket.

@elil
Copy link
Member

elil commented Oct 15, 2021 via email

@jmckenna
Copy link
Contributor

ah true, yes could be.

@elil
Copy link
Member

elil commented Oct 15, 2021 via email

@elil
Copy link
Member

elil commented Oct 15, 2021 via email

@chughes-lincoln
Copy link
Contributor

It looks like it's associated with identifying a polygon that has no attributes.

If you had zoomed out you would have seen a very large polygon covering much of the US (so also covering all the other polygons you were querying). After removing that feature, the identify starts working.

I then recreated the issue by adding a polygon over another polygon without adding any attributes (Identify returned same red error).

I then tried adding a polygon over another polygon with attributes and it worked.

@chughes-lincoln
Copy link
Contributor

So back to the original point, this isn't related to the original issue.

@brentfraser
Copy link
Contributor

I think the error on Identify is similar to #652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants