Add README with Image feature schema
Browse files
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: etalab-2.0
|
| 3 |
+
language:
|
| 4 |
+
- fr
|
| 5 |
+
tags:
|
| 6 |
+
- panoramax
|
| 7 |
+
- street-view
|
| 8 |
+
- france
|
| 9 |
+
- gps
|
| 10 |
+
- ign
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1M<n<10M
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: default
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: data/*.parquet
|
| 18 |
+
dataset_info:
|
| 19 |
+
features:
|
| 20 |
+
- name: id
|
| 21 |
+
dtype: string
|
| 22 |
+
- name: image
|
| 23 |
+
dtype: image
|
| 24 |
+
- name: collection_id
|
| 25 |
+
dtype: string
|
| 26 |
+
- name: lat
|
| 27 |
+
dtype: float64
|
| 28 |
+
- name: lng
|
| 29 |
+
dtype: float64
|
| 30 |
+
- name: azimuth
|
| 31 |
+
dtype: float64
|
| 32 |
+
- name: datetime
|
| 33 |
+
dtype: timestamp[us, tz=UTC]
|
| 34 |
+
- name: sequence_rank
|
| 35 |
+
dtype: int32
|
| 36 |
+
- name: width
|
| 37 |
+
dtype: int32
|
| 38 |
+
- name: height
|
| 39 |
+
dtype: int32
|
| 40 |
+
- name: panoramax_url
|
| 41 |
+
dtype: string
|
| 42 |
+
- name: producer
|
| 43 |
+
dtype: string
|
| 44 |
+
- name: license
|
| 45 |
+
dtype: string
|
| 46 |
+
- name: original_filename
|
| 47 |
+
dtype: string
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
# Panoramax sig14 photos
|
| 51 |
+
|
| 52 |
+
Street-view photos from the IGN Panoramax instance, scraped from the user **sig14**
|
| 53 |
+
(Service d'Information Géographique du Calvados, France).
|
| 54 |
+
|
| 55 |
+
Each row is one street-level photo plus its GPS coordinates and camera heading.
|
| 56 |
+
|
| 57 |
+
## Source
|
| 58 |
+
|
| 59 |
+
- API: <https://panoramax.ign.fr/api>
|
| 60 |
+
- User: `sig14` (UUID `5215eca1-4a1b-40eb-a96c-5dc7ff2cc6d8`)
|
| 61 |
+
- License: [Etalab 2.0 (Open License)](https://alliance.numerique.gouv.fr/licence-ouverte-open-licence/)
|
| 62 |
+
|
| 63 |
+
## Schema
|
| 64 |
+
|
| 65 |
+
| field | type | description |
|
| 66 |
+
|---|---|---|
|
| 67 |
+
| `id` | string | Panoramax item UUID |
|
| 68 |
+
| `image` | Image | JPEG bytes, HD quality |
|
| 69 |
+
| `collection_id` | string | Sequence (collection) UUID |
|
| 70 |
+
| `lat`, `lng` | float64 | WGS84 coordinates |
|
| 71 |
+
| `azimuth` | float64 | Camera heading, 0–360° (0 = North, 90 = East) |
|
| 72 |
+
| `datetime` | timestamp(UTC) | When the photo was taken |
|
| 73 |
+
| `sequence_rank` | int32 | Position of this photo in its sequence |
|
| 74 |
+
| `width`, `height` | int32 | Image dimensions in pixels |
|
| 75 |
+
| `panoramax_url` | string | Link back to the photo on panoramax.ign.fr |
|
| 76 |
+
| `producer` | string | Always `sig14` for this dataset |
|
| 77 |
+
| `original_filename` | string | Original filename on IGN side |
|
| 78 |
+
|
| 79 |
+
## Storage layout
|
| 80 |
+
|
| 81 |
+
One Parquet shard per Panoramax collection (sequence) — file naming
|
| 82 |
+
`data/collection={uuid}.parquet`. Idempotent updates: re-running the scraper
|
| 83 |
+
only fetches collections not yet present in the dataset.
|
| 84 |
+
|
| 85 |
+
## Loading
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from datasets import load_dataset
|
| 89 |
+
ds = load_dataset("rtrm/panoramax-sig14-photos", split="train", streaming=True)
|
| 90 |
+
for row in ds.take(5):
|
| 91 |
+
print(row["lat"], row["lng"], row["azimuth"])
|
| 92 |
+
row["image"].save(f'{row["id"]}.jpg')
|
| 93 |
+
```
|