{"id":28483182,"url":"https://github.com/rayshan/cartography","last_synced_at":"2026-02-27T15:42:32.026Z","repository":{"id":16764622,"uuid":"19522606","full_name":"rayshan/cartography","owner":"rayshan","description":"Cartography related things for other projects","archived":false,"fork":false,"pushed_at":"2014-05-07T06:59:02.000Z","size":360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T21:07:30.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rayshan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-07T05:36:50.000Z","updated_at":"2014-05-07T06:59:02.000Z","dependencies_parsed_at":"2022-08-25T11:00:50.500Z","dependency_job_id":null,"html_url":"https://github.com/rayshan/cartography","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rayshan/cartography","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayshan%2Fcartography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayshan%2Fcartography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayshan%2Fcartography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayshan%2Fcartography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayshan","download_url":"https://codeload.github.com/rayshan/cartography/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayshan%2Fcartography/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262452145,"owners_count":23313386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-07T21:07:31.131Z","updated_at":"2026-02-27T15:42:31.989Z","avatar_url":"https://github.com/rayshan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"cartography\n===========\n\nCartography related things for other projects.\n\n## Source Data\nNatural Earth\nCutural\nAdmin 0 – Countries\nv2.0.0\n\n## topojson args\n\n```shell\ntopojson \\\n  --out ne_110m_admin_0_countries_simp_0.1.json \\\n  --id-property su_a3 \\\n  --simplify-proportion .1 \\\n  ne_110m_admin_0_countries.shp\n```\n\n-o --out output file\n--id-property su_a3 / +iso_n3 (coerce to number)\n-p --properties properties to retain, default is none; target=source, e.g.\n-properties name=NAME (to lowercase)\n\n--spherical (x/y/z)\n-s --simplify precision threshold\n--simplify-proportion % of points to retain\nuse 1 or the other\n\n--cartesian (x/y)\nSimplify in projected pixel space\n--width --height\n\nline simplification\nhttp://bost.ocks.org/mike/simplify/\n\n-q, --quantization, --no-quantization\nIf you are generating a small static map in the browser, the default quantization factor is 10,000 (-q 1e4) is probably sufficient. This means that there are a maximum of ten thousand differentiable values along each dimension. If you are generating a large high-resolution map, or if you want to allow the user to zoom in and see greater detail, you should increase the quantization factor by at least one or two orders of magnitude: -q 1e5 or -q 1e6.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayshan%2Fcartography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayshan%2Fcartography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayshan%2Fcartography/lists"}