{
  "type": "Feature",
  "stac_version": "1.1.0",
  "stac_extensions": [
    "https://stac-extensions.github.io/projection/v2.0.0/schema.json",
    "https://stac-extensions.github.io/table/v1.2.0/schema.json",
    "https://stac-extensions.github.io/file/v2.1.0/schema.json"
  ],
  "id": "hotosm_esp_roads-osm",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -9.2983348,
          35.2657957
        ],
        [
          4.3266914,
          35.2657957
        ],
        [
          4.3266914,
          43.789166
        ],
        [
          -9.2983348,
          43.789166
        ],
        [
          -9.2983348,
          35.2657957
        ]
      ]
    ]
  },
  "bbox": [
    -9.2983348,
    35.2657957,
    4.3266914,
    43.789166
  ],
  "properties": {
    "oex:category": "roads",
    "oex:source": "osm",
    "oex:dataset_source": "OpenStreetMap (Geofabrik ESP 2026-10-08)",
    "oex:snapshot": "2026-10-08",
    "oex:boundary": "geoBoundaries gbOpen ADM0",
    "oex:version": "0.4.16",
    "oex:pcode_source_date": "2025-07-29",
    "oex:geometry_types": {
      "LINESTRING": 5752442,
      "POINT": 1162885,
      "POLYGON": 60395,
      "MULTIPOLYGON": 140
    },
    "title": "Roads of Spain",
    "description": "6,975,862 features: 5,752,442 lines, 1,162,885 points, 60,395 polygons, 140 multipolygons. 1 of 13 attributes are filled for at least half of the features.",
    "license": "ODbL-1.0",
    "created": "2026-10-10T22:48:10Z",
    "keywords": [
      "geodata",
      "roads",
      "transportation"
    ],
    "providers": [
      {
        "name": "OpenStreetMap (Geofabrik ESP 2026-10-08)",
        "roles": [
          "producer",
          "licensor"
        ]
      }
    ],
    "proj:code": "EPSG:4326",
    "table:row_count": 6975862,
    "table:primary_geometry": "geom",
    "table:columns": [
      {
        "name": "id",
        "type": "VARCHAR",
        "oex:null_count": 0,
        "oex:null_percent": 0.0,
        "oex:distinct_count": 6764896,
        "oex:top_values": []
      },
      {
        "name": "name",
        "type": "VARCHAR",
        "oex:null_count": 5125689,
        "oex:null_percent": 73.48,
        "oex:distinct_count": 411989,
        "oex:top_values": []
      },
      {
        "name": "name_en",
        "type": "VARCHAR",
        "oex:null_count": 6975055,
        "oex:null_percent": 99.99,
        "oex:distinct_count": 396,
        "oex:top_values": [
          {
            "value": "Cantabrian Highway",
            "count": 43
          },
          {
            "value": "Flower Street",
            "count": 33
          },
          {
            "value": "La Rambla",
            "count": 23
          },
          {
            "value": "Path of Four Rivers",
            "count": 20
          },
          {
            "value": "French Way",
            "count": 19
          }
        ]
      },
      {
        "name": "name_es",
        "type": "VARCHAR",
        "oex:null_count": 6830271,
        "oex:null_percent": 97.91,
        "oex:distinct_count": 30335,
        "oex:top_values": []
      },
      {
        "name": "highway",
        "type": "VARCHAR",
        "oex:null_count": 0,
        "oex:null_percent": 0.0,
        "oex:distinct_count": 78,
        "oex:top_values": [
          {
            "value": "track",
            "count": 1433967
          },
          {
            "value": "residential",
            "count": 1159697
          },
          {
            "value": "footway",
            "count": 843593
          },
          {
            "value": "crossing",
            "count": 572441
          },
          {
            "value": "service",
            "count": 565286
          }
        ]
      },
      {
        "name": "surface",
        "type": "VARCHAR",
        "oex:null_count": 5229284,
        "oex:null_percent": 74.96,
        "oex:distinct_count": 254,
        "oex:top_values": [
          {
            "value": "asphalt",
            "count": 1011666
          },
          {
            "value": "paving_stones",
            "count": 213330
          },
          {
            "value": "ground",
            "count": 98075
          },
          {
            "value": "concrete",
            "count": 74156
          },
          {
            "value": "dirt",
            "count": 70354
          }
        ]
      },
      {
        "name": "smoothness",
        "type": "VARCHAR",
        "oex:null_count": 6795574,
        "oex:null_percent": 97.42,
        "oex:distinct_count": 17,
        "oex:top_values": [
          {
            "value": "excellent",
            "count": 66830
          },
          {
            "value": "good",
            "count": 49053
          },
          {
            "value": "bad",
            "count": 23274
          },
          {
            "value": "intermediate",
            "count": 16130
          },
          {
            "value": "very_bad",
            "count": 10853
          }
        ]
      },
      {
        "name": "width",
        "type": "VARCHAR",
        "oex:null_count": 6884561,
        "oex:null_percent": 98.69,
        "oex:distinct_count": 478,
        "oex:top_values": [
          {
            "value": "3",
            "count": 15274
          },
          {
            "value": "2",
            "count": 12700
          },
          {
            "value": "4",
            "count": 10332
          },
          {
            "value": "1",
            "count": 9713
          },
          {
            "value": "5",
            "count": 6063
          }
        ]
      },
      {
        "name": "lanes",
        "type": "VARCHAR",
        "oex:null_count": 6322115,
        "oex:null_percent": 90.63,
        "oex:distinct_count": 24,
        "oex:top_values": [
          {
            "value": "2",
            "count": 327058
          },
          {
            "value": "1",
            "count": 278030
          },
          {
            "value": "3",
            "count": 34741
          },
          {
            "value": "4",
            "count": 11805
          },
          {
            "value": "5",
            "count": 1296
          }
        ]
      },
      {
        "name": "oneway",
        "type": "VARCHAR",
        "oex:null_count": 5891374,
        "oex:null_percent": 84.45,
        "oex:distinct_count": 5,
        "oex:top_values": [
          {
            "value": "yes",
            "count": 820653
          },
          {
            "value": "no",
            "count": 263339
          },
          {
            "value": "-1",
            "count": 385
          },
          {
            "value": "reversible",
            "count": 76
          },
          {
            "value": "alternating",
            "count": 35
          }
        ]
      },
      {
        "name": "bridge",
        "type": "VARCHAR",
        "oex:null_count": 6845943,
        "oex:null_percent": 98.14,
        "oex:distinct_count": 25,
        "oex:top_values": [
          {
            "value": "yes",
            "count": 126602
          },
          {
            "value": "boardwalk",
            "count": 1624
          },
          {
            "value": "viaduct",
            "count": 1393
          },
          {
            "value": "low_water_crossing",
            "count": 175
          },
          {
            "value": "aqueduct",
            "count": 25
          }
        ]
      },
      {
        "name": "layer",
        "type": "VARCHAR",
        "oex:null_count": 6814760,
        "oex:null_percent": 97.69,
        "oex:distinct_count": 24,
        "oex:top_values": [
          {
            "value": "1",
            "count": 116997
          },
          {
            "value": "-1",
            "count": 37546
          },
          {
            "value": "2",
            "count": 2293
          },
          {
            "value": "-2",
            "count": 2003
          },
          {
            "value": "3",
            "count": 707
          }
        ]
      },
      {
        "name": "source",
        "type": "VARCHAR",
        "oex:null_count": 6975862,
        "oex:null_percent": 100.0,
        "oex:distinct_count": 0,
        "oex:top_values": []
      },
      {
        "name": "adm0_pcode",
        "type": "VARCHAR",
        "oex:null_count": 0,
        "oex:null_percent": 0.0,
        "oex:distinct_count": 1,
        "oex:top_values": [
          {
            "value": "ESP_3",
            "count": 6975862
          }
        ]
      },
      {
        "name": "adm0_name",
        "type": "VARCHAR",
        "oex:null_count": 0,
        "oex:null_percent": 0.0,
        "oex:distinct_count": 1,
        "oex:top_values": [
          {
            "value": "Plazas de soberanía (Sp.)",
            "count": 6975862
          }
        ]
      },
      {
        "name": "adm1_pcode",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 18,
        "oex:top_values": [
          {
            "value": "25490228B80227492032103",
            "count": 1186494
          },
          {
            "value": "25490228B88831207743232",
            "count": 1013285
          },
          {
            "value": "25490228B8471183517505",
            "count": 851822
          },
          {
            "value": "25490228B14384488423733",
            "count": 696084
          },
          {
            "value": "25490228B94236519555378",
            "count": 572865
          }
        ]
      },
      {
        "name": "adm1_name",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 18,
        "oex:top_values": [
          {
            "value": "Cataluña/Catalunya",
            "count": 1186494
          },
          {
            "value": "Andalucía",
            "count": 1013285
          },
          {
            "value": "Castilla y León",
            "count": 851822
          },
          {
            "value": "Comunitat Valenciana",
            "count": 696084
          },
          {
            "value": "Galicia",
            "count": 572865
          }
        ]
      },
      {
        "name": "adm2_pcode",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 50,
        "oex:top_values": [
          {
            "value": "93216281B38817874256440",
            "count": 609974
          },
          {
            "value": "93216281B77569616952792",
            "count": 553639
          },
          {
            "value": "93216281B60002663510944",
            "count": 352978
          },
          {
            "value": "93216281B95730866813440",
            "count": 247411
          },
          {
            "value": "93216281B51396366921995",
            "count": 217885
          }
        ]
      },
      {
        "name": "adm2_name",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 50,
        "oex:top_values": [
          {
            "value": "Barcelona",
            "count": 609974
          },
          {
            "value": "Madrid",
            "count": 553639
          },
          {
            "value": "Valencia",
            "count": 352978
          },
          {
            "value": "Granada",
            "count": 247411
          },
          {
            "value": "Coruna",
            "count": 217885
          }
        ]
      },
      {
        "name": "adm3_pcode",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 7770,
        "oex:top_values": []
      },
      {
        "name": "adm3_name",
        "type": "VARCHAR",
        "oex:null_count": 2343,
        "oex:null_percent": 0.03,
        "oex:distinct_count": 7755,
        "oex:top_values": []
      },
      {
        "name": "adm4_pcode",
        "type": "VARCHAR",
        "oex:null_count": 6975862,
        "oex:null_percent": 100.0,
        "oex:distinct_count": 0,
        "oex:top_values": []
      },
      {
        "name": "adm4_name",
        "type": "VARCHAR",
        "oex:null_count": 6975862,
        "oex:null_percent": 100.0,
        "oex:distinct_count": 0,
        "oex:top_values": []
      },
      {
        "name": "name_latin",
        "type": "VARCHAR",
        "oex:null_count": 5125682,
        "oex:null_percent": 73.48,
        "oex:distinct_count": 407246,
        "oex:top_values": []
      }
    ],
    "datetime": "2026-10-08T00:00:00Z",
    "updated": "2026-10-11T01:28:24.225113Z"
  },
  "links": [
    {
      "rel": "license",
      "href": "https://opendatacommons.org/licenses/odbl/1-0/",
      "title": "Open Database License (ODC-ODbL)"
    },
    {
      "rel": "self",
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm_item.json",
      "type": "application/json"
    },
    {
      "rel": "root",
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/catalog.json",
      "type": "application/json"
    },
    {
      "rel": "collection",
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm_metadata.json",
      "type": "application/json"
    },
    {
      "rel": "parent",
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm_metadata.json",
      "type": "application/json"
    },
    {
      "rel": "via",
      "href": "https://data.humdata.org/dataset/hotosm_esp_roads",
      "title": "HDX dataset"
    },
    {
      "rel": "alternate",
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_report.html",
      "type": "text/html",
      "title": "Dataset page"
    }
  ],
  "assets": {
    "gpkg": {
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm_gpkg.zip",
      "type": "application/zip",
      "title": "GeoPackage",
      "file:size": 1492796238,
      "roles": [
        "data"
      ]
    },
    "shp": {
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm_shp.zip",
      "type": "application/zip",
      "title": "Shapefile",
      "file:size": 1419613335,
      "roles": [
        "data"
      ]
    },
    "geoparquet": {
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/_layers/osm/roads.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "GeoParquet",
      "file:size": 1475385510,
      "roles": [
        "data"
      ]
    },
    "pmtiles": {
      "href": "https://production-raw-data-api.s3.amazonaws.com/ISO3/ESP/roads/hotosm_esp_roads_osm.pmtiles",
      "type": "application/vnd.pmtiles",
      "title": "Vector Tiles",
      "file:size": 621701476,
      "roles": [
        "visual",
        "overview"
      ]
    }
  },
  "collection": "hotosm_esp_roads"
}