Skip to content

How is geograpy3 determining locations from text? #61

Answered by WolfgangFahl
dprice-int asked this question in Q&A
Discussion options

You must be logged in to vote

There might be places in the US, Australia and Moldova that are named "Egypt", "Russia", "India" or "Uzbekistan".
E.g.

select * from city_labels where label in ("Russia")

will return

You might want to be more specific and use the locator interface instead and explicitly look for the country information. The get_place_context is outdated and doesn't have this capability.

OSMPythonTools.nominatim is also an excellent option.
see https://github.com/WolfgangFahl/ConferenceCor…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dprice-int
Comment options

Answer selected by dprice-int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants