Hi,
I'm trying to access low resolution boundaries using the following function, but am unable to add the output to a map (If I use 'high' instead of 'low' then it works).
brazil_region_low = ct.shapes.catalogue.states_provinces(adm1_code='BRA-624', resolution='low').
Below is a screenshot showing the difference between 'low' and 'high' outputs.
Thanks,
Ceri
2 Comments
James Varndell
Hi Ceri,
As discussed last week, I think this is an unfortunate limitation of the Natural Earth states and provinces shapes. I've set up a little workflow that you can use to see how the different resolutions vary, and to test the province resolutions for individual countries: https://cds.climate.copernicus.eu/toolbox-editor/20413/states-provinces-demo - hope that helps!
Let me know if you have any further questions about this.
Many thanks,
James
Ceri Whitmore
Hi James,
Thanks for this - that's a useful tool for checking available resolutions.
I'll do some testing, but we'll probably stay with using GeoJSON directly as we were able to simplify it offline.
Thanks for the help.
Ceri