mapillary / mapillary-python-sdk

A Python 3 library built on the Mapillary API v4 to facilitate retrieving and working with Mapillary data.
MIT License
42 stars 18 forks source link

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

Open Rubix982 opened 3 years ago

Rubix982 commented 3 years ago

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 commented 3 years ago

To investigate how osmnx generates images.

fiolum is suggested because of OS compatibility.

cbeddow commented 3 years ago

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 commented 3 years ago

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