osm-navigation-map
osm-navigation-map copied to clipboard
Feed for Mapillary Objects
Lets start thinking about how we can get a feed going with the latest detected objects from Mapillary. The database lookup would be quite expensive. So maybe we can cache something every hour and send back through an API.
We are rewriting our v3 API to use netflix falcor. Is that something you would be able to consider using for getting data from the feed. We will have an easier API REST API as a part of v3. But falcor will give you more abilities to tweak your requests.
@gyllen this will be super useful to add to a tasking tool like to-fix for mappers to review. How we would use it immediately, is to download a dump of restrictions and review each of them for updating OSM.
@batpad @geohacker any specific preference on the API?
For a start being able to grab things in a bbox. But I'll think more.
@geohacker @planemad Im trying to simplify our spatial APIs at Mapillary and I have this idea that everything should be able to be served by tiles.In the bbox case would it be possible (if we had filters on our vector tiles). To create a small java script tool that had the following API
getObjects(vector_tile_url, filters, bbox)
What this tool then would do is just download the appropriate vector tiles and give back the information thats inside the bbox.
Obviously this will not work for the whole world but for bbox:es I think it makes sense.
everything should be able to be served by tiles
@gyllen this should be alright. I think if you are going serve this as tiles, then I don't think we need to worry about a bbox filter right now. x/y/z will most likely take care of that requirement for use in something like to-fix.
@planemad what do you think?
@gyllen Until the v3 api is ready, is there a good way for us to get a JSON dump of all detected objects?
@ajithranka The vector tile layer for objects are ready though. The API is specified in now closed issue #36. Would you be able to create a dump by using vector tiles on level 14 there? This will be for smaller areas though which you can scan frequently. Im still not 100% on using vector tiles as the only way to get spatial information so let me know if you bump into any problems.
I also talked to @planemad about giving you a big dump with all objects for analysis, we can also do that but I think thats another issue. What format would you prefer, I think there are at least a couple of million objects in the dump.
@gyllen A dump of all detected objects as a JSON file would be the easiest for me to get started with. Perhaps, something similar to what https://a.mapillary.com/#get-searchimor returns.
@planemad @ajithranka Would you guys be up for a Skype call today, I want to start sketching a more permanent solution.
@gyllen That would be great! It's a little late for us today; do you mind if we setup some time tomorrow?
@ajithranka np problem whenever you guys have time. @planemad should have my email. Im on PST but I start working at 6am
start working at 6am
😮
Hey, adding myself here - would like to be on this call ..