Skip to content

Instantly share code, notes, and snippets.

View devdattaT's full-sized avatar

Devdatta Tengshe devdattaT

  • Pune
View GitHub Profile
@devdattaT
devdattaT / gist:1856ba4a49e1ba5f3f00e7fdd37064f6
Last active January 13, 2025 04:12 — forked from bharathkumar-gopalan/gist:494c7aa1126ef1ac131a2ca328f3d5a1
How to Create a Tileset with correct India Boundaries. Shared on the OSM India Telegram group on 2025-01-13

Disclaimer :

This gist is provided solely for educational and informational purposes. The content shared here is intended to demonstrate technical concepts and does not imply any legally binding commitments or opinions of the author.

Users are responsible for ensuring compliance with applicable laws, regulations, and standards in their respective jurisdictions. This material is shared in good faith for learning purposes only, and any misuse or misrepresentation of this information is strictly discouraged.

Stage 1 (extract the boundaries)

Step 1: Get the geojson file To begin with we need a Geojson representing the boundaries - For this example I am using the one present at https://github.com/datameet/maps/blob/b3fbbde595310b397a55d718e0958ce249a4fa1f/Country/india-soi.geojson- Download this file (Note : This file may possibly not be accurate - Please do thorough research before putting this in prod) - Replace the propertie