TerriaJS / nationalmap

Australia's NationalMap
https://nationalmap.gov.au
122 stars 45 forks source link

Feature info GA data - foreign (looking) language #1150

Closed AnaBelgun closed 2 years ago

AnaBelgun commented 2 years ago

When adding some web service (especially with polygon data), the feature info presents text in a foreign language. To investigate.

Examples (all GA services)

Polygons/ areas

image

image

Points:

AnaBelgun commented 2 years ago

Update 23 May 2022

Investigation & Fixes

Examples:

  1. JSON
  2. HTML
  3. GML
  4. Text

https://github.com/TerriaJS/terriajs//blob/4a1536f4a2068ce3041e3b08fd03ea193ae9e69d/lib/Models/Catalog/Ows/WebMapServiceCapabilitiesStratum.ts#L[…]9

It looks through WMS GetCapabilities to find first format which is supported

The GA ArcGis WMS services show they support text/html http://services.ga.gov.au/gis/services/BarestEarthSentinel2MapIndex/MapServer/WMSServer?version=1.3.0&request=GetCapabilities&service=WMS

AnaBelgun commented 2 years ago

Nick will check the ArcGIS WMS service for the WMS version

nf-s commented 2 years ago

I checked most esri WMS layers - couldn't find any others which needed WMS version or GetFeatureInfo format changed