You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error when I attempted to provide a vector of 15 cutoff values to the accessibility function: java.lang.IllegalArgumentException: Maximum number of cutoffs allowed in a regional analysis is 12
The text was updated successfully, but these errors were encountered:
Interesting, I hadn't noticed that.
Indeed, R5 has a 12 cutoffs maximum hardcoded:
/** * The largest number of cutoffs we'll accept in a regional analysis task. Too many cutoffs can create very large * output files. This limit does not apply when calculating single-point accessibility on the worker, where there * will always be 121 cutoffs (from zero to 120 minutes inclusive). */publicstaticfinalintMAX_REGIONAL_CUTOFFS = 12;
Also, the maximum cutoff allowed is 120 minutes.
We need to document this in the accessibility() function.
Thank you @botanize . I've now clarified this in the function documentation. This is already available in the dev version and will be included in the next release of r5r on CRAN.
I got the following error when I attempted to provide a vector of 15 cutoff values to the accessibility function:
java.lang.IllegalArgumentException: Maximum number of cutoffs allowed in a regional analysis is 12
The text was updated successfully, but these errors were encountered: