I am tired of seeking a solution. :/ Help plz. public | planet_osm_line I've seen a lot of docs but yet I could't do it. |
There is not necessarily a direct link between houses and streets in OSM. The following situations are frequent:
Unfortunately addr:street tags are not imported by default when you run osm2pgsql; you need to add that column to the config file or import with
You'll probably also want to check for
This will of course also find houses belonging to other streets within the specified distance. Thank you so much! SELECT way FROM planet_osm_polygon WHERE tags->'addr:street'='My Street' it works for me
(12 Apr '16, 10:08)
SpbSprut
|