laptop and a wrench

Bogue

The 'InfoFormat' parameter containing an unacceptable value is returned when making a GetFeatureInfo request to the Web Map Service (WMS) when INFO_FORMAT is equal to application/geojson.

Dernière publication: June 10, 2022 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000144235
EnvoiNovember 3, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.9
Système d’exploitationWindows OS
Version du système d’exploitation2019 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

In ArcGIS Enterprise 10.9 release, WMS is updated to support application/geo+json instead of application/geojson. Requests to GetFeatureInfo is updated to send URL encoded strings, for example, application/geo%2Bjson.

Solution de contournement

There is a functioning workaround for this bug, tested in ArcGIS Enterprise 10.9.1. The workaround is demonstrated using the path information with further elaboration after the example request:

https://services.ga.gov.au/gis/services/OZTemp_Well_Data_Extract/MapServer/WMSServer?service=WMS&version=1.3.0&request=GetFeatureInfo&layers=Thermal_Well&styles&crs=EPSG%3A3857&bbox=15823927.178137133,-3219853.1348547763,15887784.921106925,-3188589.4481924823&width=960&height=470&query_layers=Thermal_Well&feature_count=20&info_format=application%2Fgeo%2Bjson&x=456&y=131

The problem with the last test, which formats the request with application/geojson, is that the request requires using the ACII code for the special characters, so the '/' is '%2F' and the '+' is '%2B' in order to allow the request to use the new formatting for ArcGIS Enterprise 10.9+.

Étapes pour reproduire

ID de bogue: BUG-000144235

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement