dronefly-garden / dronefly

Red Discord Bot V3 cogs for naturalists.
Other
16 stars 3 forks source link

place: support rectangle, radius #88

Open synrg opened 4 years ago

synrg commented 4 years ago

Support specifying a place as a radius.

synrg commented 4 years ago

We discussed on #inat-questions on the iNat Discord today another related use case, finding observations within a certain radius of a reference observation. It can be done manually as per:

  1. Open your observation Details to copy the lat=# and lng=# values.
  2. Select a radius=# (in km).
  3. Add these to an existing search URL selected through the Observations search UI.

For example, https://www.inaturalist.org/observations?user_id=benarmstrong&lat=44.640001&lng=-63.683429&radius=0.1 for a search for 100m around a particular observation (the spotted sandpiper seen July 5, 2020).

synrg commented 1 year ago

We now have the circle and rectangle map tools on the web announced Oct. 2022 on the forums here: https://forum.inaturalist.org/t/new-rectangle-and-circle-drawing-tools-for-web-explore-page/36684

Since this is by far the most convenient way to get the coordinates, this feature should be able to take URLs containing the coordinates as input, as an alternative to specifying the coordinate pairs / point place & radius.

synrg commented 1 year ago

Keep it simple for now with just from accepting coordinates as follows.

Combining named places and radius not addressed in first version (i.e. the original within idea). Create a new issue for that.