Schedule

Import Data

CDAU is the set of geographic data of roads and portals of Andalusia, with topological structure, which allows to place in the territory any geographical object (and its associated variables) that has a postal address, with an approximation at the portal level.

The basic entities that are maintained and updated with CDAU are the roads, sections of roads and portals in which the population resides (housing) or in which an activity is carried out (establishments or premises), including all population centers and the scattered ones.

OSM Data Files

The source files in CSV format can be opened directly in JOSM with the OpenData plugin and using the ETRS89 UTM 30 reference system (EPSG: 25830). No files have been prepared since the data are incorporated into the buildings within the workflow of the Spanish Cadastre/Buildings Import.

Import Type

Community import with manual review.

Data Preparation

Data Reduction & Simplification

Only addresses with the types "PORTAL" (house number) and "ACCESORIO" (accessory) are imported. Excluded are "DISEMINADOS" (diseminated) and "PUNTO KILOMÉTRICO" (kilometric point).

Tagging Plans

These are the fields for the addresses source file with a node for each addresses.

Places tagging

The addresses with certain values in the 'nom_tip_via' field are assigned to the addr:place=* tag instead of addr:street=*. The list of values is configured in the variable 'place_types_es' within the file setup.py.

Changeset Tags

Key

Value

comment

#CDAU_Import

source

Instituto de Estadística y Cartografía de Andalucía

source:date

2018-02-01

type

import

url

https://wiki.openstreetmap.org/wiki/Import CDAU

Data Transformation

It will be used the CatAtom2Osm tool. The modificatio to download, read and merge the CDAU data was developed here.

Conflation with Cadastre

The two data sets have different number of addresses and may the house number for an address could differ. Each address in Cadastre is uniquely identified by the field 'localId', a string with this format PP.MM.VVV.N.CCCCC, like in 29.900.845.5.3350109UF7635S, where each part have this meaning:

Part

Meaning

Example

CDAU field*

PP

Two digits code for province

29

Fixed for each municipality

MMM

Thre digits code for municipality

900

Fixed for each municipality

VVV

Road identifier

845

dgc_via

N

House number

5

Values could differ

CCCCC

Cadastral parcel reference

3350109UF7635S

refcatparc

* The values to link both sets are not present in all the data.

The CDAU addresses are considered more updated and prevail over those of Cadastre. For each municipality, they will be combined in the following way:

For each CDAU address we take the group of Cadastre addresses with matching values for 'dgc_via' and 'refcatparc'.

If this group is empty and the are no nearby Cadastre addresses, we take the CDAU address.

If the group has exactly an element, this is replaced by the CDAU address.

If the group has several elements, the nearest Cadastre address is replaced by the CDAU.

Conflation with OSM

The names of the streets are combined with those existing in OSM in a two-phase process through the software and manual review. In a first phase, for each set of addresses with the same road name, the program locates the street in OSM with the closest name in the vicinity. The software generates a conversion table between the source names and their match in OSM that must be reviewed manually. In this phase:

We detect the streets that have no name in OSM, those that have a name that needs to be corrected and those with doubts for the name. They will be checked with on the ground survey or searching street names plaques in the Cadastral [[ES:Fuentes de datos potenciales de España#Fotos de fachada|facade photos]. Corrections and new names to OSM are manually edited.

The incorrect pairings made by the program are detected and corrected.

The conversion of those streets whose addresses do not want to be imported is left blank.

In a second phase, the software incorporates the corrected names to the addresses and merges them with the buildings to be reviewed and imported. For the buildings that do not have an address in the CDAU, the Cadastre address is used.

Data Transformation Results

You can review some samples of the results for the city of Malaga in this repository. The 'address.osm' file contains the results for the entire city. This data is not imported, it is used only as a reference and to access the front photos through the link contained in the image tag (the Tag2Link JOSM plugin is required). The addresses are combined with the buildings by the CatAtom2Osm program, which generates files by blocks. The files 'u????.osm.gz' are an example of some of them.