I have a few questions:
1. Do you have a list of Parkids with names?
2. Can a search be made for parks with latitude, longitude?
3. If search with latitude, longitude is possible can we restrict it a a radius distance, say 5 or 50 miles?
1. Unfortunately I don't have that list. But you can do a search for parkIds based on park name (even a partial name) through our API, i.e. http://api.amp.active.com/camping/campgrounds?pname=ASPEN&api_key=2chxq68efd4azrpygt5hh2qu.
2. Yes indeed. I've just updated the documentation accordingly. Here's an example for parks around San Francisco http://api.amp.active.com/camping/campgrounds?landmarkName=true&landmarkLat=37.84035&landmarkLong=-122.4888889&xml=true&api_key=2chxq68efd4azrpygt5hh2qu.
3. The radius is unfortunately fixed behind the scenes. But we do our best to return a comprehensive list of matching results. Note the results are ordered by distance from the geo-point (closest first).
I have a few questions:
1. Do you have a list of Parkids with names?
2. Can a search be made for parks with latitude, longitude?
3. If search with latitude, longitude is possible can we restrict it a a radius distance, say 5 or 50 miles?
Message edited by vijay kumar 14 years ago
Tags
active Admin – 14 years ago
Hey Vijay,
1. Unfortunately I don't have that list. But you can do a search for parkIds based on park name (even a partial name) through our API, i.e. http://api.amp.active.com/camping/campgrounds?pname=ASPEN&api_key=2chxq68efd4azrpygt5hh2qu.
2. Yes indeed. I've just updated the documentation accordingly. Here's an example for parks around San Francisco http://api.amp.active.com/camping/campgrounds?landmarkName=true&landmarkLat=37.84035&landmarkLong=-122.4888889&xml=true&api_key=2chxq68efd4azrpygt5hh2qu.
3. The radius is unfortunately fixed behind the scenes. But we do our best to return a comprehensive list of matching results. Note the results are ordered by distance from the geo-point (closest first).