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 <slisj...@gmail.com> 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 <qmha...@gmail.com> 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 <slisj...@gmail.com> 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
> google-base-data-api@googlegroups.com
> > > .
> > > To unsubscribe from this group, send email to
> > > google-base-data-api+unsubscr...@googlegroups.com<google-base-data-api%2bunsubscr...@googlegroups.com><google-base-data-api%2Bun
> subscr...@googlegroups.com>
> > > .
> > > 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 google-base-data-api@googlegroups.com
> .
> To unsubscribe from this group, send email to
> google-base-data-api+unsubscr...@googlegroups.com<google-base-data-api%2bunsubscr...@googlegroups.com>
> .
> 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 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