I'm using javageomodel to search for locations within a proximity of a
given point
I have a JdoLocation class with fields (with appropriate getter and
setter methods) as follows:
@Persistent @Latitude private double latitude;
@Persistent @Longitude private double longitude;
And I do my search like this:
GeocellQuery baseQuery = new GeocellQuery();
List<JdoLocation> locations = GeocellManager.proximitySearch(
new Point(myLatitude, myLongitude), 100, 160000,
JdoLocation.class, baseQuery, persistenceManager, 13);
My data is stored in the GAE Datastore and I am able to get results if
I search for a lat/lon that exactly matches one in the datastore - but
will not find other results regardless of the maxDistance and/or
resolution.
Also - to clarify - the maxDistance is in Meters - correct?
Can anyone help me out or offer some advice?