maps icon indicating copy to clipboard operation
maps copied to clipboard

Where can I get a tiny size India outline GeoJSON?

Open fliptrail opened this issue 1 year ago • 2 comments

Hi team, Where can I get a tiny size (maybe ~100KB?) GeoJSON of the India boundary (without states) for extreme lightweight use on the web?

The simplified map (~50KB) in this repo https://github.com/datameet/maps/blob/master/Country/india-land-simplified.geojson is not usable as it does not contain data of the coastline.

The closest I could find is https://cartographyvectors.com/map/1182-india which is 500KB, but I'm unsure of the accuracy of the boundary.

fliptrail avatar Mar 05 '25 22:03 fliptrail

Bump if anyone sees this.

fliptrail avatar Mar 25 '25 11:03 fliptrail

@fliptrail you could:

  1. convert GeoJSON to TopoJSON (TopoJSON files are about 80% ligther without losing details)
  2. use a tool like mapshaper to simplify the shape (you will lose some detail with this, but you can control how much detail)

this might be a suitable file to use: https://github.com/datameet/maps/blob/master/Country/india-composite.geojson

shreshthmohan avatar May 10 '25 16:05 shreshthmohan