I have a KEA dataset of which the RAT has numerous columns. There are 11919 segments. I want to export this dataset either as shp or raster keeping the segment ID numbers, i.e. I want a shapefile or raster with only the segment numbers connected to the segments.
How do I do this?
I tried rastergis.exportGDALCols.Image in Python using RSGisLib but since the segment ID number column doesn't have a column name, that didn't work. I was able to export the RAT as a csv in Python with an additional column that contains segment numbers, but I need a shp or raster dataset to give me the spatial information of the segments.