Comments (7)
The validation is wrong it needs to be something like:
Validate.isTrue(!(lat > 90.0 || lat < -90.0), "Latitude must be in [-90, 90]
but was ", lat);
Validate.isTrue(!(lon > 180.0 || lon < -180.0), "Longitude must be in [-180,
180] but was ", lon);
Original comment by [email protected]
on 13 May 2010 at 2:53
- Added labels: ****
- Removed labels: ****
from javageomodel.
yep, I already fixed it myself in exactly the same way ))
I wonder how the code could work before - is it a working code? I have some
issues
with bounding box queries, and I'm uncertain if it is my problem or problem in
geomodel code. Probably I'll submit other issue.
Original comment by [email protected]
on 13 May 2010 at 3:15
- Added labels: ****
- Removed labels: ****
from javageomodel.
I think it is also wrong when it validates maxGeocellResolution:
Validate.isTrue(maxGeocellResolution > GeocellManager.MAX_GEOCELL_RESOLUTION,
"Invalid max resolution parameter. Must be inferior to ", GeocellManager.MAX_GEOCELL_RESOLUTION);
Just reading through the code today. How come the proximity doesn't work on
bounding boxes?
Original comment by [email protected]
on 13 May 2010 at 9:59
- Added labels: ****
- Removed labels: ****
from javageomodel.
I haven't tried proximity yet, only bbox. I can't understand it: I added a point
44.838611,-0.578333 which generated geocells [6, 6b, 6bf, 6bff, 6bff5, 6bff5c,
6bff5ca, 6bff5ca6, 6bff5ca66, 6bff5ca669, 6bff5ca669f, 6bff5ca669fe,
6bff5ca669fe7]
but when I filter with BBOX=44.8,-1,44.9,1 (which should include the point in
my
opinion) - I do not get the point. Why?
GeocellManager.bestBboxSearchCells returns [8a, 8b, 8e, 8f, 9a, 9b, 9e, 9f, ca,
cb,
ce, cf, da, db, de, df] for the given bbox.
Does it work for you?
Original comment by [email protected]
on 13 May 2010 at 10:21
- Added labels: ****
- Removed labels: ****
from javageomodel.
Issue 11 has been merged into this issue.
Original comment by [email protected]
on 5 Nov 2010 at 10:12
- Added labels: ****
- Removed labels: ****
from javageomodel.
Issue 17 has been merged into this issue.
Original comment by [email protected]
on 5 Nov 2010 at 10:13
- Added labels: ****
- Removed labels: ****
from javageomodel.
Original comment by [email protected]
on 10 Nov 2010 at 6:20
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from javageomodel.
Related Issues (20)
- Remove dependency on JDO HOT 2
- Cannot find GeoPoint that exists in DB HOT 1
- iUnitTest fails - a bug in the Point Validate conditions. HOT 2
- Inapproriate variable names HOT 1
- Getting Started with Geomodel in java HOT 7
- Problems with BaseQuery HOT 2
- Tag a version and release a pom HOT 1
- proximitySearch algorithm throws error when point lies on other side of + 90 meridian HOT 3
- Assertion errors in Point HOT 2
- GeocellManager.proximityFetch throws exception in AppEngine HOT 2
- Problem downloading from svn maven repository HOT 2
- Missing Dependency HOT 2
- Low level proximity search HOT 3
- Antimeridean crossing not working quite as expected HOT 4
- proximitySearch: NPE at com.beoui.geocell.JPAGeocellQueryEngine.query(JPAGeocellQueryEngine.java:32) (version 0.0.7) HOT 2
- Use native datastore GeoPt type
- Incorrect distance computed HOT 1
- java.lang.NoSuchMethodError: com.beoui.geocell.model.GeocellQuery: method <init>()V not found
- GeocellManager fails to find points outside highest level tile size
- GeoModel 0.0.8 for java seems don't work...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javageomodel.