I’m trying to run the Recreation Model with the Compute Regression option, and get the following error:
AttributeError: ‘NoneType’ object has no attribute ‘ExportToWkt’
I am using the latest Mac release, and have already successfully used the Recreation Model without the option Compute Regression. All predictor shapefiles (12) are in the same coordinate system (EPSG:3763). I have also tried with just one predictor, to make sure there was no issue with one of the files, but the result is the same.
Here is the log file: InVEST-Recreation-Model-log-2020-01-15–10_38_19.txt (1.9 KB)
Any help would be much appreciated!
This error actually happened while checking the projection of the AOI shapefile. So it is worth double-checking that the AOI has a coordinate system defined.
I also think this model may have been unstable in the specific release you are using. For this model, I would recommend either using the official 3.7.0 release, or updating to the latest development build for Mac OS here:
Thanks @dave, I think the AOI file was also on the same coordinate system, but will check!
I will try the latest development build then (I’m also interested on the Urban models, and the official 3.7.0 release does not include them yet, at least for Mac). If it doesn’t work, I will try the official release. Will give feedback as soon as possible.
I seem to be having a similar issue with my model run. My 4 predictor variables are in the same projection (4269) along with AOI vector (4269).
Any recommendations? Is it possible that my predictor table ‘type’ columns are not correct (should be line_intersect_length vs. polygon_area_coverage)?
InVEST-Visitation-Recreation-and-Tourism-log-2022-01-23–11_27_28.txt (1.7 KB)
We’re resolving this by email. Will post a solution here when we have one.
I am also facing the same problem, do you have any updates on the solution?
Here is my log file:
InVEST-Recreation-Model-log-2022-03-06–17_06_48.txt (9.5 KB)