Giter Club home page Giter Club logo

geospatialweb's People

Watchers

 avatar

geospatialweb's Issues

story: radius search

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

Decode result not correct for negative values.

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

Bug on geospatialweb.test.QueryTest, line Indexer i = new Indexer(rtree);

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.