Plot comparative distribution maps for taxa

Hi Developers,

I quite frequently like to plot the distributions of related taxa on the same map to look for potential sympatry or boundaries. Would it be possible to implement that on the taxon page for, lets say, up to 5 taxa represented by symbols of different colours?

There is some existing functionality for this, but it’s not linked to anywhere and is a bit clunky. It requires manually entering in the taxon_ids into the URL (and doesn’t display the colors in the legend).

https://www.inaturalist.org/taxa/map?taxa=121976,121951,81599

5 Likes

There’s also this tool https://www.inaturalist.org/observations/compare
Slightly less clunky and it adds the stats pane.

2 Likes

Doesn’t seem to work :(
I tried with Query 1: taxon=870009 and Query 2: taxon=869998. Nothing happened.

I think you need Query 1: taxon_id=870009 and Query 2: taxon_id=869998

1 Like

This discussion has some tips for the query strings: https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki/63

Any of the urls that start with "https://www.inaturalist.org/observations?" should work in the compare tool, just use everything that appears after the “?” For example “https://www.inaturalist.org/observations?taxon_ids=85553,26039,47113&place_id=7613,10301” would be taxon_ids=85553,26039,47113&place_id=7613,10301 in the compare query.

1 Like

https://www.inaturalist.org/observations/compare?s=eyJxdWVyaWVzIjpbeyJuYW1lIjoiUXVlcnkgMSIsInBhcmFtcyI6InRheG9uX2lkPTg3MDAwOSAifSx7Im5hbWUiOiJRdWVyeSAyIiwicGFyYW1zIjoidGF4b25faWQ9ODY5OTk4In1dLCJ0YWIiOiJtYXAiLCJ0YXhvbkZpbHRlciI6Im5vbmUiLCJ0YXhvbkZyZXF1ZW5jaWVzU29ydEluZGV4IjowLCJ0YXhvbkZyZXF1ZW5jaWVzU29ydE9yZGVyIjoiYXNjIiwibWFwTGF5b3V0IjoiY29tYmluZWQiLCJoaXN0b3J5TGF5b3V0IjoiY29tYmluZWQiLCJoaXN0b3J5SW50ZXJ2YWwiOiJ3ZWVrIn0%3D

1 Like