mapillary-python-sdk
mapillary-python-sdk copied to clipboard
[Feature] Discussion over having a visual representation of the results
Is your feature request related to a problem? Please describe.
It is not really as much of a problem, as it is that of a feature request. It would be great if there was a way of visualizing results from mapillary
via a bounding box. This can help in geospatial analysis for enthusiasts in data science or for developers who like to perform visual analysis in Jupyter notebooks. The results can look something similar to this,
The above images were selected from the Getting Started with the new Mapillary API v4 post on Mapillary - Blog.
Describe the solution you'd like
One-liners, much like in libraries, for example, in networkx
, and matplotlib
, where there is a very easy of quickly generating a graph to see what the results look like. More code like the discussion is to be had later in the future, but this can serve as a ground basis for starting from somewhere
Describe alternatives you've considered
We can use something like the Folium
library that helps in performing GeoSpatial analysis.
Additional context
This idea was slightly discussed in the 1st Maintainer Meeting
on the 24th of June
To investigate how osmnx
generates images.
fiolum
is suggested because of OS compatibility.
For osmnx
I think it's just matplotlib plotting the data, so it's not exactly a map but is very simple and easy for seeing the distribution of the data.
If we do with Folium, it could be interesting to make sure that the following styles are used by default:
- for sequences, linestring with color #05CB63
- for images, a point shown as a circule with color #05CB63
- for traffic signs, could potentially even get the sprite icons that match the value
- for map feature points, the same as traffic signs, could even show sprites
Sprites are available here, under the package for objects and for traffic signs: https://github.com/mapillary/mapillary_sprite_source