Dataset Viewer
Auto-converted to Parquet Duplicate
filename
stringlengths
9
9
lat
float64
34
70.7
lon
float64
-23.92
45
country
stringclasses
50 values
osv5m_id
int64
108,589B
5,841,945B
headings_ok
stringclasses
1 value
n_ok
int64
0
4
00000.jpg
63.161841
21.931847
FI
494,802,224,967,390
0|90|180|270
4
00001.jpg
38.423859
-7.716924
PT
162,703,689,127,146
0|90|180|270
4
00002.jpg
42.016417
35.178505
TR
190,280,309,612,000
0|90|180|270
4
00003.jpg
37.868841
32.534171
TR
930,804,107,772,020
0|90|180|270
4
00004.jpg
64.532596
29.005045
FI
588,961,385,414,898
0|90|180|270
4
00005.jpg
53.790706
30.93654
BY
238,941,914,668,172
null
0
00006.jpg
54.794522
-7.719589
IE
787,914,835,431,535
0|90|180|270
4
00007.jpg
47.622436
11.726609
DE
459,265,748,690,323
null
0
00008.jpg
63.913906
15.2427
SE
201,868,464,884,904
0|90|180|270
4
00009.jpg
37.696448
-1.701581
ES
3,659,654,177,476,398
0|90|180|270
4
00010.jpg
41.22853
33.248922
TR
223,525,132,589,493
0|90|180|270
4
00011.jpg
40.766858
31.180226
TR
291,983,242,409,221
0|90|180|270
4
00012.jpg
35.599078
-0.211648
DZ
886,918,581,886,419
null
0
00013.jpg
55.886723
38.497207
RU
501,706,880,871,448
0|90|180|270
4
00014.jpg
40.372334
22.028412
GR
2,618,289,468,472,768
0|90|180|270
4
00015.jpg
53.97433
32.812867
RU
202,804,081,533,047
0|90|180|270
4
00016.jpg
50.039113
5.258879
BE
554,385,855,561,591
0|90|180|270
4
00017.jpg
52.788186
13.736857
DE
1,176,531,619,482,114
0|90|180|270
4
00018.jpg
36.713111
2.961575
DZ
1,155,051,101,591,985
null
0
00019.jpg
62.903162
28.756124
FI
174,081,271,753,979
0|90|180|270
4
00020.jpg
43.623597
-5.80019
ES
795,251,811,126,687
0|90|180|270
4
00021.jpg
51.171287
-0.033789
GB
814,136,679,218,374
0|90|180|270
4
00022.jpg
42.194221
20.667269
XK
811,750,809,444,165
null
0
00023.jpg
50.082647
40.009895
RU
1,945,175,792,355,071
null
0
00024.jpg
51.57047
17.83131
PL
374,935,387,840,068
0|90|180|270
4
00025.jpg
59.398699
6.193597
NO
548,129,729,902,947
0|90|180|270
4
00026.jpg
37.255172
14.497794
IT
491,591,671,965,325
0|90|180|270
4
00027.jpg
66.836046
23.041506
SE
287,670,779,758,057
0|90|180|270
4
00028.jpg
58.481821
-4.730613
GB
461,706,908,247,451
0|90|180|270
4
00029.jpg
60.394315
25.783991
FI
2,598,313,307,137,332
0|90|180|270
4
00030.jpg
54.559499
9.595981
DE
917,835,109,048,614
0|90|180|270
4
00031.jpg
63.970793
-16.420855
IS
485,751,375,999,403
0|90|180|270
4
00032.jpg
42.68398
9.305796
FR
804,655,996,826,489
0|90|180|270
4
00033.jpg
64.028629
10.080843
NO
219,419,306,294,064
0|90|180|270
4
00034.jpg
67.46963
27.983889
FI
237,450,004,822,314
0|90|180|270
4
00035.jpg
59.635947
10.696542
NO
827,164,861,226,768
0|90|180|270
4
00036.jpg
39.731018
-8.135083
PT
2,788,777,158,103,145
0|90|180|270
4
00037.jpg
66.511093
29.033526
FI
913,073,882,874,454
0|90|180|270
4
00038.jpg
62.586774
27.051338
FI
947,179,292,723,610
0|90|180|270
4
00039.jpg
54.473022
30.504516
BY
295,767,665,457,631
null
0
00040.jpg
69.562582
19.181508
NO
1,406,086,983,106,292
0|90|180|270
4
00041.jpg
67.831928
19.613323
SE
550,965,215,894,725
0|90|180|270
4
00042.jpg
62.446761
11.399143
NO
334,820,741,404,691
0|90|180|270
4
00043.jpg
59.371172
18.413817
SE
212,202,970,474,930
0|90|180|270
4
00044.jpg
48.012441
17.966565
SK
215,040,910,065,626
0|90|180|270
4
00045.jpg
45.30326
13.823828
HR
1,542,901,159,218,345
0|90|180|270
4
00046.jpg
34.841687
-6.194202
MA
472,763,430,677,611
null
0
00047.jpg
58.929372
9.316921
NO
470,246,524,243,743
0|90|180|270
4
00048.jpg
49.174751
44.093227
RU
3,063,108,780,577,758
0|90|180|270
4
00049.jpg
52.245397
43.833806
RU
533,343,581,372,570
null
0
00050.jpg
57.112043
25.098736
LV
472,895,660,823,819
0|90|180|270
4
00051.jpg
53.608364
17.334651
PL
289,563,919,382,407
null
0
00052.jpg
46.787938
10.304745
CH
270,032,458,191,810
0|90|180|270
4
00053.jpg
46.225409
15.61135
SI
562,840,304,708,452
0|90|180|270
4
00054.jpg
46.58088
4.1955
FR
1,480,889,918,920,805
0|90|180|270
4
00055.jpg
37.243377
-8.119047
PT
785,106,189,066,155
0|90|180|270
4
00056.jpg
40.286413
39.588402
TR
520,149,839,125,314
0|90|180|270
4
00057.jpg
44.049049
43.118269
RU
370,730,854,254,441
0|90|180|270
4
00058.jpg
47.942183
3.365937
FR
426,257,208,416,159
0|90|180|270
4
00059.jpg
46.665326
10.503575
IT
312,088,510,403,550
0|90|180|270
4
00060.jpg
43.371857
-4.912699
ES
927,447,301,131,345
0|90|180|270
4
00061.jpg
59.937802
18.846297
SE
919,409,678,881,697
0|90|180|270
4
00062.jpg
42.831673
0.413476
FR
192,346,209,394,159
0|90|180|270
4
00063.jpg
60.347274
5.244383
NO
465,452,394,682,060
0|90|180|270
4
00064.jpg
64.094961
11.524661
NO
469,923,260,894,919
0|90|180|270
4
00065.jpg
55.315155
8.956545
DK
3,847,497,245,298,207
0|90|180|270
4
00066.jpg
42.888519
1.400863
FR
615,641,059,836,093
0|90|180|270
4
00067.jpg
55.883424
9.266535
DK
1,406,849,939,647,343
0|90|180|270
4
00068.jpg
53.166433
22.13505
PL
1,376,749,112,704,166
0|90|180|270
4
00069.jpg
63.984565
-16.874918
IS
821,234,245,161,670
0|90|180|270
4
00070.jpg
43.250954
28.014701
BG
989,070,678,499,568
0|90|180|270
4
00071.jpg
59.469261
34.583753
RU
293,010,696,109,262
0|90|180|270
4
00072.jpg
43.511623
17.747496
BA
309,982,410,703,154
0|90|180|270
4
00073.jpg
42.810918
11.801192
IT
392,222,161,901,734
0|90|180|270
4
00074.jpg
39.562354
3.239057
ES
164,291,485,616,123
0|90|180|270
4
00075.jpg
63.886201
38.045255
RU
3,289,575,691,271,874
null
0
00076.jpg
35.929218
44.961658
IQ
226,775,662,152,695
null
0
00077.jpg
64.179617
42.289648
RU
944,067,603,187,952
0|90|180|270
4
00078.jpg
49.099569
44.106421
RU
821,586,992,074,933
0|90|180|270
4
00079.jpg
45.89579
13.177882
IT
455,593,719,036,282
0|90|180|270
4
00080.jpg
53.556159
42.690125
RU
910,571,399,567,211
null
0
00081.jpg
41.765701
24.14538
BG
141,530,467,947,466
0|90|180|270
4
00082.jpg
66.059815
-19.326035
IS
259,293,839,311,886
0|90|180|270
4
00083.jpg
48.084112
17.260294
SK
480,228,379,698,996
0|90|180|270
4
00084.jpg
65.67418
14.159172
NO
286,840,619,742,817
0|90|180|270
4
00085.jpg
62.557737
6.114056
NO
1,146,400,499,540,839
0|90|180|270
4
00086.jpg
52.196662
31.649785
RU
501,645,584,344,283
null
0
00087.jpg
49.531814
44.976721
RU
4,649,845,398,409,782
0|90|180|270
4
00088.jpg
49.018048
2.173686
FR
517,399,002,616,386
null
0
00089.jpg
61.105746
9.109536
NO
328,187,051,995,544
0|90|180|270
4
00090.jpg
42.768897
-7.515129
ES
155,624,176,513,872
0|90|180|270
4
00091.jpg
40.784173
16.424097
IT
478,874,689,833,752
0|90|180|270
4
00092.jpg
52.241768
35.824562
RU
466,967,771,734,801
0|90|180|270
4
00093.jpg
67.784884
20.605122
SE
510,868,506,940,773
0|90|180|270
4
00094.jpg
36.822583
21.707144
GR
1,630,308,183,826,174
0|90|180|270
4
00095.jpg
57.476405
-3.31996
GB
973,701,416,734,856
0|90|180|270
4
00096.jpg
70.069889
28.847646
NO
1,669,780,336,545,590
0|90|180|270
4
00097.jpg
48.370704
27.306873
MD
146,268,930,821,552
null
0
00098.jpg
36.792111
22.324736
GR
153,086,416,766,241
0|90|180|270
4
00099.jpg
43.858837
19.968174
RS
2,820,740,441,523,374
null
0
End of preview. Expand in Data Studio

