Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.
/ gadm-geojson Public archive

Transform Shapefiles from GADM into geosjon file that you can use via Leaflet or other libraries

License

Notifications You must be signed in to change notification settings

jeremyfourna/gadm-geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gadm-geojson

Transform Shapefiles from GADM into geosjon file that you can use via Leaflet or other libraries

Setup

  1. npm install -g mapshaper
  2. Download countries' Shapefile from http://www.gadm.org/country
  3. Extract all files from the zip inside a folder

Usage

node index.js <directory-path-1> <directory-path-2> ... <directory-path-N>

The program will create inside the directory a folder geojson and put the transformed files inside. You can use the geojson file inside your application.

About

Transform Shapefiles from GADM into geosjon file that you can use via Leaflet or other libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published