dkidney / gibbonsecr

SECR analysis for acoustic gibbon surveys
1 stars 2 forks source link

Error: couldn't import shapefile #3

Open Brakels opened 5 years ago

Brakels commented 5 years ago

I tried to import a shape file for the 'region' or the boundaries of the survey area. The coordinates of the .shp are in UTM same as the post .csv file.

Could you please check if its possible to import shapefiles or not?

dkidney commented 5 years ago

This seems to be a bug - I'll try and fix it.

dkidney commented 5 years ago

Hi,

I've added a fix for importing shapefiles to the develop branch.

First make sure you have the following packages installed:

for(pkg in c("rgdal", "rgeos")){
    if(!requireNamespace(pkg, quietly = TRUE)){
        install.packages(pkg)
    }
}

Then install gibbonsecr from the develop branch:

devtools::install_github("dkidney/gibbonsecr", ref = "develop")

Let me know if you have any problems.