Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Upcoming Change: Suggested Bounding Box Included in Geocoder Output
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
  19 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
 
pamela (Google Employee)  
View profile  
 More options Sep 4 2008, 3:41 am
From: "pamela (Google Employee)" <pamela....@gmail.com>
Date: Thu, 4 Sep 2008 00:41:01 -0700 (PDT)
Local: Thurs, Sep 4 2008 3:41 am
Subject: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hey developers-

 We have a pretty cool change coming out soon for the API Geocoder.
Now, in the KML/JSON outputs, you'll also get information about the
recommended bounding box associated with a geocode. You can then use
that along with map.getBoundsZoomLevel(GLatLngBounds) to set an
appropriate center and zoom after a geocode.

The KML structure would look something like this (with bogus latlngs):
<kml xmlns="http://earth.google.com/kml/2.0">
<Response>
 <name>US</name>
 <Status>
  <code>200</code><request>geocode</request>
 </Status>
 <Placemark id="p1">
  <address>USA</address>
  <AddressDetails>...</AddressDetails>
  <ExtendedData>
   <LatLonBox xmlns="http://maps.google.com/geo?output=kml">
    <north>0.000300</north>
    <south>0.000100</south>
    <east>0.000400</east>
    <west>0.000200</west>
   </LatLonBox>
   </ExtendedData>
   <Point><coordinates>0.000000,0.000000,0</coordinates></Point></
Placemark>
 </Response>
</kml>

And here's a real JSON output:
{"name":"-122.073212,37.400665","Status":{"code":
200,"request":"geocode"},"Placemark":[{"id":"p1","address":"Whisman
Elementary, United States","AddressDetails":{"Country":
{"CountryNameCode":"US","CountryName":"United States","AddressLine":
["Whisman Elementary"]},"Accuracy": 1},"ExtendedData":{"LatLonBox":
{"north":37.477838,"south":
37.391718,"east":-122.059105,"west":-122.115674}},"Point":
{"coordinates":[-122.072382,37.428434,0]}}

And some sample code for using the JSON response in
GClientGeocoder.getLocations:
var exData = location.Placemark[0].ExtendedData;
var bounds = exData ? exData.LatLonBox : undefined;
if (bounds) {
  var llbounds = new GLatLngBounds(
                new GLatLng(bounds.south, bounds.west),
                new GLatLng(bounds.north, bounds.east));
  map.setCenter(point, map.getBoundsZoomLevel(llbounds));

}

Anyway, just wanted to give you a heads up, since it affects the HTTP
geocoder output. Pending any technical or legal obstacles, the change
should be out in a few weeks.

- pamela


 
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.
marcelo  
View profile  
 More options Sep 4 2008, 3:49 am
From: marcelo <marcelo...@hotmail.com>
Date: Thu, 4 Sep 2008 00:49:04 -0700 (PDT)
Local: Thurs, Sep 4 2008 3:49 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Great!

Now that you have an <ExtendedData> section, you could also add the
flat structure mentioned in
http://code.google.com/p/gmaps-api-issues/issues/detail?id=606
and
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c...

:-)

<ExtendedData>
  <LatLonBox>
...
  <LatLonBox>
  <flatPlacemarkData>
...
  </flatPlacemarkData>
</ExtendedData>

--
Marcelo - http://maps.forum.nu
--


 
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.
Kevin Menard  
View profile  
 More options Sep 30 2008, 8:34 am
From: Kevin Menard <kevin.men...@snapmylife.com>
Date: Tue, 30 Sep 2008 05:34:18 -0700 (PDT)
Local: Tues, Sep 30 2008 8:34 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi Pamela,

Will this be available through the static API or just the JavaScript
one?  I'd assume the former, but wondering as we're in need of
determining a bounding box for a static maps project.

Thanks,
Kevin

On Sep 4, 3:41 am, "pamela (Google Employee)" <pamela....@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.
pamela (Google Employee)  
View profile  
 More options Sep 30 2008, 1:18 pm
From: "pamela (Google Employee)" <pamela...@gmail.com>
Date: Tue, 30 Sep 2008 10:18:09 -0700
Local: Tues, Sep 30 2008 1:18 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Kevin-
This would be available in the HTTP Geocoder output and JS/Flash
Geocoder functions. (I assume by static you mean HTTP).

