Open GoogleCodeExporter opened 8 years ago
In logs of my GAE application, I can see many times the same line :
2011-08-02 02:34:28.115
com.beoui.geocell.GeocellManager proximitySearch: Discarding result
fr...................MyEntity@9e0916bc because distance 4849286.947752636m >
max distance 30000.0m
I 2011-08-02 02:34:28.115
com.beoui.geocell.GeocellManager proximitySearch: Discarding result
fr...................MyEntity@3627e9de because distance 4849286.947752636m >
max distance 30000.0m
I 2011-08-02 02:34:28.115
com.beoui.geocell.GeocellManager proximitySearch: Discarding result
fr...................MyEntity@ce46bd00 because distance 4849286.947752636m >
max distance 30000.0m
I 2011-08-02 02:34:28.115
com.beoui.geocell.GeocellManager proximitySearch: Discarding result
fr...................MyEntity@66659037 because distance 4849286.947752636m >
max distance 30000.0m
It's silly, the distance between my point (Marseille city) and each entity
seems to be the same...
Original comment by fabien.p...@gmail.com
on 2 Aug 2011 at 10:19
In my first post, you must putting : "int nbMaxResults = 20;" and no "int
nbMaxResults = 10000;"
Original comment by fabien.p...@gmail.com
on 2 Aug 2011 at 10:35
I am having same issue ... Did you solved it ?
Original comment by bha...@gmail.com
on 11 Sep 2011 at 10:36
[deleted comment]
Just to Give the details
using JPA
0.0.8 Version
Code
Point center = new Point(20.0, 12.4)
EntityManager em = EMF.get().createEntityManager();
GeocellQuery baseQuery = new GeocellQuery("SELECT id FROM GeoEntity");
List<GeoEntity> objects = null;
try {
objects = GeocellManager.proximitySearch(center, 40, 0, GeoEntity.class, baseQuery, em);
} catch (Exception e) {
No exception no data returned tested locally .
Any response will be greatly appreciated.
Original comment by bha...@gmail.com
on 12 Sep 2011 at 12:01
Attachments:
I'm sorry but I didn't get an answer...
You should use an another API or change the language.
Original comment by fabien.p...@gmail.com
on 12 Sep 2011 at 6:53
Have you solved this problem??
What about another api??
Thanks
Original comment by correo.c...@gmail.com
on 5 Dec 2011 at 9:16
[deleted comment]
[deleted comment]
Any Solution on this ??? have it worked for any one... It will be a great help
from you if you can update the thread.
Original comment by satishba...@gmail.com
on 17 Jul 2013 at 9:59
Original issue reported on code.google.com by
fabien.p...@gmail.com
on 2 Aug 2011 at 10:13Attachments: