azavea / climate-change-api

Apache License 2.0
0 stars 0 forks source link

Update climate-data and indicator lat/lon endpoints to include the distance filter #861

Closed CloudNiner closed 5 years ago

CloudNiner commented 5 years ago

Re-use the same distance querying logic on the climate-data and indicators endpoint which means including the same distance http get param. These endpoints should automatically choose the closest cell, filtered by passed dataset, that is within the distance provided. distance should default to 0 for backwards compatibility, with logic that again duplicates the handling in #860.

Update documentation to note the extra get param.

Depends on #860