-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Returning coordinates at the correct side of the street #1605
Comments
Have a look at https://github.com/pelias/interpolation |
Isn't that what I've done when installing Pelias?? |
Pelias is composed of several smaller components, the interpolation service is a SQLite database which is built independently of the elasticsearch index. So while the interpolation database preserves the side of the street (what is called 'parity' in the SQLite database) it's not exposed to other services as this requirement has never been requested before. If you have installed Pelias using the I recommend you have a look in the |
Out of curiosity; how do you define 'left' and 'right'? |
I've seen the parity thing. Is there a way to find out on whick side the linestring starts and then define left or right? |
No problem, please close this issue if you found a solution. |
Like you mentioned, you could (for instance) select the most southerly point as the starting point, it would make the calculation deterministic but I don't think that would guarantee that Argentine addresses are given the correct parity. I was wondering if the Argentinian authority has some sort of official policy in this regard about which is the start and the end of a street? |
Use-cases
Our team wants to categorize houses according to their census tract, based on the people's address. Most census tracts (at least in Argentina's big cities) are defined by 2 o 3 squares and use streets as delimiters. Therefore, being able to determine on which side of the street a house is is key.
Proposal
I don't even know if it is possible to return the side of the road based on the address, but in Argentina (and I think in some other countries too), one side of a street is even while the other is odd. Also, other geocoders like Nominatim (or Google Maps), returns the coordinates on the correct side of the street.
(the yellow dots are extracted from Nominatim, the red ones from Pelias, and the green lines are the census tracts. There are fewer because we are still running our queries, but by checking their info, some should be on a side and the rest on the other).
Thanks for the attention and sorry for the poor english :)
The text was updated successfully, but these errors were encountered: