highcharts / map-collection-dist

Other
29 stars 37 forks source link

Thailand: duplicate fips #86

Closed titasakgm closed 1 month ago

titasakgm commented 3 years ago

Expected behaviour

There should be unique fips in th-all.js and coordinates should be valid

Actual behaviour

Found 2 duplicate fips fips: TH32 for woe-id: 2347157 and fips: TH32 for woe-id: 2347152 => possibly TH27 ? fips: TH59 for woe-id: 2347183 and fips: TH59 for woe-id: 2347185 => possible TH61 ? (this record also has negative coordinates)

Found 1 incorrect coordinate coordinates for woe-id: 2347185 has negative values and won't render in map

Live demo with steps to reproduce

Product version

"highcharts": "^9.1.0"

Affected browser(s)

ALL

titasakgm commented 3 years ago

coordinates for woe-id: 2347185 has negative values IS CORRECT and can be displayed on map after I changed fips: from TH59 to TH61

Sorry for my mistake :)

KacperMadej commented 3 years ago

Hi @titasakgm

Thank you for reporting the problem.

Internal note: Demo of the map: https://jsfiddle.net/gh/get/jquery/1.11.0/highslide-software/highcharts.com/tree/master/samples/mapdata/countries/th/th-all