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

When a user's first change is to a way, it can't be geolocated #14

Open
iandees opened this issue Jul 7, 2014 · 3 comments
Open

When a user's first change is to a way, it can't be geolocated #14

iandees opened this issue Jul 7, 2014 · 3 comments

Comments

@iandees
Copy link
Owner

iandees commented Jul 7, 2014

Since the plugin only tracks minutely diffs and doesn't make any other API queries, it does not have any lat/lon coordinates to reverse geolocate on when a user's first change is made to a way or relation.

For the case of a way, we should probably query the API for that way (using e.g. /api/0.6/way/<id>/full) and reverse geocode using the first node in that way.

For relations, we probably shouldn't attempt to reverse geocode it.

@Firefishy
Copy link
Contributor

Why not do the same for relations?

@iandees
Copy link
Owner Author

iandees commented Jul 7, 2014

Which node (from which way) would we use? Just the first I suppose.

@Firefishy
Copy link
Contributor

Yeah, just the first node. Sure relations can be silly large, but just looking for an estimate.

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

2 participants