Geographic Information Systems Asked by kmv on February 27, 2021
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.
I have found a solution - gdal_polygonize.py gave me exactly what I needed, a shp with the segment IDnumbers as attribute.
Answered by kmv on February 27, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP