Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Structured Address Parsing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel  
View profile  
 More options May 19 2008, 5:07 pm
From: Daniel <danny.t...@gmail.com>
Date: Mon, 19 May 2008 14:07:47 -0700 (PDT)
Local: Mon, May 19 2008 5:07 pm
Subject: Structured Address Parsing
Since the contacts API lamentably doesn't' support structured
addresses for Contacts, what are some potential solutions for parsing
the address?  What are y'all using?

I do NOT want to write an address parser its too hard and tricky and a
big tangent from what I'm working on.

I haven't found any open source parser (in java).

One could use GeoCoding services to do this, in fact, Google's own
service seems apt

http://code.google.com/apis/maps/documentation/services.html#Geocodin...

And I was quite excited until I read

1. its a violation of the Terms of Service to use it for anything
other than showing it on a map
2. its a violation of the Terms of Service to use it for a standalone
app
3. you have to call it from a domain, so I'd need to run a middle man
program from a domain to make those requests for all my clients.

Alas.

Thoughts?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zindus Development  
View profile  
 More options May 19 2008, 10:46 pm
From: Zindus Development <google....@zindus.com>
Date: Tue, 20 May 2008 12:46:52 +1000
Local: Mon, May 19 2008 10:46 pm
Subject: Re: Structured Address Parsing
Daniel, an excellent question.

The next release of Zindus will have an experimental feature to encode
Thunderbird's address fields as XML in the Google field.  Something (but
not exactly) along the lines of this:
http://www.zindus.com/blog/2008/04/30/release-075-and-thunderbird-goo...

This might be minimally adequate for a few people, but it's unlikely to
work for everyone.

Google: No doubt in the internal Google tech spec for the contacts api
there's a heading titled "Interoperability".  Can you drop a hint on
what it says about postal addresses ?

Anyone else?

Leni.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel  
View profile  
 More options May 20 2008, 1:50 am
From: Daniel <danny.t...@gmail.com>
Date: Mon, 19 May 2008 22:50:37 -0700 (PDT)
Local: Tues, May 20 2008 1:50 am
Subject: Re: Structured Address Parsing
hehe, I've considered most, if not all, of those options.  It makes me
feel better to see other people wracking their brain.  I'm also trying
to maintain the gmail "map" link next to the address.  If you stick in
labels for "address:1" it breaks mapping, as would xml also, I
imagine.

Using either commas or line feeds works, except you have to assume the
full address is always entered, and I doubt many people use "address
2" so that will throw it all off.

I'm tentatively thinking of going with a comma based solution, with
the requirement you *have* to have all the commas, or it syncs into
the wrong field.  So if you just had the City entered, it would be

,,City,Zip,Country

and the full address would be

address 1, address 2, city, state, zip, country

if you remove any of them, you have to leave the , in place.  Google
will still map those addresses correctly, it probably ignores
extraneous punctuation.

It's all so dirty. :(

On May 19, 7:46 pm, Zindus Development <google....@zindus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zindus Development  
View profile  
 More options May 20 2008, 2:13 am
From: Zindus Development <google....@zindus.com>
Date: Tue, 20 May 2008 16:13:16 +1000
Local: Tues, May 20 2008 2:13 am
Subject: Re: Structured Address Parsing

Daniel wrote:
> I'm tentatively thinking of going with a comma based solution,

Isn't this fragile?  What if there's a comma that has to be part of the
address?  eg. Apartment 3,367 Noname st?

 > It's all so dirty. :(

Yes.  The contrast with the rest of the api is remarkable.

Leni.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Nichols  
View profile  
 More options May 20 2008, 4:53 am
From: "Jeff Nichols" <j...@wateree.net>
Date: Tue, 20 May 2008 10:53:05 +0200
Local: Tues, May 20 2008 4:53 am
Subject: Re: Structured Address Parsing

>  > It's all so dirty. :(

> Yes.  The contrast with the rest of the api is remarkable.

Indeed.  Of course the structured name vs. free-form name is also
quite tricky, but it's orders of magnitude simpler than the address
issue.

What really stinks is that Google has the power to do this very
difficult task for us, but we (app developers) aren't allowed to take
advantage of that.  Sure would be great if Google added an optional
argument when requesting contact feeds to provide structured instead
of free-form addresses.

Jeff

ps.
I completely understand why Google went with free-form addresses.
They're much nicer for the end-user and Google of course has the
computing, searching and mapping power to handle them.  It's just that
most other contact managers use only structured addresses.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel  
View profile  
 More options May 20 2008, 12:34 pm
From: Daniel <danny.t...@gmail.com>
Date: Tue, 20 May 2008 09:34:23 -0700 (PDT)
Local: Tues, May 20 2008 12:34 pm
Subject: Re: Structured Address Parsing
Good point.  I think I can either require there be 5 (or X) commas for
the delimiters with a strict rule on how that works, and if it doesn't
match, it all gets shoved into Address 1.  I'm syncing to a mobile
device using the PIM model, and there is room in that field for the
full address, it just won't map correctly, and may not work with other
unknown apps either.

On May 19, 11:13 pm, Zindus Development <google....@zindus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Khash  
View profile  
 More options May 20 2008, 3:02 pm
From: Khash <khash.saj...@gmail.com>
Date: Tue, 20 May 2008 12:02:35 -0700 (PDT)
Local: Tues, May 20 2008 3:02 pm
Subject: Re: Structured Address Parsing
Here is my name parsing code in C#:

http://sajadi.co.uk/dflat/2008/05/parse-free-text-to-names/

On May 20, 5:34 pm, Daniel <danny.t...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zindus Development  
View profile  
 More options Jan 28 2009, 1:33 am
From: Zindus Development <google....@zindus.com>
Date: Wed, 28 Jan 2009 17:33:47 +1100
Local: Wed, Jan 28 2009 1:33 am
Subject: Re: Structured Address Parsing
Just a follow up to this old thread - I filed a bug for tracking purposes:
http://code.google.com/p/gdata-issues/issues/detail?id=1004

Leni.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julian (Google)  
View profile  
 More options Jan 28 2009, 11:30 am
From: "Julian (Google)" <j...@google.com>
Date: Wed, 28 Jan 2009 08:30:03 -0800 (PST)
Local: Wed, Jan 28 2009 11:30 am
Subject: Re: Structured Address Parsing
This was added as a Feature Request.

Thanks you for the feedback.
Julian.

On Jan 28, 6:33 am, Zindus Development <google....@zindus.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »