[Feature Request] Get all point cloud/sfm clusters
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 32/100
Rechercherichtung
Beginne mit dem bestehenden Bounding-Box-Bildabruf des SDK und dem Endpunkt graph.mapillary.com/images. Überprüfe, wie sfm_cluster bereitgestellt wird, und definiere anschließend das Verhalten von get_point_clouds(bbox, links=false) für Links im Gegensatz zu abgerufenen Objekten und für zu große Boxen. Als erledigt gilt, dass die angeforderten Punktwolkenergebnisse für eine gültige bbox zurückgegeben werden und das 5000-Elemente-Limit ausdrücklich behandelt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is your feature request related to a problem? Please describe.
Some users may want to retrieve the point clouds for a geographic. Each Mapillary image has an associated point cloud in the sfm_cluster field.
Describe the solution you'd like
There are two ways to allow a user to retrieve this:
- a list of links
- a list of point cloud objects
The function could be something like get_point_clouds(bbox,links=false) which does the following:
- calls graph.mapillary.com/images?bbox=lon1,lat1,lon2,lat2&limit=5000
- checks if bbox includes 5000 or more response items (if so, it is maxxed out, we need smaller bbox)
- if not maxxed out, get all the images in the bbox with fields=sfm_cluster
- if links=false (default) run a loop, for each image, do a get request for the sfm_cluster URL, and append to a list
- return the list of sfm_cluster data objects
- if links=true, then just return a list of the URLs, do not request the data
- if bbox too big in step 2, then split into 4 smaller bboxes, or warn user to simply use a smaller bbox
Describe alternatives you've considered
It might be good to just request using the tiles, the way we get images from a bbox, but I am not certain that these images via tiles have the sfm_cluster URL, so it would not work
Additional context
The point cloud should be in .ply file format, but this is not important, just retrieving the objects lets the user make use of them (they would use it with the OpenSfM library)
- Vorherrschende Sprache
- Python
- Sterne
- 66
- Forks
- 23
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 11
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mapillary/mapillary-python-sdk
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
mapillary/mapillary-python-sdk#156 · 1 Kommentar ·
-
Bug Report Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
mapillary/mapillary-python-sdk#150 · 1 Kommentar ·
-
point cloud data Offenexample
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
mapillary/mapillary-python-sdk#147 · 11 Kommentare ·
-
feature
mapillary/mapillary-python-sdk#119 · 1 zugewiesene Person ·
Alle Issues in mapillary/mapillary-python-sdk
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
anthropics/skills#1811 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
speaches-ai/speaches#678 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
datalayer/mcp-compose#42 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
conda-forge/spacy-feedstock#177 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
UKGovernmentBEIS/inspect_evals#2523 ·