Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed for Mapillary Objects #40

Open
gyllen opened this issue Jul 26, 2016 · 12 comments
Open

Feed for Mapillary Objects #40

gyllen opened this issue Jul 26, 2016 · 12 comments

Comments

@gyllen
Copy link

gyllen commented Jul 26, 2016

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.

@planemad
Copy link
Contributor

planemad commented Aug 1, 2016

@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?

@geohacker
Copy link
Contributor

For a start being able to grab things in a bbox. But I'll think more.

@gyllen
Copy link
Author

gyllen commented Aug 1, 2016

@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.

@geohacker
Copy link
Contributor

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?

@ajithranka
Copy link
Contributor

@gyllen Until the v3 api is ready, is there a good way for us to get a JSON dump of all detected objects?

@gyllen
Copy link
Author

gyllen commented Aug 2, 2016

@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.

@ajithranka
Copy link
Contributor

@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.

@gyllen
Copy link
Author

gyllen commented Aug 2, 2016

@planemad @ajithranka Would you guys be up for a Skype call today, I want to start sketching a more permanent solution.

@ajithranka
Copy link
Contributor

ajithranka commented Aug 2, 2016

@gyllen That would be great! It's a little late for us today; do you mind if we setup some time tomorrow?

@gyllen
Copy link
Author

gyllen commented Aug 2, 2016

@ajithranka np problem whenever you guys have time. @planemad should have my email. Im on PST but I start working at 6am

@planemad
Copy link
Contributor

planemad commented Aug 3, 2016

start working at 6am

😮

@batpad
Copy link

batpad commented Aug 3, 2016

Hey, adding myself here - would like to be on this call ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants