ptxl / geospatialweb Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/geospatialweb
Automatically exported from code.google.com/p/geospatialweb
As a Jena user I can write a SPARQL query that retries all geo:lat/long
tagged entities within a radius of "X" kilometers.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2009 at 5:02
What steps will reproduce the problem?
1.
double lat = -77.9614596407155;
double lon = -139.96324813171648;
2. try to encode this to a string
3. try to decode the string to lat & lon
What is the expected output? What do you see instead?
The latter one is the difference.
-77.9614596407155:70.14700636267662
-139.96324813171648:-83.69167774915695
What version of the product are you using? On what operating system?
Vista/JDK 1.6
Please provide any additional information below.
Test code:
@Test
public void testEncode_Accuracy_Mistake() {
// -77.9614596407155:70.14700636267662
// -139.96324813171648:-83.69167774915695
double lat = -77.9614596407155;
double lon = -139.96324813171648;
String geohash = geohashUtil.encode(lat, lon);
Assert.assertNotNull(geohash);
double[] result = geohashUtil.decode(geohash);
if (Math.abs(lat - result[0]) > 0.00001
|| Math.abs(lon - result[1]) > 0.00001) {
System.out.println("============");
System.out.println(lat + ":" + result[0]);
System.out.println(lon + ":" + result[1]);
}
}
Original issue reported on code.google.com by [email protected]
on 9 Jun 2011 at 3:54
What steps will reproduce the problem?
1. On the code QueryTest.java, line 39 Indexer i = new Indexer(rtree);
2. Compile QueryTest.java
3.
What is the expected output?
Clean compile
What do you see instead?
Java Error:
cannot find symbol
symbol: constructor Indexer(spatialindex.rtree.RTree)
location class org.geospatialweb.arqext.Indexer
What version of the product are you using?
geospatial-0.0.2.jar
On what operating system?
Linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Nov 2008 at 4:24
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.