I found in the help pages a quick blurb about using two lat/long
points to make a bounding box for the location (as opposed to setting
a geocode/address and radius) - it can be found here:
http://code.google.com/apis/base/docs/2.0/attrs-queries.html#LocDatQuer

I am using this with Google Maps so that is exactly what I want - only
showing the items within the part of my map being displayed.

However, I can't seem to get the query right - as I keep tweaking I
either get no results or an error that says

<errors>
<error type="request" reason="Invalid query: illegal area
specification; expected location"/>
</errors>

Here's my query:
http://www.google.com/base/feeds/snippets/?bq=[item%20type:Housing][listing%20type:For%20Sale][location:%40%2B42.4648-083.6997...%40%2B42.56522-083.8051]

I have tried many things - switching if the North East corner or the
South West corner go first, switching lat and long order, taking off
decimal point, etc. On the ones that I KNOW are incorrect I get a 0
results returned. On the queries I think are correct according to the
above documentation I get the error about illegal area specification.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to google-base-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-base-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to