Rasters can only store numeric types, not strings. But you could
either rasterize the primary key, or reclassify the strings into a
so-called lookup table of ID and string (e.g. 1="green", 2="blue",
etc.). And then you could look-up the text from a raster using the
common integer ID.
-Mike
On 27
Hello everyone,I'm trying to do a simple vector to raster conversion using an
attribute field stored as string. Am I wrong or does gdal_rasterize does not
accept text fields as attributes? Thanks for any insight.Ricardo O.
-Ricardo