Wow. My eyes really have glazed over. I apologize! When I copied my
original link to remove the "." I didn't realize it had added in a
space where the line break was. Your solution works perfectly - thank
you so much!!!!!

Jenn

On Jul 20, 10:50 pm, Michael Hao <[email protected]> wrote:
> The following worked fine for 
> me: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]
>
> All I did was to remove one dot from your original url.
>
> Michael
>
>
>
>
>
> On Tue, Jul 20, 2010 at 10:37 PM, Jenn <[email protected]> wrote:
> > Thanks!
>
> > However, when I just stick the link I gave above in a browser and
> > change it to 2 dots, I now get "Invalid query: cannot map type set to
> > a single type"
>
> > I've switched the coordinates around a few times again (thinking I
> > gave them in the wrong order) but get that same error.
>
> > Is there anything else wrong with that query that my glazed over eyes
> > are missing?
>
> > Thanks,
> > Jenn
>
> > On Jul 19, 12:44 am, Michael Hao <[email protected]> wrote:
> > > You seem to have three dots "..." between the two lat/long pairs. Change
> > to
> > > two dots ".." then it should work.
>
> > > On Sun, Jul 18, 2010 at 8:38 AM, Jenn <[email protected]> wrote:
> > > > 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
> > [email protected]
> > > > .
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-base-data-api%2Bun
> > > >  [email protected]><google-base-data-api%2Bun
> > [email protected]>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-base-data-api?hl=en.
>
> > > --http://www.NeibEx.com
> > > - Explore Your Neighborhood
>
> > --
> > 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 [email protected]
> > .
> > To unsubscribe from this group, send email to
> > [email protected]<google-base-data-api%2Bun 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-base-data-api?hl=en.
>
> --http://www.NeibEx.com
> - Explore Your Neighborhood

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to