Open srajma opened 8 months ago
I didn't know there was a custom code for disputed territories. It makes complete sense in the end to have them in customized code so they remain "disputed".
I need to investigate because normally I do use the json file to download entire countries. And I guess as I'm discovering the country using the is3 code, Z01 doesn't appear to exist.
Let me explore the dataset a little bit more to see if all disputed countries are stored using the same type of code (i.e. Z
In the initial dataset, disputed territories are treated as individual countries (they have a GID that is not based on an ISO code). I think to manage them I need to review the structure of the gadm_dataset.parquet file.
I was trying to download data for disputed territories e.g.
However, this doesn't work.
Z01 is actually included within the file for India on gadm.org, but
pygadm.Items(admin="IND", content_level=2)
doesn't download it either -- it only includes the features whoseGID_0
isIND
. Any help?