Ports
What it is
Spain’s 805 ports and docks as footprints, all named. 72 belong to the Trans-European Transport Network (TEN-T) and 61 are classified as core ports of general interest. The UN/LOCODE is in codigo for 286 of them (format UN/LOCODE:VDE), the identifier used to join maritime traffic and customs data. Ownership breaks down as 259 regional, 105 State, 22 port authority, 8 military and 1 island council. ⚠ 410 come without ownership: mostly minor facilities and marinas, not an administrative gap.
According to the publishing agency
Official text, in Spanish, exactly as the upstream service publishes it:
BTN — Base Topográfica Nacional Base de datos tridimensional multiescala (1:2.000-1:25.000) con cobertura completa y continua para España. Contiene datos topográficos y temáticos que permiten su explotación mediante sistemas de información geográfica y la generación de productos cartográficos y servicios interoperables. Incluye información hidrográfica con estructura de red e información geográfica de referencia del IGN de redes de transporte y poblaciones. … La resolución de los datos depende de la temática tratada, pero puede asegurarse que de forma global la exactitud posicional es mejor de 3 metros en X, Y, Z. …
At a glance
| ID | es_transportes_puertos |
| Records | 805 |
| Size | 2.9 MB |
| Geometry | POLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | ign |
| Upstream layer | ign:btn0657s_puerto |
| Licence | CC-BY-4.0 |
Extent: -17.992668, 27.63845 → 4.29828, 43.772121
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/es_transportes_puertos/downloadsha256 of this version:
3bac60e1528bfcc057a6cdc7c5cbbe622319e82ca454f3558a7c10e4de1b463dQuery it without downloading it
import duckdbcon = duckdb.connect(); con.execute("INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;")con.execute("SELECT count(*) FROM read_parquet('<url-firmada>')").fetchone()Columns
Column names are kept exactly as the agency publishes them. They are not translated: renaming them would break traceability against the official source.
The literals below are the ones present in the data: they work as-is in a WHERE. Only columns with few distinct values are enumerated; for the rest, the count is given.
| Column | Type | Filled | Distinct | Values |
|---|---|---|---|---|
nombre | VARCHAR | 100 % | 590 | |
id_puerto | DOUBLE | 100 % | 644 | Range: 30140000001.0 → 540060000003.0 |
id_area | DOUBLE | 100 % | 805 | Range: 30140000001.0 → 540060000003.0 |
f_alta | VARCHAR | 100 % | 5 | 2026/02/23 · 2026/02/27 · 2026/06/23 · 2024/07/17 · 2024/07/19 |
nom_altern | VARCHAR | 7.58 % | 55 | |
darsena | VARCHAR | 18.01 % | 93 | |
id_pig | VARCHAR | 13.04 % | 43 | |
codigo | VARCHAR | 35.53 % | 191 | |
estad_0657 | VARCHAR | 100 % | 3 | 01 · 02 · 03 |
titul_0657 | VARCHAR | 100 % | 6 | 99 · 02 · 01 · 07 · 08 · 04 |
rtent_0657 | VARCHAR | 100 % | 2 | 02 · 01 |
clpig_0657 | VARCHAR | 100 % | 3 | 99 · 01 · 02 |
estad | VARCHAR | 100 % | 3 | EN USO · EN CONSTRUCCIÓN · FUERA DE SERVICIO |
titul | VARCHAR | 100 % | 6 | NO APLICABLE/NO DISPONIBLE · COMUNIDAD AUTÓNOMA · ADMINISTRACIÓN GENERAL DEL · AUTORIDAD PORTUARIA · MILITAR · CABILDO-CONSELL INSULAR |
rtent | VARCHAR | 100 % | 2 | NO RED TEN-T · RED TEN-T |
clpig | VARCHAR | 100 % | 3 | NO APLICABLE/NO DISPONIBLE · PRINCIPAL · NO PRINCIPAL |
prov_code | VARCHAR | 100 % | 27 | |
prov_name | VARCHAR | 100 % | 27 | |
prov_aprox | BOOLEAN | 100 % | 2 | false · true |
_fuente | VARCHAR | 100 % | 1 | ign |
_fecha_captura | DATE | 100 % | 1 | 2026-08-22 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | Obra derivada de BTN 2026 |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |