dnrwaterqualitymodeling / EVAAL

Erosion Vulnerability Assessment for Agricultural Lands - Python scripts for identifying areas vulnerable to soil erosion using LiDAR elevation data
6 stars 3 forks source link

Default geographic transformation in 10.1 prior to SP1 #9

Open tmpnelson opened 9 years ago

tmpnelson commented 9 years ago

ArcGIS 10.1 prior to SP1 uses “NAD_1927_To_NAD_1983_NADCON” as the default geographic transformation. This causes problems in the "Calculate Curve Number" script when it projects the watershed file from WTM to Albers (line 345 in EVAAL.pyt). A fix that seems to work is to define the geographic transformation in line 345 as: arcpy.Project_management(watershedFile, watershedCdlPrj, sr, "NAD_1983_To_HARN_Wisconsin")

asruesch commented 9 years ago

edits implemented in dev branch