├── .envrc ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── country_levels_lib ├── br_muni │ ├── docs.py │ └── export.py ├── config.py ├── fips │ ├── fips_docs.py │ ├── fips_export.py │ └── fips_utils.py ├── geo.py ├── ne │ ├── ne_012.py │ ├── ne_3.py │ ├── ne_docs.py │ ├── ne_geojson.py │ └── ne_wikidata.py ├── utils.py ├── wam │ ├── wam_collect.py │ ├── wam_docs.py │ ├── wam_download.py │ ├── wam_export.py │ └── wam_missing.py └── wikidata │ ├── wikidata_iso.py │ ├── wikidata_population.py │ └── wikidata_utils.py ├── docs ├── assets │ ├── cl.png │ ├── cl_resize.jpg │ ├── es.png │ └── es_resize.jpg └── export_readme.md ├── fixes ├── custom_osm.json ├── osm_missing │ ├── BE-WHT.geojson │ ├── EC-G.geojson │ ├── FR-10.geojson │ └── Kenya.geojson ├── population.json ├── skip_osm.json └── timezone.json ├── lint.sh ├── package.json ├── prepare_virtualenv.sh ├── scripts ├── br_muni │ ├── all.sh │ ├── docs.py │ ├── download.sh │ ├── export.py │ └── topo_simplify.sh ├── fips │ ├── all.sh │ ├── docs.py │ ├── download_csv.sh │ ├── download_shp.sh │ ├── export.py │ └── shp2geo.sh ├── process_all.sh ├── push.sh ├── release.sh ├── wam │ ├── .gitignore │ ├── all.sh │ ├── collect.py │ ├── docs.py │ ├── download.py │ ├── export.py │ └── topo_simplify.sh └── x_notused │ ├── cosm │ ├── download_cosm.sh │ ├── process_cosm_ljson.py │ └── topo_simplify_cosm.sh │ ├── gam │ ├── download_gadm.sh │ ├── shp2geo_gadm.sh │ └── topo_simplify_gadm.sh │ └── ne │ ├── create_ids_ne.py │ ├── download_ne.sh │ ├── export_geojsons_ne.py │ ├── generate_docs_ne.py │ ├── shp2geo_ne.sh │ ├── topo_simplify_ne.sh │ ├── wikidata_iso.py │ └── wikidata_population.py ├── setup.py └── yarn.lock /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/.envrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.egg-info/ 2 | __pycache__/ 3 | .DS_Store 4 | 5 | /.idea 6 | /node_modules 7 | /venv 8 | 9 | /data 10 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/README.md -------------------------------------------------------------------------------- /country_levels_lib/br_muni/docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/br_muni/docs.py -------------------------------------------------------------------------------- /country_levels_lib/br_muni/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/br_muni/export.py -------------------------------------------------------------------------------- /country_levels_lib/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/config.py -------------------------------------------------------------------------------- /country_levels_lib/fips/fips_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/fips/fips_docs.py -------------------------------------------------------------------------------- /country_levels_lib/fips/fips_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/fips/fips_export.py -------------------------------------------------------------------------------- /country_levels_lib/fips/fips_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/fips/fips_utils.py -------------------------------------------------------------------------------- /country_levels_lib/geo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/geo.py -------------------------------------------------------------------------------- /country_levels_lib/ne/ne_012.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/ne/ne_012.py -------------------------------------------------------------------------------- /country_levels_lib/ne/ne_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/ne/ne_3.py -------------------------------------------------------------------------------- /country_levels_lib/ne/ne_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/ne/ne_docs.py -------------------------------------------------------------------------------- /country_levels_lib/ne/ne_geojson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/ne/ne_geojson.py -------------------------------------------------------------------------------- /country_levels_lib/ne/ne_wikidata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/ne/ne_wikidata.py -------------------------------------------------------------------------------- /country_levels_lib/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/utils.py -------------------------------------------------------------------------------- /country_levels_lib/wam/wam_collect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wam/wam_collect.py -------------------------------------------------------------------------------- /country_levels_lib/wam/wam_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wam/wam_docs.py -------------------------------------------------------------------------------- /country_levels_lib/wam/wam_download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wam/wam_download.py -------------------------------------------------------------------------------- /country_levels_lib/wam/wam_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wam/wam_export.py -------------------------------------------------------------------------------- /country_levels_lib/wam/wam_missing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wam/wam_missing.py -------------------------------------------------------------------------------- /country_levels_lib/wikidata/wikidata_iso.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wikidata/wikidata_iso.py -------------------------------------------------------------------------------- /country_levels_lib/wikidata/wikidata_population.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wikidata/wikidata_population.py -------------------------------------------------------------------------------- /country_levels_lib/wikidata/wikidata_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/country_levels_lib/wikidata/wikidata_utils.py -------------------------------------------------------------------------------- /docs/assets/cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/docs/assets/cl.png -------------------------------------------------------------------------------- /docs/assets/cl_resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/docs/assets/cl_resize.jpg -------------------------------------------------------------------------------- /docs/assets/es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/docs/assets/es.png -------------------------------------------------------------------------------- /docs/assets/es_resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/docs/assets/es_resize.jpg -------------------------------------------------------------------------------- /docs/export_readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/docs/export_readme.md -------------------------------------------------------------------------------- /fixes/custom_osm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/custom_osm.json -------------------------------------------------------------------------------- /fixes/osm_missing/BE-WHT.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/osm_missing/BE-WHT.geojson -------------------------------------------------------------------------------- /fixes/osm_missing/EC-G.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/osm_missing/EC-G.geojson -------------------------------------------------------------------------------- /fixes/osm_missing/FR-10.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/osm_missing/FR-10.geojson -------------------------------------------------------------------------------- /fixes/osm_missing/Kenya.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/osm_missing/Kenya.geojson -------------------------------------------------------------------------------- /fixes/population.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/population.json -------------------------------------------------------------------------------- /fixes/skip_osm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/skip_osm.json -------------------------------------------------------------------------------- /fixes/timezone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/fixes/timezone.json -------------------------------------------------------------------------------- /lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/lint.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/package.json -------------------------------------------------------------------------------- /prepare_virtualenv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/prepare_virtualenv.sh -------------------------------------------------------------------------------- /scripts/br_muni/all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/br_muni/all.sh -------------------------------------------------------------------------------- /scripts/br_muni/docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/br_muni/docs.py -------------------------------------------------------------------------------- /scripts/br_muni/download.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/br_muni/download.sh -------------------------------------------------------------------------------- /scripts/br_muni/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/br_muni/export.py -------------------------------------------------------------------------------- /scripts/br_muni/topo_simplify.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/br_muni/topo_simplify.sh -------------------------------------------------------------------------------- /scripts/fips/all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/all.sh -------------------------------------------------------------------------------- /scripts/fips/docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/docs.py -------------------------------------------------------------------------------- /scripts/fips/download_csv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/download_csv.sh -------------------------------------------------------------------------------- /scripts/fips/download_shp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/download_shp.sh -------------------------------------------------------------------------------- /scripts/fips/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/export.py -------------------------------------------------------------------------------- /scripts/fips/shp2geo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/fips/shp2geo.sh -------------------------------------------------------------------------------- /scripts/process_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/process_all.sh -------------------------------------------------------------------------------- /scripts/push.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/push.sh -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /scripts/wam/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /scripts/wam/all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/all.sh -------------------------------------------------------------------------------- /scripts/wam/collect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/collect.py -------------------------------------------------------------------------------- /scripts/wam/docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/docs.py -------------------------------------------------------------------------------- /scripts/wam/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/download.py -------------------------------------------------------------------------------- /scripts/wam/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/export.py -------------------------------------------------------------------------------- /scripts/wam/topo_simplify.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/wam/topo_simplify.sh -------------------------------------------------------------------------------- /scripts/x_notused/cosm/download_cosm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/cosm/download_cosm.sh -------------------------------------------------------------------------------- /scripts/x_notused/cosm/process_cosm_ljson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/cosm/process_cosm_ljson.py -------------------------------------------------------------------------------- /scripts/x_notused/cosm/topo_simplify_cosm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/cosm/topo_simplify_cosm.sh -------------------------------------------------------------------------------- /scripts/x_notused/gam/download_gadm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/gam/download_gadm.sh -------------------------------------------------------------------------------- /scripts/x_notused/gam/shp2geo_gadm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/gam/shp2geo_gadm.sh -------------------------------------------------------------------------------- /scripts/x_notused/gam/topo_simplify_gadm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/gam/topo_simplify_gadm.sh -------------------------------------------------------------------------------- /scripts/x_notused/ne/create_ids_ne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/create_ids_ne.py -------------------------------------------------------------------------------- /scripts/x_notused/ne/download_ne.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/download_ne.sh -------------------------------------------------------------------------------- /scripts/x_notused/ne/export_geojsons_ne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/export_geojsons_ne.py -------------------------------------------------------------------------------- /scripts/x_notused/ne/generate_docs_ne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/generate_docs_ne.py -------------------------------------------------------------------------------- /scripts/x_notused/ne/shp2geo_ne.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/shp2geo_ne.sh -------------------------------------------------------------------------------- /scripts/x_notused/ne/topo_simplify_ne.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/topo_simplify_ne.sh -------------------------------------------------------------------------------- /scripts/x_notused/ne/wikidata_iso.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/wikidata_iso.py -------------------------------------------------------------------------------- /scripts/x_notused/ne/wikidata_population.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/scripts/x_notused/ne/wikidata_population.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/setup.py -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperknot/country-levels/HEAD/yarn.lock --------------------------------------------------------------------------------