Issue with excluding annotations in search

I find searching using the URL query string very handy for modifying the search criteria by annotations. For instance, this URL uses the Term ID 1 (life stage) and Term Value 6 (larvae) to return all Lepidoptera (taxon 47157) observations that have been marked as caterpillars:

https://www.inaturalist.org/observations?place_id=any&taxon_id=47157&term_id=1&term_value_id=6

I have been trying to do the inverse of this, eg to do a search for all Lepidoptera not marked as larval stage, but it’s not working. This is what I tried:

https://www.inaturalist.org/observations?place_id=any&taxon_id=47157&without_term_id=1&without_term_value_id=6

But I am still getting caterpillar observations in my results. (I expected that caterpillars that have not been annotated as larvae will be in the results, but the results even include caterpillar observations that have been annotated as such.) What am I doing wrong?

According to the instructions, it should work. I have excluded taxa successfully before by using without_taxon_id.

see https://forum.inaturalist.org/t/identify-filter-without-annotation-not-working-properly/30148/2

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.