Closed ernesmb closed 8 years ago
When we use the geocoding functions to get the France polygon, it does not include the Corsica region nor any other non-continental regions of France.
SELECT ST_Transform(cdb_geocode_admin0_polygon('FRA'), 3857) AS the_geom_webmercator
France
FRA
The returned polygon should include 'Corsica' and the other islands, as the world_borders_hd and world_borders datasets do:
world_borders_hd
world_borders
The returned polygon does not include 'Corsica' or any other peripheral french region
Totally debatable when it should include Corsica, La Réunion or any other overseas departments.
FYI: it was already changed to exclude them
Yes, this is on purpose.
https://github.com/CartoDB/data-services/blob/master/geocoder/admin0/sql/subdivide_polygons.sql
I see, thanks for clarifying :)
When we use the geocoding functions to get the France polygon, it does not include the Corsica region nor any other non-continental regions of France.
Steps to reproduce
SELECT ST_Transform(cdb_geocode_admin0_polygon('FRA'), 3857) AS the_geom_webmercator
France
orFRA
Expected result
The returned polygon should include 'Corsica' and the other islands, as the
world_borders_hd
andworld_borders
datasets do:Current result
The returned polygon does not include 'Corsica' or any other peripheral french region