Open synrg opened 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:
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).
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.
Keep it simple for now with just from
accepting coordinates as follows.
urllib.parse
or accept one of the following positional signatures from comma-delimited or blank-delimited lists of values:Combining named places and radius not addressed in first version (i.e. the original within
idea). Create a new issue for that.
Support specifying a place as a radius.
within <#>km of <point-place>
or a rectanglebounds <swlat>,<swlon> <nelat>,<nelon>
[p]add place