Skip to content

← Blog

How to import the Spanish cadastral map and the PNOA orthophoto into a DWG (step by step)

· Guides

This guide covers public data from Spain: the Dirección General del Catastro (Spanish Cadastre) and the Instituto Geográfico Nacional (IGN) only cover Spanish territory. For other countries, see the limits section at the end. The screenshots show the Spanish interface; commands and labels are given as they appear in the English version of the program.

Many projects in Spain start the same way: you need the cadastral parcel, the buildings on it and an orthophoto underneath, all in real coordinates. The data is public and free, but putting it together usually takes several steps: download the parcel, convert it, find the orthophoto, georeference it and place it. In LinceCAD it is done from a single dialog box with the IMPORTMAP command, and the result stays in the DWG.

LinceCAD demo: from a cadastral reference, IMPORTMAP brings the Cadastre’s parcels and buildings, the PNOA orthophoto and the IGN base map into a DWG, in ETRS89 / UTM 30N (23 s, no sound). PNOA orthophoto and base map © Instituto Geográfico Nacional (CC BY 4.0) · Cadastral mapping © Dirección General del Catastro. The video shows the Spanish interface: IMPORTARMAPA is IMPORTMAP in English.

Which data is public and where it comes from

You do not need a digital certificate or an account with any service. LinceCAD labels the source of each image next to it and puts the source of the vector data on the MAPA-FUENTE layer. Cite the sources on the drawings you deliver as well.

Before you start: the coordinate system

The data arrives in real coordinates, so the drawing needs a coordinate system. On the Spanish mainland and the Balearic Islands, ETRS89 / UTM is used in the zone of the area:

For the Canary Islands, WGS 84 / UTM 28N (EPSG:32628) is proposed. If the drawing has no coordinate system, IMPORTMAP sets the one for the area, or the one you choose. To use the current view or a window as the area, the drawing must already have one: assign it with GEOGRAPHICLOCATION. The Cadastre serves the data in ETRS89 and LinceCAD reprojects it to the drawing's system.

Step by step with IMPORTMAP

  1. Type IMPORTMAP, or click Import plan, orthophoto or map on the Mapping tab of the ribbon.
  2. In 1. Area of interest, choose how to give the area:
    • Cadastral reference: the 14 characters of the parcel or the 20 of the property (with 20, the two check characters are verified).
    • Address: province, municipality, street type and name, and number. If there are several parcels at that address, the dialog lists them so you can pick one.
    • Polygon and parcel, for rural land.
    • Municipality, with the CartoCiudad search.
    • Coordinates, geographic (WGS84) or in the drawing.
    • Current view or Window in the drawing (two corners).
  3. In 2. What to import, tick the Cadastral plan (parcels, buildings and, if you want them, sub-parcels), the PNOA orthophoto (IGN) with its resolution (automatic, 10, 25 or 50 cm, or 1 m) and the Base map (IGN in WMTS or WMS, MTN raster or OpenStreetMap).
  4. In 3. Options you set the margin around the area, the maximum size of the area and of each image, the transparency of the cadastral plan, whether parcels arrive as entities or as a map layer, and whether the cadastral reference is labeled.
  5. Click Import. Parcels and buildings are downloaded in the background in 200 m tiles, with a progress bar and a Cancel button; the images arrive by themselves, underneath the drawing. Everything is undone in one step with UNDO.
LinceCAD "Import plan, orthophoto or map" dialog (Spanish interface) with the area given by the cadastral reference of the Prado Museum (1341701VK4714A), with cadastral plan, PNOA orthophoto and base map ticked.
The IMPORTMAP dialog box with the area given by cadastral reference.
IMPORTMAP dialog (Spanish interface) with the area given by address: Madrid, Paseo del Prado 11 (Prado Museum).
By address: if there are several parcels, you pick one from the list.

When it finishes, the command line sums up the area and its size, the coordinate system, what was drawn (parcels, buildings and labels), the images requested and the sources.

IMPORTMAP result in LinceCAD at the Prado Museum (Madrid): Cadastre parcels and buildings in red over the PNOA orthophoto and the base map, without reference labels.
Parcels and buildings over the orthophoto and the base map, in ETRS89 / UTM 30N. PNOA orthophoto and base map © Instituto Geográfico Nacional (CC BY 4.0) · Cadastral mapping © Dirección General del Catastro.

Which layer each item goes on

LayerContent
CATASTRO-PARCELAParcels, as closed polylines.
CATASTRO-EDIFICIOBuildings, with their courtyards.
CATASTRO-TEXTOCadastral reference of each parcel.
MAPA-BASEBase map (image).
MAPA-ORTOFOTOPNOA orthophoto (image).
MAPA-CATASTROCadastral plan as a WMS image: sub-parcels, or the parcels if requested as a map layer.
MAPA-FUENTESource of the vector data.

The layer names are the same in both languages of the program. The images are stacked in that order (base map, orthophoto and cadastral plan) and stay below the entities. Parcels and buildings are ordinary DWG polylines: you can measure, offset and dimension them like any other.

The images are live layers

The orthophoto and the base map are online maps: georeferenced images that are requested again by themselves for the visible area when you pan or zoom. In the ONLINEMAPS manager you turn them on and off, change their transparency and order, put them above or below the entities, refresh them in the visible area and clip them (MAPCLIP). With MAPCONNECT you add other WMS, WMTS or WFS services.

The LinceCAD “Online maps” manager (Spanish interface) over the PNOA orthophoto of central Madrid, with the OI.OrthoimageCoverage layer on, its transparency at 0 % and automatic refresh ticked.
The online maps manager with the PNOA orthophoto. PNOA orthophoto © Instituto Geográfico Nacional (CC BY 4.0).

Just the parcel: CADASTREDOWNLOAD

If you only need one parcel and its buildings, without images, use CADASTREDOWNLOAD (or CADASTRE). The dialog box has three tabs: Urban, by address, Cadastral reference and Rural, by parcel (polygon and parcel). Tick Also draw the buildings if you want them and click Download. The parcel goes on CATASTRO-PARCELA, the buildings on CATASTRO-EDIFICIO and the reference on CATASTRO-TEXTO. The drawing needs a coordinate system: assign it first with GEOGRAPHICLOCATION.

Limits worth knowing

Frequently asked questions

Can I deliver the drawing with the orthophoto? Yes, citing the source: “© Instituto Geográfico Nacional” for the PNOA and the base map, and “Dirección General del Catastro” for the cadastral mapping.

Does it work on Linux? Yes, the same as on Windows. Read how to open and edit DWG files on Linux.

What if the drawing I have is a PDF? Read how to convert a PDF to DWG.

LinceCAD brings the Spanish Cadastre and IGN mapping into the program, with a perpetual license. Download · See pricing · Mapping and all other features.