Skip to content
/ EHAK Public

Spatial data for Estonian Administrative and Settlement Classification in JSON and CSV formats

Notifications You must be signed in to change notification settings

buildig/EHAK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EHAK

Eesti haldus- ja asustusjaotuse klassifikaatori ruumiandmed CSV, GeoJSON ja TopoJSON formaadis / Spatial data for Estonian Administrative and Settlement Classification in CSV, GeoJSON and TopoJSON format. Monthly releases.

Eelvaade / Preview: https://buildig.com/EHAK

Veerud / Attributes

  • MNIMI - maakonna nimi / County name
  • MKOOD - maakonna kood / County ID
  • ONIMI - omavalitsuse nimi / Municipality name
  • OKOOD - omavalitsuse kood / Municipality ID
  • ANIMI - asustusüksuse nimi / Settlements name
  • AKOOD - asustusüksuse kood / Settlement ID
  • TYYP - asustusüksuse tüüp / Settlement type
  • AREA - pindala , m2 / area in square meters, added by buildig with mapshaper -each 'AREA=this.originalArea'

Initial workflow

Download shapefiles from Maa-amet and transform to json and csv format (requires mapshaper):

git clone git@github.com:buildig/EHAK.git &&
cd EHAK &&
chmod a+x workflow.sh &&
./workflow.sh

GIT workflow

git pull origin master
git checkout -b {branch}
./workflow.sh
git add .
git commit -m "Version {version}."
git push origin {branch}
git checkout master
git merge --no-ff {branch}
git push origin master
git tag -a {version} -m "Version {version}"
git push origin --tags

Note! The use of administrative and settlement units data is not restricted but the reference to the data source (i.e. Estonian Land Board) and validity date (e.g. 26.01.2012) must be made!

Source: https://github.com/buildig/EHAK