Hi,
I am wanting to use python commands to assess the raster operations (specifically "RasterAnalysis.Polygonise") I have an input raster and also a levels file which I want to use for the polygonisation method, however, I am unable to figure out how to call and write the function, I currently have the following:import clrimport osclr.AddReference("MapInfo.RasterEngine.IO")clr.AddReference("MapInfo.RasterEngine.Common")clr.AddReference("MapInfo.RasterEngine.Operations")from MapInfo.RasterEngine.Operations import RasterAnalysisfrom MapInfo.RasterEngine.Common import PolygoniseParametersinput = "Raster_FilePath.asc"output = "RasterPolygonise_FilePath.TAB"levels = "Intervals_FilePath.level"RasterAnalysis.Polygonise(input,output,PolygoniseParameters((levels)))Any help would be much appreciated.Thanks------------------------------
Luke Lynx
Knowledge Community Shared Account
------------------------------