mapillary-python-sdk icon indicating copy to clipboard operation
mapillary-python-sdk copied to clipboard

[Feature] Discussion over having a visual representation of the results

Open Rubix982 opened this issue 3 years ago • 3 comments

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,

image

image

image

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

Rubix982 avatar Jun 24 '21 15:06 Rubix982

To investigate how osmnx generates images.

fiolum is suggested because of OS compatibility.

Rubix982 avatar Aug 13 '21 17:08 Rubix982

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:

  1. for sequences, linestring with color #05CB63
  2. for images, a point shown as a circule with color #05CB63
  3. for traffic signs, could potentially even get the sprite icons that match the value
  4. for map feature points, the same as traffic signs, could even show sprites

cbeddow avatar Aug 18 '21 13:08 cbeddow

Sprites are available here, under the package for objects and for traffic signs: https://github.com/mapillary/mapillary_sprite_source

cbeddow avatar Aug 18 '21 13:08 cbeddow