You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2010-09-13 15:44:54

pandabaer
Member
Registered: 2010-09-13
Posts: 2

Check if Street - ZipCode combination exists with OpenStreetMap

Hi,
for a tool i am programming right now i need to check if certain combinations of zipcode and streetname exists.
After some search i thought that this might be possible with OpenStreetMap. So i downloaded the needed *.osm.bz2 and converted it into an postgre-sql database thanks to osmosis.
But when i am searching through the database for my street-names i often only often only find nodes or ways with the fitting street name as a name-tag but right now i cant see a way to make make a connection between the zip code and the streetname. Except there is a node that has the streetname as tagvalue and the postcode as value.
But somehow it has to be possible to connect street and zip because when i try the search on openstreetmap.org it can connect the street and the zipcode automatically also for ways, nodes without the needed tags.
Is a direct connection between any given node even the ones without postcode tags and its postalcode with the postgresql possible and i am just to stupid to see it or is that impossible?

Thanks for every answer

Offline

#2 2010-09-14 12:36:10

MikeN
Member
Registered: 2009-09-03
Posts: 328

Re: Check if Street - ZipCode combination exists with OpenStreetMap

Zip codes have not been entered into all of OSM in the US.  Zip codes are considered proprietary to the USPS.   The main OSM search page uses public sources from GeoNames, which contains an approximation of zip code locations based on TIGER.

As you note, some nodes have had zip codes added where known.  In practice, this will be difficult to collect unless there are enough people to define zip code boundaries based on where they live.

Offline

#3 2010-09-15 13:39:52

pandabaer
Member
Registered: 2010-09-13
Posts: 2

Re: Check if Street - ZipCode combination exists with OpenStreetMap

so this is going to be a lot more difficult than i thought smile

thanks for your answer
regards jonas

Offline

Board footer

Powered by FluxBB