azizka / sampbias

Sampbias is a method and tool to 1) visualize the distribution of occurrence records and species in any user-provided dataset, 2) quantify the biasing effect of geographic features related to human accessibility, such as proximity to cities, rivers or roads, and 3) create publication-level graphs of these biasing effects in space.
32 stars 8 forks source link

Issues with occurences using Sampbias #6

Open rcoura54 opened 4 years ago

rcoura54 commented 4 years ago

Hi everyone,

I am currently trying to debias plant occurrences from the GBIF datapool.

Associating BBike roads, railways, and other human points/amenities, I tried to run Sampbias.

That said, although I feel like I tried everything (when formatting/inputting CSV/TXT of occurences), R Studio (V 3.6.3.) and Sampbias always give me that error:

In the first TXT file you'll find is the script I readapted, do you know what's wrong?

In the second TXT file errors I get (one "big" apparently, columns names not recoginzed, although it can plot it correctly, one "warinng" when importing SHP points and lines for "human bias")

You'll find input used (CSV for Betula GBIF occurrences, SHP for SHP of human infrastructures I am willing to test).

Thanks for considering this message! Romain

Sampbias_Data_Script_Errors.zip

BrunoVilela commented 8 months ago

Hello there! We've recently overhauled the Sampbias package, integrating new spatial packages and implementing substantial changes to the code. If you're still encountering the issue after updating the package to the latest version available on GitHub, could you please share a reproducible code along with the accompanying data? This will enable us to investigate the error more effectively and provide you with a timely resolution. Your cooperation is greatly appreciated!