Skip to content

noppakorn/thailand-map-geojson

Repository files navigation

thailand-map-geojson

About

Requirements

  • Python 3
  • pandas
  • geopandas
  • requests (for downloading files)

Building the map

  1. Install Requirements pip install -r requirements.txt
  2. Download the shp file python download_thailand_map.py. Will download and unzipped files.
  3. Build the map with python convert_shp_to_geojson.py [MODE] [ADM LEVEL],
    For example : python convert_shp_to_geojson.py shape 2

Parameters Details

  • MODE : centroid, shape
  • ADM LEVEL :

0 -> Country
1 -> Province
2 -> District
3 -> Subdistrict (Not Implemented)

Data Source

About

Generate Thailand maps in the form of GeoJSON from shp file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages