Comments (6)
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.
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.
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.
Nice!
Original comment by rygielski
on 21 Apr 2013 at 4:05
from okapi.
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.
@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)
- Cache attribute in native language returned by OKAPI HOT 5
- OKAPI (update) cannot handle CREATE TABLE when there is a same table. HOT 2
- OCPL: Cache types HOT 6
- There is no way to remove blocked geocache from watched geocaches
- Accessing locked cache
- Upload field note file via OKAPI HOT 7
- PHP 7.4+ and 8.0 support HOT 3
- Make authorization page responsive HOT 2
- Reactivation rules automatically added to the end of the geocache description
- OKAPI Method Error - MainMapAjax HOT 3
- OCPL fulldump generation issue HOT 2
- imagegd2(): GD2 image support has been disabled HOT 4
- Programmatically Create New Geocaches
- CORS policy on https://www.opencaching.de/okapi/services/apisrv/stats
- Getting and Setting Personal Cache Notes HOT 1
- No service / method available to upsert a geocache's user-coords HOT 1
- when using English language, the date format is wrong HOT 1
- Please add services/lists functions
- New service method: save_user_coords
- Is OKAPI still a common API for all opencaching platforms? Is it still actively maintained? HOT 7
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 okapi.