Hi,

I am trying to get housing item values by putting latitude and
longitude values in the search pattern, but I am not able to.

The URL is :
http://www.google.com/base/feeds/snippets/?max-results=100&bq=%5Bitem+type%3A+housing%5D%5Blocation%3A%40%2B40.706232-74.008713%5D

and search pattern is : [item type: housing][location:@
+40.706232-74.008713]

The sample code:

                String SEARCH_STRING1 ="[item type: housing][location:@
+40.706232-74.008713]";
                GoogleBaseService service = new GoogleBaseService("Sample",
DEVELOPER_KEY);

                GoogleBaseQuery query = new 
GoogleBaseQuery(FeedURLFactory.getDefault
().getSnippetsFeedURL());
                query.setGoogleBaseQuery(SEARCH_STRING1);
                query.setMaxResults(10);
                GoogleBaseFeed feed = service.query(query);

Could you please provide me the solution, if there is an alternate way
to search with Geopoints (Latitude and Longitude)?.

Thanks,
snm
--~--~---------~--~----~------------~-------~--~----~
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