[Chicago] Address parser?

Tom Printy tprinty at mail.edisonave.net
Fri Feb 22 16:24:04 CET 2008


Hi,

You might be able to do this with Yahoo!'s geocoder api. If you use the
freetext input it will spit back 

Latitude   The latitude of the location.   
Longitude   The longitude of the location.   
Address   Street address of the result, if a specific location could be
determined.   
City   City in which the result is located.   State   State in which the
result is located.   
Zip   Zip code, if known.   
Country   Country in which the result is located. 


Check out http://developer.yahoo.com/maps/rest/V1/geocode.html

Address parsing is a real pain, let somebody else do it.

On Fri, 2008-02-22 at 08:16 -0600, Lukasz Szybalski wrote:
> Hello,
> Could anybody point me to some kind of street address parser in python.
> 
> I am looking for something that can parse the address (123 N. Main
> Street, Chicago IL 60601) and return:
> street,
> city,
> state,
> zip
> optional: county.
> optional: apt number
> 
> I guess it would be heavy regular expression based but who knows.  I
> don't think Google has theirs available?
> 
> Anybody has or seen code like that?
> 
> Lucas
> 
> 



More information about the Chicago mailing list