'blended' in the GeoSearch anomaly?

0 views
Skip to first unread message

barryhunter

unread,
May 22, 2008, 6:35:48 AM5/22/08
to Google AJAX API
Being playing with the very quietly introduced exposure of the Google
'GeoWeb' index in the AJAX API.

However not sure that 'blended' is working as well as it should?

I put together a basic 'explorer' just to see the json result from the
HTTP method easier
http://www.nearby.org.uk/google/geoweb_explorer.php

and just click Submit, the example doesnt work with blended, just
returning a single geocode (which is nowhere near the supplied lat/
long)


Another example:
http://www.nearby.org.uk/google/geoweb_explorer.php?q=herne+bay&sll=51%2C0&mrt=blended
compare with specifying kmlonly:
http://www.nearby.org.uk/google/geoweb_explorer.php?q=herne+bay&sll=51%2C0&mrt=kmlonly


Is there anything I should be doing differently? Thanks

Ben Lisbakken

unread,
May 22, 2008, 2:16:19 PM5/22/08
to Google-AJAX...@googlegroups.com
Barryhunter --

I just tried it and it looks like it's providing the same results that our normal maps are providing.  I tried it and here's what I got (http://maps.google.com/maps?near=%2B52%C2%B0+28%27+10.30%22,+-3%C2%B0+36%27+8.45%22+(52.469529,+-3.602348)&geocode=&q=bridge&f=l&ie=UTF8&z=11) which includes the same first 4 results as your example.

Your explorer tool is pretty useful.  Another thing you can do is use Firebug and copy/paste the JSON results into the console, and wrap it in an eval, like this:
eval(jsonResults);
Then you can explore the results in Firebug.  Checkout my tutorial (http://code.google.com/support/bin/answer.py?answer=94630&topic=11530)

-Ben

Barry Hunter

unread,
May 22, 2008, 2:26:18 PM5/22/08
to Google-AJAX...@googlegroups.com
Thanks for the reply!

How curious, yes, the 'bridge' example does now return some results.
Previously it was the single geocode (in Texas!) that you get with
localonly - others verified it so it wasn't just me!
But the "herne bay" example is still only a single result on blended,
maybe its just the geoindex rippling around the data centers?

(Nice idea too about Firebug, never thought of that - in my case
aiming towards using in PHP (eg to create KML) - so it was just a you
to see what get)

--
Barry

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

Ben Lisbakken

unread,
May 22, 2008, 2:35:07 PM5/22/08
to Google-AJAX...@googlegroups.com
On Thu, May 22, 2008 at 11:26 AM, Barry Hunter <barryb...@googlemail.com> wrote:

Thanks for the reply!

How curious, yes, the 'bridge' example does now return some results.
Previously it was the single geocode (in Texas!) that you get with
localonly - others verified it so it wasn't just me!

I guess I'll just have to take your word for it :)
 

But the "herne bay" example is still only a single result on blended,
maybe its just the geoindex rippling around the data centers?

(Nice idea too about Firebug, never thought of that - in my case
aiming towards using in PHP (eg to create KML) - so it was just a you
to see what get)

You can also console.log or console.debug me the eval'd JSON.  I just love Firebug too much...

Thanks for stopping by and reporting the weird results.  Let us know if you find more.

-Ben
 
Reply all
Reply to author
Forward
0 new messages