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

Describe coordinate as location on street near address #43

Closed
Framstag opened this issue Jun 22, 2016 · 2 comments
Closed

Describe coordinate as location on street near address #43

Framstag opened this issue Jun 22, 2016 · 2 comments
Labels
feature For issues and pull request that request or implement a new feature help wanted Signal that help of other is appreciated location For issues regarding location lookup

Comments

@Framstag
Copy link
Owner

Framstag commented Jun 22, 2016

LocationService allows to describe a geo coordinate in relation to objects in the database.

In this case describe a coordinate in relation to a street and an address.

Example:
"20 meters north of BlaBlaBla Street 14."

@Framstag Framstag added feature For issues and pull request that request or implement a new feature help wanted Signal that help of other is appreciated location For issues regarding location lookup labels Jun 22, 2016
@Framstag
Copy link
Owner Author

How to implement:

  • Get all types that have ADRESS set in the map.os file (TypeConfig.getTypes(), TypeInfo.getIndexAsLocation()).
  • Load from database all areas of these types in a given bounding box around the input coordinate
  • Find the closest area (area with the closest node?)
  • Describe location in relation to this area
  • Do a reverse lookup for the area via LocationService , to get their full address

@Framstag Framstag changed the title Describe coordinate as location on streat near address Describe coordinate as location on street near address Aug 14, 2016
@Framstag
Copy link
Owner Author

Implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature For issues and pull request that request or implement a new feature help wanted Signal that help of other is appreciated location For issues regarding location lookup
Projects
None yet
Development

No branches or pull requests

1 participant