Monday, June 17, 2013

geoJSON for Nepal - Districts and Development Regions

I was planing to visualize some data over the map of Nepal. After some time spent on Google, I came across some good JavaScript libraries that could do this. They were Kartograph, Google Maps API. Then, I came across Leaflet, it is a simple open-source JavaScript library for interactive maps. It is a lightweight JavaScript library with plenty of interactive and visual features. It also is one of the many libraries supporting geoJSON.

GeoJSON is a format for encoding a variety of geographic structures. So, if you are looking for an accurate geoJSON for Nepal - I have posted it in my github repository which is compatible with leaflet.js:

The repo contains two geoJSON files:
  • nepal-development-region.geojson (For Development Regions)
  • nepal-district.geojson (For Districts)

Both of these are valid and accurate geoJSON you'll find for Nepal. These geoJSON contain different properties which can be removed by using QGIS if you don't want it. The QGIS tool can also generate geoJSON from KML. KML is the native format for Google Maps and Google Earth. There is also a library available to convert KML to geoJSON written by Mac Wright available on github:

If you want to make your own geoJSON then this website: will help you do so, also made by Mac Wright.

Enjoy !