08-11-2020 02:11 AM
I have a problem with customizing GetFeatureInfo window.
I need to make a window, similar to GetFeatureInfo, but I need to show only one attribute from GetFeatureInfo.
How can I excract only one thing from GetFeatureInfo?
08-11-2020 06:11 AM
I assume you are not changing/restricting the WebMap WMS to have only 1 attribute available (i.e. with the Display Field command from WebMap Publisher Administrator).
And I assume you are referring to the WMS GFI Window from Geospatial Portal -- You may be able to perform the customization (i.e. hardcoding) within one of the featureinfo xsl located here "C:\Program Files\Common Files\Hexagon\Services\Instances\<YourWMSInstance>\XMLTemplates"
Please see the "Configuring WMS" section of the GeoMedia WebMap Administrator Guide:
Configure WMS Feature Info HTML Output Theme
You can change and adapt the style (layout, colors) of HTML Feature Info response for WMS. Attribute featureInfoXslPath with default value "XMLTemplates/XmlToHtmlFeatureInfo.xsl" is defined for <WMSBasicOriginatingPipe> element in WMS service Web.config file.
Hope this helps.
08-14-2020 04:35 AM
I have WMS/WMTS created in Apollo Essentials with layer that represent DTM.
Customer wants to have simple button for reading elevation info. Default GetFeature Info read data from Raster but in format that is not readable for all users
<RGB red="128" green="128" blue="128" />
<Band index="0" value="1149.21838" />
<Band index="1" value="255" />
<Point x="2078057.173978632" y="5293046.14209687" />
<Info name="DEM_5x5.img" timestamp="1545325026000" />
What we need to prepare is simple button for users that display only <Band index="0" value=" attribute for location where user click on the map
08-20-2020 04:02 PM
I don't know the answer to whether GFI Windows can be customized in APOLLO WMS/WMTS, it would be best for you to log an APOLLO support ticket so our APOLLO experts could help you out.