kevinlacaille / planet_hack_2020_deforestation

Related Project Pitch: https://github.com/planetlabs-community/planet-hack-2020/issues/64
2 stars 4 forks source link

Provide a way to set radius and time period #11

Closed gilles-morain closed 4 years ago

gilles-morain commented 4 years ago

Best way would probably be a radius param in the redirect route

guy1ziv2 commented 4 years ago

I also suggest moving to days and not weeks and having before_days and after_days in params in redirect URL, with all three having default settings in params fuke

gilles-morain commented 4 years ago

Added rm (radius in meters), db (days before) and da (days after) optional parameters

Example: /api/v1/notice?id=202&rm=7000&db=5&da=10