Hello! I try to get all postcodes from a area like "Munich". I tried:
but the result is just empty. Any ideas how to do it? What I need are just the postcodes itself. asked 07 Feb '13, 13:39 wuschba |
Yes, please use "recurse type='up'" instead.
Postal code boundaries are made of ways which in turn are made of nodes, so there is no direct connection between the nodes and the relations. For that reason, the recurse node-relation doesn't find anything. By contrast, recurse "up" searches also for these indirect memberships. answered 08 Feb '13, 07:42 Roland Olbricht Any idea why this won't work in Austria? Apetlon, 3600105619, should have the postcodes: 7132,7143,7161 but the result of the query
stays empty.
(21 Feb '13, 13:57)
wuschba
Got a 2nd problem: The node for "Ingolstadt" gives me these postcodes: <tag k="postal_code" v="85049,85051,85053,85055,85057"/> But doing your query on 3600062381, I get much more postcodes. What might be the problem?
(21 Feb '13, 14:08)
wuschba
|