Hey all, with SoTM around the corner <http://stateofthemap.asia/>, sharing a few resources for those working with map data/OpenStreetMap and wondering how to correct the Indian borders as per local rules for your apps or visualizations.
*1.Using Mapbox GL <https://www.mapbox.com/mapbox-gl-js/example/simple-map/> without Mapbox API key* Use this map style: *https://cdn.jsdelivr.net/gh/osm-in/mapbox-gl-styles@master/osm-mapnik-india-v8.json <https://cdn.jsdelivr.net/gh/osm-in/mapbox-gl-styles@master/osm-mapnik-india-v8.json>* This adds OSM mapnik raster tiles as a basemap with an overlay of corrected boundaries. OSM raster tiles are directly used and this will be the easiest solution and completely free. Demo: https://bl.ocks.org/planemad/933e2b5a4c7d9f0a26541522a1492f92 *2.Using Mapbox GL with Mapbox API key* If you need to use Mapbox vector tiles or other resources hosted on Mapbox then an API key is required which is free to a certain limit. Use the mapbox-gl-boundaries <https://github.com/mapbox/mapbox-gl-boundaries> plugin to 'fix the borders' on the vector maps with a single line of code. *3. Using Mapbox.js/leaflet.js <http://leaflet.js>* Use the OpenStreetMap.in raster tiles: https://github.com/osm-in/openstreetmap.in#using-this-map *4. Building your own tileserver* Unless you are looking at hosting your own tiles, you probably dont want to do this. Some help to get you started, but its likely that the instructions are outdated: https://wiki.openstreetmap.org/wiki/India/Rendering_server *5. Others* For other custom solutions, make use of these disputed boundary line shapes to see how to patch your data: https://github.com/osm-in/mapbox-gl-styles/blob/master/data/osm-india-adm0-disputed-lines.geojson *Reminder*: SoTM registrations close in a few days. If you are interested in maps, you want to be here! http://stateofthemap.asia/ -- Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org --- You received this message because you are subscribed to the Google Groups "datameet" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
