[Developers] query for everything that has a geocode

Eric Hanson elh at cs.pdx.edu
Mon Jan 28 06:30:34 UTC 2008


Hi,

I've written a query that asks for all geocodes:

{
   "query" : [
     {
       "*" : null,
       "/location/geocode/latitude" : {
         "*" : null
       },
       "/location/geocode/longitude" : {
         "*" : null
       },
       "limit" : 10,
       "type" : "/location/geocode"
     }
   ]
}

Works fine.  Now I want to ask for the name and lat/long of all things
that have a property that has a geocode as a value -- everything with a
geocode.  Is this possible?

Thanks,
Eric



More information about the Developers mailing list