Forum: Using The Website
Topic: querystring data?
started by: 9key

Posted by 9key on Nov. 25 2004,1:06 am
Hi!
I'm in the process of building a web site and I would like to incorporate a link to Navicache so my site visitors can find caches near their objective.

My data is in the popular deg.mm.mmm format as well as decimal degrees. Even UTM! :sick

Is it possible to pass lat/long in the querystring to this web site to get a listing of nearest caches?
Edit ~ if so, how?

Thanks



Posted by PC Medic on Nov. 25 2004,9:19 am
Quote (9key @ Nov. 25 2004,3:06 am)
Hi!
I'm in the process of building a web site and I would like to incorporate a link to Navicache so my site visitors can find caches near their objective.

This is easy....have the link point to < this page >.

Quote

My data is in the popular deg.mm.mmm format as well as decimal degrees. Even UTM!  

Is it possible to pass lat/long in the querystring to this web site to get a listing of nearest caches?
Edit ~ if so, how?



The suggested (and permitted) way to query the data is through the XML interface. More info on its use can be found in several threads here in the forums. After gathering the XML data you would then need your own script on your site to sort, store, and manipulate that data to meet your needs. Limitations to its use are posted within the datafile. Sending a direct query to the search form from an outside domain is not condoned and will be disabled.

Posted by Scout on Nov. 25 2004,7:53 pm
Assuming Navicache grants permission, you could mirror the data you want using the XML data dump, then implement whatever searches you want from your own database. You can refresh the Navicache data on a daily basis, dumping only what changed from the night before. This should be fairly efficient. It provides a way for volunteers to add value without having to mess with the Navicache Web site itself. For an example of this at work, look at < http://geocaching.gpsgames.org/navicache/stats/ >

P.S. Oh yeah... another example is the Navicache stats banner you see in the signature of some posters. :-)



Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.