OSM-es / CatAtom2Osm

Tool to convert INSPIRE data sets from the Spanish Cadastre ATOM Services to OSM files.
BSD 2-Clause "Simplified" License
13 stars 5 forks source link
conversion osm python qgis spanish-cadastre

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 ongoing import:

https://openstreetmap.es/catastro

Requeriments

Docker https://www.docker.com/get-started

Install

See INSTALL.md (https://OSM-es.github.io/CatAtom2Osm/en/install.html).

Usage

To run the application:

catatom2osm <paths>

The argument PATHS states for directories to process municipalities. The last directory in each path shall be 5 digits (GGMMM) matching the Cadastral codes for Provincial Office (GG) and Municipality (MMM). If the program don't find the input files it will download them for you from the INSPIRE Services of the Spanish Cadastre.

Options:

More info about the split option in the [wiki](Más información sobre dividir municipio en la wiki (es)

Settings

The software use the system locales to select the language to use translating the throughfare types. To use another language, set the LANG environment variable. For example, in Linux:

LANG=es_ES.UTF-8; catatom2osm

Forces to use Spanish.

LANG=ca_ES.UTF-8; catatom2osm

Forces to use Catalan.

LANG=gl_ES.UTF-8; catatom2osm

Forces to use Galician

In the Windows terminal (CMD):

set LANG=ca_ES.UTF-8 && catatom2osm

In PowerShell:

${LANG}="ca_ES.UTF-8"; catatom2osm

For more options and permanent settings use the config file.

To create a template:

catatom2osm -g

These are the available options:

Documentation

Browse the software documentation.

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