OSM-Europe-1k

A 1,000-image street-level geolocation benchmark for Europe, sampled from the OpenStreetView-5M (OSV-5M) test split. Intended as a contamination-free, openly-licensed reference set for evaluating image→GPS models. Companion benchmark to a master's thesis at FH JOANNEUM (Florian Leber, 2026).

What's in this repo:

  • The 1,000 OSM/Mapillary image bytes are bundled directly under images/ (66 MB) — re-distribution is allowed by the upstream CC-BY-SA 4.0 license, with attribution to Mapillary contributors.
  • The GSV image bytes are not included (Google's Street View Static API TOS prohibits redistribution). You fetch them locally via download_gsv.py using your own API key.
  • Coordinates for both splits (and the OSM∩GSV intersection) ship as CSV manifests. download.py is kept for users who prefer regenerating the OSM split from upstream OSV-5M.
Coordinates 1,000 (OSM) / 1,000 (GSV-attempted) / 837 (paired OSM ∩ GSV)
Region Europe (lat 34..72, lon −25..45)
Source osv5m/osv5m, test split
Image source (OSM split) Mapillary street-level (via OSV-5M)
Image source (GSV split) Google Street View Static API (4 headings × pano)
Sampling streaming-shuffle, seed=42, deterministic
License CC-BY-SA 4.0 (matches OSV-5M / Mapillary attribution requirement)

Files

File Rows Schema Notes
images/ 1 000 00000.jpg00999.jpg (~66 MB total) OSM/Mapillary image bytes, redistributed under CC-BY-SA 4.0. Filenames match metadata.csv.
metadata.csv 1 000 filename,lat,lon,country,osv5m_id OSM/Mapillary subset. filename matches the bundled images/ files.
metadata_gsv.csv 1 000 filename,lat,lon,country,osv5m_id,headings_ok,n_ok GSV-paired subset. headings_ok is a |-separated list of headings (0/90/180/270) for which Google returned a real (non-grey) panorama; n_ok is its count. Locations with n_ok = 0 are absent here.
metadata_paired.csv 837 filename_base,lat,lon,country,osv5m_id Strict intersection: locations where the OSM image and all 4 GSV headings exist. Use this split for like-for-like model comparisons across image sources.
download.py Reproduces metadata.csv + images/ from the upstream OSV-5M test split.
download_gsv.py Fetches GSV imagery at the same coordinates (requires GOOGLE_STREETVIEW_API_KEY).
eval.py Standalone evaluator; takes a predictions CSV/JSON, reports im2gps-style threshold accuracy + great-circle error.

Why "OSM"?

OSV-5M pairs Mapillary street-level imagery with the OpenStreetMap-affiliated open-imagery ecosystem. It is distinct from the closed Google Street View collections used elsewhere in geolocation literature, and so offers a cleanly licensed, reproducible out-of-distribution probe for thesis-grade geolocation models trained on private GSV data.

Why the test split?

Many published image-geolocation models — including OSV-5M's own baselines — are trained on the OSV-5M train split. Sampling our benchmark from test guarantees that none of these coordinates have been seen during such training, so reported numbers reflect generalisation rather than memorisation.

Quickstart

pip install huggingface_hub pandas pillow

# 1. Pull this dataset (manifest + 1,000 OSM/Mapillary images, ~67 MB)
huggingface-cli download lebfla11/osm-europe-1k --repo-type dataset --local-dir osm_eu_1k

# 2. (optional) Regenerate the OSM split from upstream OSV-5M instead
#    (~80 MB CSV + 2.5 GB zips, cached by HF — only needed if you want
#    to confirm the seed=42 sampling or change `--target`):
python osm_eu_1k/download.py --target 1000 --seed 42

# 3. Fetch the GSV-paired images yourself (requires Google API key + ~$2
#    of paid quota at the time of writing). Not bundled, per Google TOS.
GOOGLE_STREETVIEW_API_KEY=... python osm_eu_1k/download_gsv.py

Evaluation

metadata.csv and metadata_paired.csv are schema-compatible with im2gps_europe.csv-style geolocation pipelines. The included eval.py is self-contained (no project imports):

python osm_eu_1k/eval.py --predictions path/to/predictions.json

Predictions format

CSV:

filename,pred_lat,pred_lon
00000.jpg,48.85,2.35
00001.jpg,52.51,13.40
...

…or JSON (a list of objects with the same keys; extra fields are ignored).

Reported metrics

  • mean_dist_km, median_dist_km — great-circle error
  • within_{1, 25, 200, 750, 2500}_km — accuracy at the standard im2gps thresholds

Reference numbers

A Street-View-trained classifier (StreetCLIP encoder + linear head over 8,494 H3-res-5 cells, last-2 transformer blocks fine-tuned for 1 epoch on raw images) reaches the following on the paired 4-view GSV split (i.e. GSV imagery the model has never seen, predicted by 4-view feature mean fusion + top-1 cell decoding):

split top-1 (cell) within 25 km within 200 km mean km median km
metadata_paired (GSV, 4-view, n=837) 3.6 % 4.7 % 33.8 % 523 345

These are the numbers any reasonable model should be able to beat — the cell-classifier hasn't been trained on Mapillary or any GSV slice from OSV-5M, so it underperforms by design. Use them as a sanity check that your eval pipeline is wired up the same way (4 views, top-1 cell, mean-of-features fusion).

License & attribution

The CSV manifests in this repo are released under CC-BY-SA 4.0 to match the upstream OSV-5M / Mapillary attribution requirement. If you redistribute them or any derivative product (e.g. cached extracted images), you must:

  1. Credit Mapillary contributors and OSV-5M (citation block below);
  2. Keep the same CC-BY-SA 4.0 license on derivatives.

The accompanying Python scripts (download.py, download_gsv.py, eval.py) are MIT-licensed.

The bundled OSM image bytes under images/ are redistributed under CC-BY-SA 4.0 as inherited from OSV-5M and Mapillary. If you fork or re-publish them, you must keep CC-BY-SA 4.0 and credit Mapillary contributors.

The GSV image bytes are governed by the Google Maps Platform Terms of Service and must not be redistributed by anyone, including via this repo or any fork — that's why only the coordinates + a fetcher script are published for the GSV split.

Citation

@inproceedings{astruc2024osv5m,
  title     = {{OpenStreetView-5M}: The Many Roads to Global Visual Geolocation},
  author    = {Astruc, Guillaume and Dufour, Nicolas and Siglidis, Ioannis and Aronssohn, Constantin and Bouia, Nacim and Fu, Stephanie and Loiseau, Romain and Nguyen, Van Nguyen and Raude, Charles and Vincent, Elliot and Xu, Lintao and Zablocki, Eloi and Landrieu, Loic},
  booktitle = {CVPR},
  year      = {2024}
}

@mastersthesis{leber2026streetview,
  title  = {Street View Image Geolocation in Europe via Geocell Classification},
  author = {Florian Leber},
  school = {FH JOANNEUM University of Applied Sciences},
  year   = {2026}
}

Contact

Florian Leber — florian.leber@edu.fh-joanneum.at Master's thesis at FH JOANNEUM University of Applied Sciences. Companion demo: lebfla11/streetview-eu-geocell-demo

Downloads last month
61