[OSM-talk] features of a given type within bounding box

Carsten Gerlach daswaldhorn at gmx.de
Mon Apr 19 19:22:51 BST 2010


Hi,

Am Montag 19. April 2010 19:41:05 schrieb Dan Yamins:
> The call
>
> http://osmxapi.hypercube.telascience.org/api/0.6/node[addr:postcode][bbox=-
>74,40,-72,42]
>
> clearly does NOT produce the list of all zipcodes in new york city.

Well, you should try .../api/0.6/*[... (notice the *) to get also ways and 
relations, which contain the tag "addr:postcode". Some users tag the address 
information to the buildings and those are ways... And second point is, 
-74.25,40.4,-73.7,40.9 is the bounding box for NYC, or? Have a look at 
<http://www.openstreetmap.org/browse/relation/175905>

Greetings, Carsten



-- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.piranho.de/gpg.php
=========================================
www.stopptdievorratsdatenspeicherung.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100419/a6c3806a/attachment.pgp>


More information about the talk mailing list