Closed edwardchalstrey1 closed 12 months ago
Some of the "provinces" (second level in the GADM dataset) are very small (making it slow to load) and there is a massive inconsistency across the globe too, which I think reduces the usefulness of this level
The code I used to populate the provinces table, which perhaps could be modified with some bespoke rules that don't treat all countries the same:
INSERT INTO core_gadmprovinces (geom, "NAME_1", "ENGTYPE_1")
SELECT
ST_Union(geom) AS geom,
"NAME_1",
"ENGTYPE_1"
FROM
core_gadmshapefile
GROUP BY
"NAME_1", "ENGTYPE_1";
OSM boundaries
Overlay modern countries states/provinces with polities on the same map This should be a single Django template with the option to switch the basemap between the GADM shapes or OSM (or CartoDB)