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

Tests "wms Get Feature Info Feature Count With Value Of One/Ten" cannot handle non GML responses #16

Closed
dstenger opened this issue Jul 4, 2018 · 1 comment
Assignees

Comments

@dstenger
Copy link
Contributor

dstenger commented Jul 4, 2018

"wms Get Feature Info Feature Count With Value Of One": FEATURE_COUNT is set to 1 but the returned number of feature members is not exactly one!

<?xml version="1.0" encoding="UTF-8"?>
<FeatureInfoResponse xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<FIELDS OBJECTID="1" Shape="Polygon" Shape_Length="9.636801" Shape_Area="5.539155"></FIELDS>
</FeatureInfoResponse>
  • count=0 cause GML is expected
  • see next...

"wms Get Feature Info Feature Count With Value Of Ten": FEATURE_COUNT is set to 10 but less than one feature member is returned!

<?xml version="1.0" encoding="UTF-8"?>
<FeatureInfoResponse xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<FIELDS OBJECTID="1" Shape="Polygon" Shape_Length="9.636801" Shape_Area="5.539155"></FIELDS>
</FeatureInfoResponse>
  • count=0 cause GML is expected
  • I don't find a hint that text/xml is GML in WMS 1.3 and WMS 1.3 DGIWG specifications. From WMS 1.3 (6.6 Output Formats):
Text output formats are usually formatted as Extensible Markup Language (XML; MIME type text/xml). Text
formats are used to convey service metadata, descriptions of error conditions, or responses to queries for
information about features shown on a map.
  • Proposal: Enhance test to count the features from the ESRI response format.
@dstenger dstenger added the bug label Jul 4, 2018
@dstenger dstenger changed the title Tests "wms Get Feature Info Feature Count With Value Of One/Ten" cannot handle non GML response Tests "wms Get Feature Info Feature Count With Value Of One/Ten" cannot handle non GML responses Jul 4, 2018
@keshavnangare
Copy link

keshavnangare commented Aug 7, 2018

The test "wms Get Feature Info Feature Count With Value Of One" and "wms Get Feature Info Feature Count With Value Of Ten" belong to ets-wms13-dgiwg(used as a dependency) so creating the issue here: opengeospatial/ets-wms13-dgiwg#11

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

No branches or pull requests

2 participants