2

How/where to change HTML of GetFeatureInfo result?

GeoServer's documentation has GetFeatureInfo Templates about changing GetFeatureInfo result template.

ArcGIS's documentation has Customizing a WMS GetFeatureInfo response about changing GetFeatureInfo result template.

Could not find appropiate information in QGIS documentation. Found someting about "writing a filter" in this page. It is mentioned here that Currently, the HTML response template is hardcoded and there is no way to customize it and here I did not see any mentions about GetFeatureInfo response template

For example, I want to remove first - layer name - row from the table.

1

You can select the field that may appear in the GetFeatureInfo response in WMS.

You go in the Layer propriety, then in "Fields" tab. Here you have the two column WMS and WFS that you may check or uncheck to show them or not.

This answer to the example you want to solve, at least for my understanding.

| improve this answer | |
  • Yes, this would solve the example problem but not main issue – user153027 Dec 12 '19 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.