Skip to content

法務省登記所備付地図データ(地図XML)をGeoJSONに変換するコンバータ

License

Notifications You must be signed in to change notification settings

digital-go-jp/mojxml2geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mojxml2geojson

  • Data converter for the National Land Register data (mojxml).

  • The conversion specifications are as follows.

    • Extracts and outputs only the brush polygon data and attributes necessary to maintain the Address Base Registry from the Map XML data. Reference points, boundary points, and boundary lines are not output.
    • For public coordinate information data, convert coordinate values to longitude and latitude (JGD2011). Add representative point coordinates as attributes.
    • Data in arbitrary coordinate information are not converted to coordinate values.

Requirement

Installing

setup.py

pip install .

From GitHub

pip install git+https://github.com/digital-go-jp/mojxml2geojson.git

Usage

mojxml2geojson ./moj.xml

Usage with Docker

docker build -t mojxml2geojson .

Create a data directory and put in the files to be converted.

docker run --rm -v $(pwd)/data:/data mojxml2geojson /data/moj.xml 

PyTest

python -m pytest -vv -p no:cacheprovide

About

法務省登記所備付地図データ(地図XML)をGeoJSONに変換するコンバータ

Resources

License

Stars

Watchers

Forks

Packages

No packages published