A quick fix to ensure we no longer include "misc" in the acitivity field for Idaho parcels. The root cause of this was rows in Miscellaneous.shp and Easements.shp with NULL values for the Type and EasementPu columns, respectively. In the case of NULL values, we compute an activity_name of None and fallback to the original activity.name in the final return, which in this case is "misc".
The fix here is to actually correct the data, using the string "Miscellaneous" for NULL values in the Type column of Miscellaneous.shp and "Easements" for NULL values in the EasementPu column for Easements.shp.
One last thing: I noticed we were using the column name Sale_Status as the activity column for Timber.shp, but that column is missing from that dataset. I assume we mean the column Sale_Statu? This PR includes that update as well.
A quick fix to ensure we no longer include
"misc"
in theacitivity
field for Idaho parcels. The root cause of this was rows inMiscellaneous.shp
andEasements.shp
withNULL
values for theType
andEasementPu
columns, respectively. In the case ofNULL
values, we compute anactivity_name
ofNone
and fallback to the originalactivity.name
in the finalreturn
, which in this case is"misc"
.The fix here is to actually correct the data, using the string
"Miscellaneous"
forNULL
values in theType
column ofMiscellaneous.shp
and"Easements"
forNULL
values in theEasementPu
column forEasements.shp
.One last thing: I noticed we were using the column name
Sale_Status
as the activity column forTimber.shp
, but that column is missing from that dataset. I assume we mean the columnSale_Statu
? This PR includes that update as well.