Re: newbie question: parsing street name from address

2007-06-22 Thread John Machin
On Jun 23, 1:43 am, Eric <[EMAIL PROTECTED]> wrote: > On Jun 21, 6:03 pm, John Machin <[EMAIL PROTECTED]> wrote: > > > > > On Jun 22, 4:43 am, Eric <[EMAIL PROTECTED]> wrote: > > > > On Jun 21, 9:47 am, cjl <[EMAIL PROTECTED]> wrote: > > > > > P: > > > > > I am working on a project that requires ge

Re: newbie question: parsing street name from address

2007-06-22 Thread Eric
On Jun 21, 6:03 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Jun 22, 4:43 am, Eric <[EMAIL PROTECTED]> wrote: > > > > > On Jun 21, 9:47 am, cjl <[EMAIL PROTECTED]> wrote: > > > > P: > > > > I am working on a project that requires geocoding, and have written a > > > very simple geocoder that uses

Re: newbie question: parsing street name from address

2007-06-21 Thread John Machin
On Jun 22, 4:43 am, Eric <[EMAIL PROTECTED]> wrote: > On Jun 21, 9:47 am, cjl <[EMAIL PROTECTED]> wrote: > > > > > P: > > > I am working on a project that requires geocoding, and have written a > > very simple geocoder that uses the Google service. > > > I would like to be able to extract the name

Re: newbie question: parsing street name from address

2007-06-21 Thread Eric
On Jun 21, 9:47 am, cjl <[EMAIL PROTECTED]> wrote: > P: > > I am working on a project that requires geocoding, and have written a > very simple geocoder that uses the Google service. > > I would like to be able to extract the name of the street from the > addresses in my data, however they vary sig

Re: newbie question: parsing street name from address

2007-06-21 Thread Paul McGuire
On Jun 21, 8:47 am, cjl <[EMAIL PROTECTED]> wrote: > P: > > I am working on a project that requires geocoding, and have written a > very simple geocoder that uses the Google service. > > I would like to be able to extract the name of the street from the > addresses in my data, however they vary sig

Re: newbie question: parsing street name from address

2007-06-21 Thread jay graves
On Jun 21, 8:47 am, cjl <[EMAIL PROTECTED]> wrote: > I would like to be able to extract the name of the street from the > addresses in my data, however they vary significantly. Here a some > examples: > > 25 Main St > 2500 14th St > 12 Bennet Pkwy > Pearl St > Bennet Rd and Main st > 19th St > > As

RE: newbie question: parsing street name from address

2007-06-21 Thread Bell, Kevin
Look at the string.split() built-in, then you could use s.isalpha & s.isdigit to test each word... regular expressions would be the way to go, but that's a bit to chew on if you're getting started with string methods. You'll need to look at list indexing as well. Kev SLC DOT GIS -Original M