我想看看重写一个包含大量光栅操作的 arcgis python 脚本,所以它可以在 qgis 中使用。我对此很陌生,不确定这有多可行。以下是 arcgis 脚本中的方法:
gp = arcgisscripting.create()
gp.OverwriteOutput
gp.AddWarning
gp.AddMessage
gp.CopyRaster
gp.AddField
gp.CalculateField
gp.extent
gp.PointToRaster
gp.EucDirection
gp.Times
gp.Divide
gp.Minus
gp.SingleOutputMapAlgebra
gp.CreateConstantRaster
gp.Plus
gp.Sample
gp.CellSize
gp.ZonalStatistics
gp.Buffer
gp.PathDistance
gp.Describe
gp.tableselect
gp.ReclassByTable
gp.Reclassify
gp.FocalStatistics
gp.Basin
gp.FlowDirection
这可以使用 python 和 GRASS 吗?看起来这可能比尝试使用 GDAL 更成功。在花时间之前,我想获得一些专家的建议和意见。