Skip to content

Tool to convert INSPIRE data sets from the Spanish Cadastre ATOM Services to OSM files.

License

Notifications You must be signed in to change notification settings

aseques/CatAtom2Osm

 
 

Repository files navigation

Read me

Tool to convert INSPIRE data sets from the Spanish Cadastre ATOM Services (http://www.catastro.minhap.gob.es/webinspire/index.html) to OSM files. This is part of an import proposal under construction:

https://wiki.openstreetmap.org/wiki/Spanish_Cadastre/Buildings_Import

Requeriments

  • fuzzywuzzy[speedup]
  • psutil
  • pyqgis
  • requests
  • GDAL

Fuzzywuzzy is needed for street names conflation. The main requisites (pyqgis, GDAL) should be provided by QGIS using the installers available on http://qgis.org/

QGIS >= 2.10.1, GDAL >= 2 are required.

Install

See INSTALL.md (https://OSM-es.github.io/CatAtom2Osm/en/install.html). Alternatively, you could use this Docker image (https://hub.docker.com/r/egofer/catatom2osm).

Usage

To run the application:

catatom2osm <path>

The argument path states the directory for input and output files. The directory name shall start with 5 digits (GGMMM) matching the Cadastral Provincial Office and Municipality Code. If the program don't find the input files it will download them for you from the INSPIRE Services of the Spanish Cadastre.

Options:

  • -h, --help Show this help message and exit
  • -v, --version Print CatAtom2Osm version and exit
  • -l prov, --list=prov List available municipalities given the two digits province code
  • -t, --tasks Splits constructions into tasks files (default, implies -z)
  • -z, --zoning Process the cadastral zoning dataset.
  • -b, --building Process buildings to a single file instead of tasks
  • -d, --address Process the address dataset
  • -p, --parcel Process the cadastral parcel dataset
  • -a, --all Process all datasets (equivalent to -bdptz)
  • -m, --manual Dissable conflation with OSM data
  • --log=log_level Select the log level between DEBUG, INFO, WARNING, ERROR or CRITICAL

Documentation

Browse the software documentation.

https://OSM-es.github.io/CatAtom2Osm/en

About

Tool to convert INSPIRE data sets from the Spanish Cadastre ATOM Services to OSM files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.6%
  • Makefile 4.0%
  • Shell 1.2%
  • Other 1.2%