Closed zackarno closed 2 years ago
Hi, I added a message to inform users about this issue. THanks!
@csaybar - I seems like you coded a check to make sure that maxFeatures
value is less than 10000
. I'm not sure why? Is there a reason this is the limit? I understand the 5000
limit on via="getinfo"
, but not sure on why a 10000
limit would be enforced for the other via
methods. I was suggesting that the user be able to supply the maxFeatures
argument directly in ee_extract
- is there a reason this doesn't make sense?
Hi I'm suffering from the same issue. Even if you set via="gcs"
I still get an error stating that features cannot be greater than 10,000. I think the check is happening too early on the function.
Hello,
I noticed
ee_extract
fails with feature collection > 5k features no matter howvia
is set. I think it is because of howrgee::ee_as_sf
is called without the the option to change the defaultmaxFeatures
argument inrgee::ee_extract
. I've copied this section of the code below. I think a simple solution could be to let the user supply amaxFeatures
argument torgee::ee_extract
which would then be passed torgee::ee_as_sf
Below is a reprex:
Created on 2022-05-05 by the reprex package (v2.0.1)