Datasets:
Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 289, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 60, in _split_generators
self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1844, in from_arrow_schema
else generate_from_arrow_type(field.type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1507, in generate_from_arrow_type
return Value(dtype=_arrow_to_datasets_dtype(pa_type))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 118, in _arrow_to_datasets_dtype
raise ValueError(f"Arrow type {arrow_type} does not have a datasets dtype equivalent.")
ValueError: Arrow type map<string, string ('tags')> does not have a datasets dtype equivalent.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 294, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
OpenStreetMap
OpenStreetMap data converted to Parquet format.
Updated weekly from Geofabrik.
Schema
| Column | Type | Description |
|---|---|---|
feature_id |
string | Unique OSM feature ID |
tags |
map<string, string> | OSM tags as key-value pairs |
geometry |
binary (WKB) | Geometry in Well-Known Binary format |
Usage
DuckDB
SELECT * FROM 'hf://datasets/zartdinov/openstreetmap/europe/france/alsace.parquet' LIMIT 10;
Python (PyArrow)
import pyarrow.parquet as pq
table = pq.read_table("hf://datasets/zartdinov/openstreetmap/europe/france/alsace.parquet")
df = table.to_pandas()
Python (DuckDB)
import duckdb
df = duckdb.query("""
SELECT *
FROM 'hf://datasets/zartdinov/openstreetmap/europe/france/alsace.parquet'
WHERE tags['building'] IS NOT NULL
LIMIT 100
""").to_df()
Source
- Data: OpenStreetMap via Geofabrik
- Conversion: QuackOSM
- Pipeline: zartdinov/palimpsest
License & Attribution
This dataset is derived from OpenStreetMap data.
© OpenStreetMap contributors
Licensed under the Open Data Commons Open Database License (ODbL). You are free to copy, distribute, transmit and adapt this data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon this data, you may distribute the result only under the same license.
- Downloads last month
- 73