Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
If I want to implement a "map of caches" - let's say on top of Google Maps - 
then I guess this is the method to retrieve the actual geocache data for the 
current view of the map.
But what to do, when the current map view contains more than 500 geocaches? 
Subdivide the current bbox into two and recursively call the 
"services/caches/search/bbox" method until there are less than 500 geocaches? 

Original comment by [email protected] on 20 Apr 2013 at 10:25

from okapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
All direct OKAPI requests are limited to 500 results (some requests have even 
stricter limits).

If you need more than 500 caches, then you can use the replicate module - it 
allows you to retrieve all the caches in the OC database. Then you can write 
your own bbox queries on your own copy of the database.

Original comment by rygielski on 20 Apr 2013 at 4:00

from okapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Ok.

BTW, my prototype implmentation has gone live: http://flopp-caching.de/ (check 
"Zeige Geocaches" in the sidebar to display caches of all OKAPI enabled sites). 

Original comment by [email protected] on 21 Apr 2013 at 3:40

from okapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Nice!

Original comment by rygielski on 21 Apr 2013 at 4:05

from okapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
It seems to be the case that the latitude and longitude intervals specified are 
interpreted as closed intervals. IMHO it is more logical (and useful) to 
interpret them as half-open intervals. This way bbox requests of adjoining 
coordinates will always give disjoint result.

For example: A request with "bbox=9|53|10|54" and a second request with 
"bbox=10|53|11|54" will both contain caches exactly at E 10° (and people place 
those).


Original comment by [email protected] on 21 Nov 2014 at 10:25

from okapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
@pjacobi.de: Moved your topic here 
https://code.google.com/p/opencaching-api/issues/detail?id=328

Original comment by rygielski on 24 Nov 2014 at 7:43

from okapi.

Related Issues (20)

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.