gtkfi / ArcSDM

Spatial Data Modeler 6 for ArcGIS Pro
33 stars 18 forks source link

Replace arcpy.mapping with arcpy.mp #150

Open lehtonenp opened 11 months ago

lehtonenp commented 11 months ago

Follow these instructions: https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/migratingfrom10xarcpymapping.htm

lehtonenp commented 11 months ago

154

lehtonenp commented 11 months ago

This issue is wider than just replacing arcpy.mapping with arcpy.mp as the dependent modules also use ArcMap scripting functions. The reason Symbolize raster with priorprobability (classified values) does not work is because the execute function relies on .lyr files and removed functions within arcpy. The Toolbox\arcsdm\symbolize.py needs to rewritten.

lehtonenp commented 11 months ago

Suggesting to rename this issue to 'Migrate Symbolize raster with priorprobability function to ArcGIS Pro'. @em-t @tomiturunen1 @tomironkko