Spaces:
Building
Building
Commit
·
bace565
1
Parent(s):
8b9f0b3
add address collect
Browse files- app.py +1 -1
- datasets/example2/golden_labels.json +309 -0
- datasets/example3/golden_labels.json +309 -0
- mapcrunch_controller.py +16 -0
app.py
CHANGED
@@ -122,7 +122,7 @@ if start_button:
|
|
122 |
) as bot:
|
123 |
for i, sample in enumerate(test_samples):
|
124 |
st.divider()
|
125 |
-
st.header(f"Sample {i + 1}/{num_samples}
|
126 |
|
127 |
# Load the sample location
|
128 |
bot.controller.load_location_from_data(sample)
|
|
|
122 |
) as bot:
|
123 |
for i, sample in enumerate(test_samples):
|
124 |
st.divider()
|
125 |
+
st.header(f"Sample {i + 1}/{num_samples}")
|
126 |
|
127 |
# Load the sample location
|
128 |
bot.controller.load_location_from_data(sample)
|
datasets/example2/golden_labels.json
ADDED
@@ -0,0 +1,309 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"dataset_name": "example2",
|
4 |
+
"collection_date": "2025-06-12T15:26:27.073898",
|
5 |
+
"collection_options": {}
|
6 |
+
},
|
7 |
+
"samples": [
|
8 |
+
{
|
9 |
+
"id": "e958ec37-0b30-4b30-b508-df614acb489f",
|
10 |
+
"timestamp": "2025-06-12T15:25:22.208434",
|
11 |
+
"lat": 41.52785178236295,
|
12 |
+
"lng": 22.061235302695696,
|
13 |
+
"address": "Unknown",
|
14 |
+
"pano_id": "hB2IrvH7f4iapBJZ_jNMJg",
|
15 |
+
"pov": {
|
16 |
+
"heading": -201.27999999999997,
|
17 |
+
"pitch": 5,
|
18 |
+
"zoom": 1.0000039848465483
|
19 |
+
},
|
20 |
+
"url_slug": "41.527852_22.061235_-201.28_-5.00_0",
|
21 |
+
"thumbnail_path": "e958ec37-0b30-4b30-b508-df614acb489f.jpg"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"id": "8c047700-2775-4161-bfa5-9c5f966ee929",
|
25 |
+
"timestamp": "2025-06-12T15:25:25.564230",
|
26 |
+
"lat": 35.51112041872643,
|
27 |
+
"lng": 138.76733244706546,
|
28 |
+
"address": "Unknown",
|
29 |
+
"pano_id": "KSCuXhlMyISBw9Poh1hG8w",
|
30 |
+
"pov": {
|
31 |
+
"heading": 61.72000000000003,
|
32 |
+
"pitch": 5,
|
33 |
+
"zoom": 1.0000046104496552
|
34 |
+
},
|
35 |
+
"url_slug": "35.511120_138.767332_61.72_-5.00_0",
|
36 |
+
"thumbnail_path": "8c047700-2775-4161-bfa5-9c5f966ee929.jpg"
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"id": "c0beb43d-e95d-4352-9d36-56aa6c903e7d",
|
40 |
+
"timestamp": "2025-06-12T15:25:28.972905",
|
41 |
+
"lat": 43.42554082467874,
|
42 |
+
"lng": -89.09498316077553,
|
43 |
+
"address": "Unknown",
|
44 |
+
"pano_id": "H3QYXtsn7NBQxjZep7whsQ",
|
45 |
+
"pov": {
|
46 |
+
"heading": 164.72000000000003,
|
47 |
+
"pitch": 5,
|
48 |
+
"zoom": 1.0000093225833766
|
49 |
+
},
|
50 |
+
"url_slug": "43.425541_-89.094983_164.72_-5.00_0",
|
51 |
+
"thumbnail_path": "c0beb43d-e95d-4352-9d36-56aa6c903e7d.jpg"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"id": "f0af2553-81cf-48a7-8557-ed4b437a0c9d",
|
55 |
+
"timestamp": "2025-06-12T15:25:32.389314",
|
56 |
+
"lat": 47.48390126215672,
|
57 |
+
"lng": 34.659670566007904,
|
58 |
+
"address": "Unknown",
|
59 |
+
"pano_id": "bfFQMztfnvuffg-_9NkXjQ",
|
60 |
+
"pov": {
|
61 |
+
"heading": -337.28,
|
62 |
+
"pitch": 5,
|
63 |
+
"zoom": 1.0000017337781582
|
64 |
+
},
|
65 |
+
"url_slug": "47.483901_34.659671_-337.28_-5.00_0",
|
66 |
+
"thumbnail_path": "f0af2553-81cf-48a7-8557-ed4b437a0c9d.jpg"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"id": "06c2d9c2-f765-4f2b-b9b1-5b93229dc0fc",
|
70 |
+
"timestamp": "2025-06-12T15:25:35.813919",
|
71 |
+
"lat": -34.63754161327788,
|
72 |
+
"lng": 118.09156096189146,
|
73 |
+
"address": "Unknown",
|
74 |
+
"pano_id": "PzTOFAXRN2xbwgjUqN4bpg",
|
75 |
+
"pov": {
|
76 |
+
"heading": -148.27999999999997,
|
77 |
+
"pitch": 5,
|
78 |
+
"zoom": 1.0000041033706084
|
79 |
+
},
|
80 |
+
"url_slug": "-34.637542_118.091561_-148.28_-5.00_0",
|
81 |
+
"thumbnail_path": "06c2d9c2-f765-4f2b-b9b1-5b93229dc0fc.jpg"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"id": "92beabfc-c50d-421e-a847-fd2cb145aac8",
|
85 |
+
"timestamp": "2025-06-12T15:25:39.191588",
|
86 |
+
"lat": 64.57213289684468,
|
87 |
+
"lng": -21.97630482318329,
|
88 |
+
"address": "Unknown",
|
89 |
+
"pano_id": "UojsE8YlVZ0N_TsBzTXkHw",
|
90 |
+
"pov": {
|
91 |
+
"heading": 90.72000000000003,
|
92 |
+
"pitch": 5,
|
93 |
+
"zoom": 1.0000091919376193
|
94 |
+
},
|
95 |
+
"url_slug": "64.572133_-21.976305_90.72_-5.00_0",
|
96 |
+
"thumbnail_path": "92beabfc-c50d-421e-a847-fd2cb145aac8.jpg"
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"id": "fae54d62-755c-447f-ace2-7d7d9dcbab0a",
|
100 |
+
"timestamp": "2025-06-12T15:25:42.516009",
|
101 |
+
"lat": 32.34919407912315,
|
102 |
+
"lng": -64.71096298763197,
|
103 |
+
"address": "Unknown",
|
104 |
+
"pano_id": "CAoSF0NJSE0wb2dLRUlDQWdJREV1Tl9YMmdF",
|
105 |
+
"pov": {
|
106 |
+
"heading": 260.72,
|
107 |
+
"pitch": 5,
|
108 |
+
"zoom": 1.0000030548533054
|
109 |
+
},
|
110 |
+
"url_slug": "32.349194_-64.710963_260.72_-5.00_0",
|
111 |
+
"thumbnail_path": "fae54d62-755c-447f-ace2-7d7d9dcbab0a.jpg"
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"id": "a086d72f-5c18-4895-a728-4262d565005f",
|
115 |
+
"timestamp": "2025-06-12T15:25:45.919449",
|
116 |
+
"lat": 34.880191512475136,
|
117 |
+
"lng": 138.1990659116743,
|
118 |
+
"address": "Unknown",
|
119 |
+
"pano_id": "CAoSFkNJSE0wb2dLRUlDQWdJRHE4NDJsWnc.",
|
120 |
+
"pov": {
|
121 |
+
"heading": 358.72,
|
122 |
+
"pitch": 5,
|
123 |
+
"zoom": 1.0000054942816385
|
124 |
+
},
|
125 |
+
"url_slug": "34.880192_138.199066_358.72_-5.00_0",
|
126 |
+
"thumbnail_path": "a086d72f-5c18-4895-a728-4262d565005f.jpg"
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"id": "ea8fae71-8acd-4ba5-a016-3fb9d051c8ff",
|
130 |
+
"timestamp": "2025-06-12T15:25:49.337047",
|
131 |
+
"lat": 22.130721057935787,
|
132 |
+
"lng": 113.57874365739633,
|
133 |
+
"address": "Unknown",
|
134 |
+
"pano_id": "IZjDP8WGT4O3zju2hFiFCg",
|
135 |
+
"pov": {
|
136 |
+
"heading": -249.27999999999997,
|
137 |
+
"pitch": 5,
|
138 |
+
"zoom": 1.0000003495222285
|
139 |
+
},
|
140 |
+
"url_slug": "22.130721_113.578744_-249.28_-5.00_0",
|
141 |
+
"thumbnail_path": "ea8fae71-8acd-4ba5-a016-3fb9d051c8ff.jpg"
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"id": "0730a5f2-a68b-4e7a-9f8d-877bd65b04ba",
|
145 |
+
"timestamp": "2025-06-12T15:25:52.704884",
|
146 |
+
"lat": 18.6634455460649,
|
147 |
+
"lng": -96.76220059003958,
|
148 |
+
"address": "Unknown",
|
149 |
+
"pano_id": "J9ZTNGHVQf4EBW2rCgaHaQ",
|
150 |
+
"pov": {
|
151 |
+
"heading": -5.279999999999973,
|
152 |
+
"pitch": 5,
|
153 |
+
"zoom": 1.0000057047491013
|
154 |
+
},
|
155 |
+
"url_slug": "18.663446_-96.762201_-5.28_-5.00_0",
|
156 |
+
"thumbnail_path": "0730a5f2-a68b-4e7a-9f8d-877bd65b04ba.jpg"
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"id": "992ba13b-0ced-4a8f-b8ee-3e2f9ac14464",
|
160 |
+
"timestamp": "2025-06-12T15:25:56.187109",
|
161 |
+
"lat": 64.51234002155906,
|
162 |
+
"lng": -22.13983357174534,
|
163 |
+
"address": "Unknown",
|
164 |
+
"pano_id": "nayAVqmoufS1IQHDOtXK5g",
|
165 |
+
"pov": {
|
166 |
+
"heading": 204.72000000000003,
|
167 |
+
"pitch": 5,
|
168 |
+
"zoom": 1.0000082656900817
|
169 |
+
},
|
170 |
+
"url_slug": "64.512340_-22.139834_204.72_-5.00_0",
|
171 |
+
"thumbnail_path": "992ba13b-0ced-4a8f-b8ee-3e2f9ac14464.jpg"
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"id": "83f086e9-2b3c-47c8-9611-557853313d73",
|
175 |
+
"timestamp": "2025-06-12T15:25:59.649986",
|
176 |
+
"lat": 49.18855106875811,
|
177 |
+
"lng": 18.715493968155048,
|
178 |
+
"address": "Unknown",
|
179 |
+
"pano_id": "X4_z3fyEkFf1TURoTEtTRw",
|
180 |
+
"pov": {
|
181 |
+
"heading": -285.28,
|
182 |
+
"pitch": 5,
|
183 |
+
"zoom": 1.0000014961409551
|
184 |
+
},
|
185 |
+
"url_slug": "49.188551_18.715494_-285.28_-5.00_0",
|
186 |
+
"thumbnail_path": "83f086e9-2b3c-47c8-9611-557853313d73.jpg"
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"id": "11e0d5df-607f-4673-9075-6cb784949469",
|
190 |
+
"timestamp": "2025-06-12T15:26:03.006109",
|
191 |
+
"lat": 47.566063195512115,
|
192 |
+
"lng": 117.66840235174527,
|
193 |
+
"address": "Unknown",
|
194 |
+
"pano_id": "pmbqMP3wUN-y4UNF29-ijg",
|
195 |
+
"pov": {
|
196 |
+
"heading": -53.27999999999997,
|
197 |
+
"pitch": 5,
|
198 |
+
"zoom": 1.0000074643993226
|
199 |
+
},
|
200 |
+
"url_slug": "47.566063_117.668402_-53.28_-5.00_0",
|
201 |
+
"thumbnail_path": "11e0d5df-607f-4673-9075-6cb784949469.jpg"
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"id": "35aad182-1f46-4ded-a7c0-f41663c1dbc6",
|
205 |
+
"timestamp": "2025-06-12T15:26:06.382239",
|
206 |
+
"lat": 39.85636978265199,
|
207 |
+
"lng": 38.22670052745333,
|
208 |
+
"address": "Unknown",
|
209 |
+
"pano_id": "YX0qC_q239NxWkz2rjYO2A",
|
210 |
+
"pov": {
|
211 |
+
"heading": 194.72000000000003,
|
212 |
+
"pitch": 5,
|
213 |
+
"zoom": 1.0000085095965745
|
214 |
+
},
|
215 |
+
"url_slug": "39.856370_38.226701_194.72_-5.00_0",
|
216 |
+
"thumbnail_path": "35aad182-1f46-4ded-a7c0-f41663c1dbc6.jpg"
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"id": "6668b3fd-eefd-4d25-aa4a-7021a19d19c3",
|
220 |
+
"timestamp": "2025-06-12T15:26:09.783272",
|
221 |
+
"lat": 22.456568266194985,
|
222 |
+
"lng": 114.09923601594565,
|
223 |
+
"address": "Unknown",
|
224 |
+
"pano_id": "DM221xFUpWG9lY53LbL--Q",
|
225 |
+
"pov": {
|
226 |
+
"heading": -355.28,
|
227 |
+
"pitch": 5,
|
228 |
+
"zoom": 1.0000096482864165
|
229 |
+
},
|
230 |
+
"url_slug": "22.456568_114.099236_-355.28_-5.00_0",
|
231 |
+
"thumbnail_path": "6668b3fd-eefd-4d25-aa4a-7021a19d19c3.jpg"
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"id": "2df0138c-dacf-4d89-9f23-9b095226f70f",
|
235 |
+
"timestamp": "2025-06-12T15:26:13.164542",
|
236 |
+
"lat": 38.46383428233303,
|
237 |
+
"lng": 35.16450386289184,
|
238 |
+
"address": "Unknown",
|
239 |
+
"pano_id": "yYdcfT5d7wr1sFM0be7AbQ",
|
240 |
+
"pov": {
|
241 |
+
"heading": -101.27999999999997,
|
242 |
+
"pitch": 5,
|
243 |
+
"zoom": 1.0000053534557005
|
244 |
+
},
|
245 |
+
"url_slug": "38.463834_35.164504_-101.28_-5.00_0",
|
246 |
+
"thumbnail_path": "2df0138c-dacf-4d89-9f23-9b095226f70f.jpg"
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"id": "7a1c2e5a-8cde-4a44-9fdb-5142a26a001d",
|
250 |
+
"timestamp": "2025-06-12T15:26:16.508455",
|
251 |
+
"lat": -6.370108870806767,
|
252 |
+
"lng": -76.28528690259334,
|
253 |
+
"address": "Unknown",
|
254 |
+
"pano_id": "bDGZjPoLOS0J4FaKbCQi3Q",
|
255 |
+
"pov": {
|
256 |
+
"heading": 13.720000000000027,
|
257 |
+
"pitch": 5,
|
258 |
+
"zoom": 1.0000056924769267
|
259 |
+
},
|
260 |
+
"url_slug": "-6.370109_-76.285287_13.72_-5.00_0",
|
261 |
+
"thumbnail_path": "7a1c2e5a-8cde-4a44-9fdb-5142a26a001d.jpg"
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"id": "add1ffdf-22ca-4e15-9061-12d4e4b70638",
|
265 |
+
"timestamp": "2025-06-12T15:26:19.889548",
|
266 |
+
"lat": -31.647905825412163,
|
267 |
+
"lng": -60.705529014729464,
|
268 |
+
"address": "Unknown",
|
269 |
+
"pano_id": "LfewarY8AHpdsRryIvxjVQ",
|
270 |
+
"pov": {
|
271 |
+
"heading": 169.72000000000003,
|
272 |
+
"pitch": 5,
|
273 |
+
"zoom": 1.0000043082285572
|
274 |
+
},
|
275 |
+
"url_slug": "-31.647906_-60.705529_169.72_-5.00_0",
|
276 |
+
"thumbnail_path": "add1ffdf-22ca-4e15-9061-12d4e4b70638.jpg"
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"id": "0c93acf3-75cc-43c1-be9e-28e034c139ff",
|
280 |
+
"timestamp": "2025-06-12T15:26:23.261201",
|
281 |
+
"lat": 43.95405778584408,
|
282 |
+
"lng": 22.298469861096923,
|
283 |
+
"address": "Unknown",
|
284 |
+
"pano_id": "q_NGYfvHdH9mL4cyp3UjEQ",
|
285 |
+
"pov": {
|
286 |
+
"heading": 305.72,
|
287 |
+
"pitch": 5,
|
288 |
+
"zoom": 1.0000030120206056
|
289 |
+
},
|
290 |
+
"url_slug": "43.954058_22.298470_305.72_-5.00_0",
|
291 |
+
"thumbnail_path": "0c93acf3-75cc-43c1-be9e-28e034c139ff.jpg"
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"id": "016d1183-d7a6-46a4-98f2-a97f62445b89",
|
295 |
+
"timestamp": "2025-06-12T15:26:26.696698",
|
296 |
+
"lat": 34.59326187516724,
|
297 |
+
"lng": 135.74317546771286,
|
298 |
+
"address": "Unknown",
|
299 |
+
"pano_id": "iiCKjrr3Zib0M5OYS5BV8g",
|
300 |
+
"pov": {
|
301 |
+
"heading": -279.28,
|
302 |
+
"pitch": 5,
|
303 |
+
"zoom": 1.0000047776936738
|
304 |
+
},
|
305 |
+
"url_slug": "34.593262_135.743175_-279.28_-5.00_0",
|
306 |
+
"thumbnail_path": "016d1183-d7a6-46a4-98f2-a97f62445b89.jpg"
|
307 |
+
}
|
308 |
+
]
|
309 |
+
}
|
datasets/example3/golden_labels.json
ADDED
@@ -0,0 +1,309 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"dataset_name": "example3",
|
4 |
+
"collection_date": "2025-06-12T15:57:06.206331",
|
5 |
+
"collection_options": {}
|
6 |
+
},
|
7 |
+
"samples": [
|
8 |
+
{
|
9 |
+
"id": "197a5345-a9da-41e1-93c5-b46ad24e5363",
|
10 |
+
"timestamp": "2025-06-12T15:56:00.069960",
|
11 |
+
"lat": 32.450617168194135,
|
12 |
+
"lng": -114.69399063957216,
|
13 |
+
"address": "Libramiento Golfo de Sta Clara-Ejido La Islita, San Luis R\u00edo Colorado, Sonora",
|
14 |
+
"pano_id": "RwuCf43rrr5vnlEgH7uMHw",
|
15 |
+
"pov": {
|
16 |
+
"heading": -265.28,
|
17 |
+
"pitch": 5,
|
18 |
+
"zoom": 1.000000033789912
|
19 |
+
},
|
20 |
+
"url_slug": "32.450617_-114.693991_-265.28_-5.00_0",
|
21 |
+
"thumbnail_path": "197a5345-a9da-41e1-93c5-b46ad24e5363.jpg"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"id": "66f91dcf-3fe6-4962-bfe6-2de8a349d6f6",
|
25 |
+
"timestamp": "2025-06-12T15:56:03.857510",
|
26 |
+
"lat": -37.78214235746083,
|
27 |
+
"lng": 144.12300194368797,
|
28 |
+
"address": "1476 Ballan-Meredith Rd, Morrisons, Victoria",
|
29 |
+
"pano_id": "hXyohzqEx6F3Q7eSQ089Mw",
|
30 |
+
"pov": {
|
31 |
+
"heading": -22.279999999999973,
|
32 |
+
"pitch": 5,
|
33 |
+
"zoom": 1.0000055105094043
|
34 |
+
},
|
35 |
+
"url_slug": "-37.782142_144.123002_-22.28_-5.00_0",
|
36 |
+
"thumbnail_path": "66f91dcf-3fe6-4962-bfe6-2de8a349d6f6.jpg"
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"id": "7c22a7fc-fa66-40cc-88fd-626b826e14af",
|
40 |
+
"timestamp": "2025-06-12T15:56:07.240175",
|
41 |
+
"lat": 61.90332655530213,
|
42 |
+
"lng": 25.33606097079652,
|
43 |
+
"address": "98 Tervaj\u00e4rventie, Central Finland",
|
44 |
+
"pano_id": "yYWVkowafmuAlOFKWCV1TA",
|
45 |
+
"pov": {
|
46 |
+
"heading": 156.72000000000003,
|
47 |
+
"pitch": 5,
|
48 |
+
"zoom": 1.0000044280956983
|
49 |
+
},
|
50 |
+
"url_slug": "61.903327_25.336061_156.72_-5.00_0",
|
51 |
+
"thumbnail_path": "7c22a7fc-fa66-40cc-88fd-626b826e14af.jpg"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"id": "0facf8d6-5bcf-41e0-931e-2585e177fb68",
|
55 |
+
"timestamp": "2025-06-12T15:56:10.614004",
|
56 |
+
"lat": -18.13971017041426,
|
57 |
+
"lng": -63.937036497382664,
|
58 |
+
"address": "7, Santa Cruz Department",
|
59 |
+
"pano_id": "ILV43CvgWyxYt5HTTieZ4Q",
|
60 |
+
"pov": {
|
61 |
+
"heading": 290.72,
|
62 |
+
"pitch": 5,
|
63 |
+
"zoom": 1.0000061861010834
|
64 |
+
},
|
65 |
+
"url_slug": "-18.139710_-63.937036_290.72_-5.00_0",
|
66 |
+
"thumbnail_path": "0facf8d6-5bcf-41e0-931e-2585e177fb68.jpg"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"id": "9b372f4e-ca87-481c-a4d0-c3a6c90dff12",
|
70 |
+
"timestamp": "2025-06-12T15:56:14.031494",
|
71 |
+
"lat": 39.28408711718923,
|
72 |
+
"lng": 22.84441276717771,
|
73 |
+
"address": "EO30, Decentralized Administration of Thessaly and Central Greece",
|
74 |
+
"pano_id": "TnZ8AiIDWLWyoLMtWvThPg",
|
75 |
+
"pov": {
|
76 |
+
"heading": -320.28,
|
77 |
+
"pitch": 5,
|
78 |
+
"zoom": 1.0000078610298728
|
79 |
+
},
|
80 |
+
"url_slug": "39.284087_22.844413_-320.28_-5.00_0",
|
81 |
+
"thumbnail_path": "9b372f4e-ca87-481c-a4d0-c3a6c90dff12.jpg"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"id": "6558ba29-9edc-4c66-9213-edb82e77cf77",
|
85 |
+
"timestamp": "2025-06-12T15:56:17.391786",
|
86 |
+
"lat": 57.728373123146845,
|
87 |
+
"lng": 11.654417090381687,
|
88 |
+
"address": "1 Tjolmenv\u00e4gen, \u00d6cker\u00f6, V\u00e4stra G\u00f6taland County",
|
89 |
+
"pano_id": "FUCNS8h6b1KdjbkqekrpKw",
|
90 |
+
"pov": {
|
91 |
+
"heading": -114.27999999999997,
|
92 |
+
"pitch": 5,
|
93 |
+
"zoom": 1.0000089987016267
|
94 |
+
},
|
95 |
+
"url_slug": "57.728373_11.654417_-114.28_-5.00_0",
|
96 |
+
"thumbnail_path": "6558ba29-9edc-4c66-9213-edb82e77cf77.jpg"
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"id": "ed167213-4364-40ae-80ee-78bf63480b9c",
|
100 |
+
"timestamp": "2025-06-12T15:56:20.754401",
|
101 |
+
"lat": -14.333745187624173,
|
102 |
+
"lng": -170.720756044093,
|
103 |
+
"address": "Rte 014, Tafuna, Western District",
|
104 |
+
"pano_id": "bUeapV3I_9VGBhumXlk2Tw",
|
105 |
+
"pov": {
|
106 |
+
"heading": 151.72000000000003,
|
107 |
+
"pitch": 5,
|
108 |
+
"zoom": 1.000005537590412
|
109 |
+
},
|
110 |
+
"url_slug": "-14.333745_-170.720756_151.72_-5.00_0",
|
111 |
+
"thumbnail_path": "ed167213-4364-40ae-80ee-78bf63480b9c.jpg"
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"id": "41734c39-d109-4c5c-a939-82fcadfadbdf",
|
115 |
+
"timestamp": "2025-06-12T15:56:24.184911",
|
116 |
+
"lat": 45.86505410116751,
|
117 |
+
"lng": 15.519019308411098,
|
118 |
+
"address": "Pokopali\u0161\u010de Bu\u0161e\u010da vas",
|
119 |
+
"pano_id": "CAoSFkNJSE0wb2dLRUlDQWdJQ0VpYWVtWlE.",
|
120 |
+
"pov": {
|
121 |
+
"heading": 326.72,
|
122 |
+
"pitch": 5,
|
123 |
+
"zoom": 1.0000074031092103
|
124 |
+
},
|
125 |
+
"url_slug": "45.865054_15.519019_326.72_-5.00_0",
|
126 |
+
"thumbnail_path": "41734c39-d109-4c5c-a939-82fcadfadbdf.jpg"
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"id": "04f77afb-4b62-4d27-ae04-69f72b47cd30",
|
130 |
+
"timestamp": "2025-06-12T15:56:28.265166",
|
131 |
+
"lat": 53.210286076785295,
|
132 |
+
"lng": -114.86431799288032,
|
133 |
+
"address": "AB-22, Buck Creek, Alberta",
|
134 |
+
"pano_id": "RfHJ9zAVgKGNzIAqHfk8rA",
|
135 |
+
"pov": {
|
136 |
+
"heading": -134.27999999999997,
|
137 |
+
"pitch": 5,
|
138 |
+
"zoom": 1.0000034294812554
|
139 |
+
},
|
140 |
+
"url_slug": "53.210286_-114.864318_-134.28_-5.00_0",
|
141 |
+
"thumbnail_path": "04f77afb-4b62-4d27-ae04-69f72b47cd30.jpg"
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"id": "e3141a38-fb2d-45a8-8f3a-4c26018720e4",
|
145 |
+
"timestamp": "2025-06-12T15:56:31.850499",
|
146 |
+
"lat": 57.66292577014665,
|
147 |
+
"lng": 27.24427273260464,
|
148 |
+
"address": "M\u00f6ldre, V\u00f5ru County",
|
149 |
+
"pano_id": "vvKr0wNXF5WfS1lOq1IIxw",
|
150 |
+
"pov": {
|
151 |
+
"heading": 44.72000000000003,
|
152 |
+
"pitch": 5,
|
153 |
+
"zoom": 1.000000124614534
|
154 |
+
},
|
155 |
+
"url_slug": "57.662926_27.244273_44.72_-5.00_0",
|
156 |
+
"thumbnail_path": "e3141a38-fb2d-45a8-8f3a-4c26018720e4.jpg"
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"id": "1eea0ce4-3332-4096-982b-37e97772e105",
|
160 |
+
"timestamp": "2025-06-12T15:56:35.316086",
|
161 |
+
"lat": -3.681535588587605,
|
162 |
+
"lng": -80.19932740757173,
|
163 |
+
"address": "24250 TU-101, Matapalo, Tumbes",
|
164 |
+
"pano_id": "48w450euvqIfAVQ7R3HLng",
|
165 |
+
"pov": {
|
166 |
+
"heading": 295.72,
|
167 |
+
"pitch": 5,
|
168 |
+
"zoom": 1.0000097574696656
|
169 |
+
},
|
170 |
+
"url_slug": "-3.681536_-80.199327_295.72_-5.00_0",
|
171 |
+
"thumbnail_path": "1eea0ce4-3332-4096-982b-37e97772e105.jpg"
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"id": "e49be483-24e8-47ef-bf01-77dcfcb5d2d4",
|
175 |
+
"timestamp": "2025-06-12T15:56:38.725810",
|
176 |
+
"lat": -14.279133596130174,
|
177 |
+
"lng": -170.55687001529134,
|
178 |
+
"address": "Route 119, Aunu\u02bbu, AS 96799",
|
179 |
+
"pano_id": "TpeB7isFtiuumh6Eh15ZcA",
|
180 |
+
"pov": {
|
181 |
+
"heading": -265.28,
|
182 |
+
"pitch": 5,
|
183 |
+
"zoom": 1.0000006336487888
|
184 |
+
},
|
185 |
+
"url_slug": "-14.279134_-170.556870_-265.28_-5.00_0",
|
186 |
+
"thumbnail_path": "e49be483-24e8-47ef-bf01-77dcfcb5d2d4.jpg"
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"id": "c5a611d5-29d2-4a83-b00d-1ed7df76869f",
|
190 |
+
"timestamp": "2025-06-12T15:56:42.149170",
|
191 |
+
"lat": 31.800383498252334,
|
192 |
+
"lng": 35.24268946547305,
|
193 |
+
"address": "Moqatel, Jerusalem, Jerusalem District",
|
194 |
+
"pano_id": "1VidmzHWGOrCkkidLLWF3Q",
|
195 |
+
"pov": {
|
196 |
+
"heading": -159.27999999999997,
|
197 |
+
"pitch": 5,
|
198 |
+
"zoom": 1.0000062558576592
|
199 |
+
},
|
200 |
+
"url_slug": "31.800383_35.242689_-159.28_-5.00_0",
|
201 |
+
"thumbnail_path": "c5a611d5-29d2-4a83-b00d-1ed7df76869f.jpg"
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"id": "6dd669f4-2f13-4909-a480-9708a23cd80f",
|
205 |
+
"timestamp": "2025-06-12T15:56:45.579437",
|
206 |
+
"lat": 51.29578341353695,
|
207 |
+
"lng": 12.500988457395495,
|
208 |
+
"address": "Thensa",
|
209 |
+
"pano_id": "CAoSF0NJSE0wb2dLRUlDQWdJREQyZUtxbVFF",
|
210 |
+
"pov": {
|
211 |
+
"heading": -42.27999999999997,
|
212 |
+
"pitch": 5,
|
213 |
+
"zoom": 1.0000073719182492
|
214 |
+
},
|
215 |
+
"url_slug": "51.295783_12.500988_-42.28_-5.00_0",
|
216 |
+
"thumbnail_path": "6dd669f4-2f13-4909-a480-9708a23cd80f.jpg"
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"id": "4f76d721-c2ec-4dc4-9485-e542d70ccf5c",
|
220 |
+
"timestamp": "2025-06-12T15:56:48.982692",
|
221 |
+
"lat": 58.32519714026791,
|
222 |
+
"lng": 26.777231622290483,
|
223 |
+
"address": "5 Palupealse, Aardlapalu, Tartu County",
|
224 |
+
"pano_id": "WUUzxDv8tWsNfGv28OGIeA",
|
225 |
+
"pov": {
|
226 |
+
"heading": 206.72000000000003,
|
227 |
+
"pitch": 5,
|
228 |
+
"zoom": 1.0000007116201164
|
229 |
+
},
|
230 |
+
"url_slug": "58.325197_26.777232_206.72_-5.00_0",
|
231 |
+
"thumbnail_path": "4f76d721-c2ec-4dc4-9485-e542d70ccf5c.jpg"
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"id": "23a2f011-371a-48ed-bed7-254e8beefff3",
|
235 |
+
"timestamp": "2025-06-12T15:56:52.355563",
|
236 |
+
"lat": 27.53069417681522,
|
237 |
+
"lng": 90.1727287722609,
|
238 |
+
"address": "Trashigang-Semtokha Hwy, Wangdue Phodrang",
|
239 |
+
"pano_id": "1xZ7zVnYVh1f-hN4Xo_xFA",
|
240 |
+
"pov": {
|
241 |
+
"heading": 304.72,
|
242 |
+
"pitch": 5,
|
243 |
+
"zoom": 1.0000081048518055
|
244 |
+
},
|
245 |
+
"url_slug": "27.530694_90.172729_304.72_-5.00_0",
|
246 |
+
"thumbnail_path": "23a2f011-371a-48ed-bed7-254e8beefff3.jpg"
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"id": "af61d989-8751-4c07-820c-8b35ffd0f2ae",
|
250 |
+
"timestamp": "2025-06-12T15:56:55.722548",
|
251 |
+
"lat": 5.287167713224647,
|
252 |
+
"lng": 103.06979234400693,
|
253 |
+
"address": "Lorong Bunga Raya, Kuala Terengganu, Terengganu",
|
254 |
+
"pano_id": "Pktsz31ZAWkJ-R1Ixesabw",
|
255 |
+
"pov": {
|
256 |
+
"heading": -178.27999999999997,
|
257 |
+
"pitch": 5,
|
258 |
+
"zoom": 1.0000068048105129
|
259 |
+
},
|
260 |
+
"url_slug": "5.287168_103.069792_-178.28_-5.00_0",
|
261 |
+
"thumbnail_path": "af61d989-8751-4c07-820c-8b35ffd0f2ae.jpg"
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"id": "484ba34d-e072-4cb1-81b8-b1a4af8f36e9",
|
265 |
+
"timestamp": "2025-06-12T15:56:59.179328",
|
266 |
+
"lat": 45.95418096151833,
|
267 |
+
"lng": 5.379404630232549,
|
268 |
+
"address": "Amb\u00e9rieu-en-Bugey, Auvergne-Rh\u00f4ne-Alpes",
|
269 |
+
"pano_id": "AhkPs6oryerDdiRpLzRrDg",
|
270 |
+
"pov": {
|
271 |
+
"heading": 90.72000000000003,
|
272 |
+
"pitch": 5,
|
273 |
+
"zoom": 1.000005463895491
|
274 |
+
},
|
275 |
+
"url_slug": "45.954181_5.379405_90.72_-5.00_0",
|
276 |
+
"thumbnail_path": "484ba34d-e072-4cb1-81b8-b1a4af8f36e9.jpg"
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"id": "720334f9-6332-4438-bcd2-68e0b464bb65",
|
280 |
+
"timestamp": "2025-06-12T15:57:02.582946",
|
281 |
+
"lat": 25.590547334531223,
|
282 |
+
"lng": 55.77315301790442,
|
283 |
+
"address": "E311, Al Raafah, Ras Al Khaimah",
|
284 |
+
"pano_id": "XNQCCNZ7aSxDPKeOoBaBYA",
|
285 |
+
"pov": {
|
286 |
+
"heading": 338.72,
|
287 |
+
"pitch": 5,
|
288 |
+
"zoom": 1.000001329133932
|
289 |
+
},
|
290 |
+
"url_slug": "25.590547_55.773153_338.72_-5.00_0",
|
291 |
+
"thumbnail_path": "720334f9-6332-4438-bcd2-68e0b464bb65.jpg"
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"id": "d19dbe06-9b1a-4639-8d02-b21d2f87e8f4",
|
295 |
+
"timestamp": "2025-06-12T15:57:05.925602",
|
296 |
+
"lat": 69.97748674684166,
|
297 |
+
"lng": 19.105915802473216,
|
298 |
+
"address": "32 Fv302, Troms",
|
299 |
+
"pano_id": "CLIgvpLaAivFTsJqHVhsZg",
|
300 |
+
"pov": {
|
301 |
+
"heading": -129.27999999999997,
|
302 |
+
"pitch": 5,
|
303 |
+
"zoom": 1.0000075163842848
|
304 |
+
},
|
305 |
+
"url_slug": "69.977487_19.105916_-129.28_-5.00_0",
|
306 |
+
"thumbnail_path": "d19dbe06-9b1a-4639-8d02-b21d2f87e8f4.jpg"
|
307 |
+
}
|
308 |
+
]
|
309 |
+
}
|
mapcrunch_controller.py
CHANGED
@@ -179,6 +179,22 @@ class MapCrunchController:
|
|
179 |
base_actions.extend(["MOVE_FORWARD", "MOVE_BACKWARD"])
|
180 |
return base_actions
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
def pan_view(self, direction: str, degrees: int = 45):
|
183 |
"""Pans the view using a direct JS call."""
|
184 |
pov = self.driver.execute_script("return window.panorama.getPov();")
|
|
|
179 |
base_actions.extend(["MOVE_FORWARD", "MOVE_BACKWARD"])
|
180 |
return base_actions
|
181 |
|
182 |
+
def get_current_address(self) -> Optional[str]:
|
183 |
+
try:
|
184 |
+
address_element = self.wait.until(
|
185 |
+
EC.visibility_of_element_located(
|
186 |
+
(By.CSS_SELECTOR, SELECTORS["address_element"])
|
187 |
+
)
|
188 |
+
)
|
189 |
+
address_text = address_element.text.strip()
|
190 |
+
address_title = address_element.get_attribute("title") or ""
|
191 |
+
return (
|
192 |
+
address_title
|
193 |
+
if len(address_title) > len(address_text)
|
194 |
+
else address_text
|
195 |
+
)
|
196 |
+
except Exception:
|
197 |
+
return "Stealth Mode"
|
198 |
def pan_view(self, direction: str, degrees: int = 45):
|
199 |
"""Pans the view using a direct JS call."""
|
200 |
pov = self.driver.execute_script("return window.panorama.getPov();")
|