Marcelo-
Interesting idea.

By the way, we're waiting another few weeks before releasing this change.

- pamela

On Tue, Sep 30, 2008 at 5:34 AM, Kevin Menard


 
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.
Kevin Menard  
View profile  
 More options Oct 28 2008, 9:16 am
From: Kevin Menard <kevin.men...@snapmylife.com>
Date: Tue, 28 Oct 2008 06:16:59 -0700 (PDT)
Local: Tues, Oct 28 2008 9:16 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi Pamela,

Correct.  Apologies for the loose terminology.

Do you have a status update on this by chance?  We've been holding off
on rolling our own bounding box calculation, figuring Google could do
it better than we could.  But, if it's going to be a while longer,
we'll probably have to pull the trigger.

Thanks,
Kevin

On Sep 30, 1:18 pm, "pamela (Google Employee)" <pamela...@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.
pamela (Google Employee)  
View profile  
 More options Nov 2 2008, 10:32 pm
From: "pamela (Google Employee)" <pamela...@gmail.com>
Date: Mon, 3 Nov 2008 10:32:44 +0700
Local: Sun, Nov 2 2008 10:32 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output

Hi Kevin-
We expect the change to go out in the next few weeks, but we, of course,
cannot make guarantees.
- pamela

On Tue, Oct 28, 2008 at 8:16 PM, Kevin Menard
<kevin.men...@snapmylife.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.
Erik Frey  
View profile  
 More options Dec 7 2008, 10:31 pm
From: Erik Frey <erikf...@gmail.com>
Date: Sun, 7 Dec 2008 19:31:10 -0800 (PST)
Local: Sun, Dec 7 2008 10:31 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi Pamela,

Would just like to chime in that this would be a very useful feature.
I hope it emerges one day!

Erik

On Nov 3, 3:32 am, "pamela (Google Employee)" <pamela...@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.
pamela (Google Employee)  
View profile  
 More options Dec 7 2008, 11:07 pm
From: "pamela (Google Employee)" <pamela...@gmail.com>
Date: Mon, 8 Dec 2008 15:07:02 +1100
Local: Sun, Dec 7 2008 11:07 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output

It's out there now. Enjoy!
http://maps.google.com/maps/geo?output=jsonl&oe=utf-8&q=St%20Lawrence...

- pamela


 
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.
Mike Williams  
View profile  
 More options Dec 8 2008, 2:17 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Mon, 8 Dec 2008 07:17:34 +0000
Local: Mon, Dec 8 2008 2:17 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Wasn't it pamela (Google Employee) who wrote:

>It's out there now. Enjoy!
>http://maps.google.com/maps/geo?output=jsonl&oe=utf-8&q=St%20Lawrence...
>A56kq5sfjcZMRRryETHXESy7HEgXcEqlML9TMjhwQ&callback=_xdc_._2fltguupg

I don't see any bounding box information in there.

--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


 
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.
Neil.Young  
View profile  
 More options Dec 8 2008, 3:36 am
From: "Neil.Young" <Neil.Yo...@Freenet.de>
Date: Mon, 08 Dec 2008 09:36:19 +0100
Local: Mon, Dec 8 2008 3:36 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
I don't see it either. A download box pops up... Using only parts of the
url doesn't help either..

pamela (Google Employee) schrieb:


 
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.
marcelo  
View profile  
 More options Dec 8 2008, 9:58 am
