-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_raster
, geometry too large
#173
Comments
Hi @tom-lvn thanks for flagging this. Could you send the shapefile you're using here or to research [at] globalfishingwatch.org? I'll take a look or ping our API team. Thanks! |
Hey, I just sent an email with the shapefile, as I could not upload it here. Thanks already for your help! |
Hi @tom-lvn , thanks for the patience while I came back to you. We do have a limitation with the shapefiles, but more than size it's their complexity when we do a request. There are two main workarounds if you encounter this:
And send
A third option would be to loop over the polygons. I received previously a 524 error for polygon 2 of the shapefile but redid the request and it worked. I will ask our API team about this, sometimes redoing the request just works. |
Hey
gfwr
team,I am trying to use the
get_raster()
function with a customsf
shapefile but I receive the following error:When running
get_last_report()
this is the output:I am using a shapefile of the Mediterranean IHO Sea Area from here https://www.marineregions.org/gazetteer.php?p=details&id=1905. Reading it in with
sf::read_sf()
. Now, when I use the GFCM RFMO, this does not produce any errors and I can use that area despite its size. Is this just a limitation in using a custom sf object or is there a way around this?The text was updated successfully, but these errors were encountered: