-
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.
- GDAL
- python 3.*
- pip 22.*
pip install .
pip install git+https://github.com/digital-go-jp/mojxml2geojson.git
mojxml2geojson ./moj.xml
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
python -m pytest -vv -p no:cacheprovide