From: marcelo <marcelo...@hotmail.com>
Date: Mon, 8 Dec 2008 06:58:41 -0800 (PST)
Local: Mon, Dec 8 2008 9:58 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
No bounding box to be seen, and no flat structure either. :-(

Furthermore, the query is "St. Lawrence Ave.", but the address
returned is "Luton Ave."
Did that street change name recently? (Pamela?)

--
Marcelo - http://maps.forum.nu
--

On Dec 8, 9:36 am, "Neil.Young" <Neil.Yo...@Freenet.de> 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.
mapperzUK  
View profile  
 More options Dec 8 2008, 10:19 am
From: mapperzUK <mapp...@googlemail.com>
Date: Mon, 8 Dec 2008 07:19:44 -0800 (PST)
Local: Mon, Dec 8 2008 10:19 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
lat&lng back-to-front too
1.4312610, 51.3558470

should be
51.3558470,1.4312610

Flat structure would be good.

Bounding Box would be good.

Mapperz
http://mapperz.blogspot.com/

On Dec 8, 2:58 pm, marcelo <marcelo...@hotmail.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.
Barry Hunter  
View profile  
 More options Dec 8 2008, 10:32 am
From: "Barry Hunter" <barrybhun...@googlemail.com>
Date: Mon, 8 Dec 2008 15:32:27 +0000
Local: Mon, Dec 8 2008 10:32 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
2008/12/8 mapperzUK <mapp...@googlemail.com>:

> lat&lng back-to-front too
> 1.4312610, 51.3558470

Actully I dont beleive so, its always been like that. The JSON format
is based on KML - which has it that way round.

http://code.google.com/apis/kml/documentation/kmlreference.html#coord...

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


 
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.
Guillaume Carbonneau  
View profile  
 More options Dec 8 2008, 1:16 pm
From: Guillaume Carbonneau <guillaume.carbonn...@gmail.com>
Date: Mon, 8 Dec 2008 10:16:23 -0800 (PST)
Local: Mon, Dec 8 2008 1:16 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi Pamela,

I'm really interested in using this feature. Hope it turns out ok!

Guillaume

On Dec 7, 11:07 pm, "pamela (Google Employee)" <pamela...@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.
pamela (Google Employee)  
View profile  
 More options Dec 8 2008, 2:51 pm
From: "pamela (Google Employee)" <pamela...@gmail.com>
Date: Tue, 9 Dec 2008 06:51:53 +1100
Local: Mon, Dec 8 2008 2:51 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output

Hey developers-
Apologies, it appears that I'm hitting an internal version of the geocoder.
I'll look into that and the release date for the bounding box change
externally.

- pamela

On Tue, Dec 9, 2008 at 5:16 AM, Guillaume Carbonneau <


 
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.
Guillaume Carbonneau  
View profile  
 More options Dec 19 2008, 2:50 pm
From: Guillaume Carbonneau <guillaume.carbonn...@gmail.com>
Date: Fri, 19 Dec 2008 11:50:44 -0800 (PST)
Local: Fri, Dec 19 2008 2:50 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi Pamela,

What's up with that feature?

Guillaume

On Dec 8, 2:51 pm, "pamela (Google Employee)" <pamela...@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.
pamela (Google Employee)  
View profile  
 More options Jan 4 2009, 7:35 pm
From: "pamela (Google Employee)" <pamela...@gmail.com>
Date: Mon, 5 Jan 2009 11:35:33 +1100
Local: Sun, Jan 4 2009 7:35 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
Hi developers -

We decided not to release the feature as early as we originally
thought we would. Because timelines often change like this, we don't
often pre-announce new features to developers. I did announce this
feature as there was some concern about adding additional elements
into the output that developers were parsing, and making sure they
were aware of such additions.

When this feature is actually introduced, I will post again.

- pamela

On Sat, Dec 20, 2008 at 6:50 AM, Guillaume Carbonneau


 
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.
pamela (Google Employee)  
View profile  
 More options Jan 7 2009, 10:21 pm
From: "pamela (Google Employee)" <pamela....@gmail.com>
Date: Wed, 7 Jan 2009 19:21:31 -0800 (PST)
Local: Wed, Jan 7 2009 10:21 pm
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output
This change is now live.

On Jan 5, 11:35 am, "pamela (Google Employee)" <pamela...@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.
Björn Brala  
View profile  
 More options Jan 8 2009, 2:41 am
From: "Björn Brala" <bbr...@gmail.com>
Date: Thu, 8 Jan 2009 08:41:44 +0100
Local: Thurs, Jan 8 2009 2:41 am
Subject: Re: Upcoming Change: Suggested Bounding Box Included in Geocoder Output

yay! :)

2009/1/8 pamela (Google Employee) <pamela....@gmail.com>

--
Bjorn Brala
----------------
GeoStart.nl- Google maps - Swis Webdesign

 
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 »