<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br data-mce-bogus="1"></div><div>Hi all,<br></div><br>Is there a way to rasterize a vector layer and burn values from a non-numeric fields ?<br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">For instance let's say I have a land cover layer with a string description for each class.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">I would like to rasterize such field without creating manually a new one.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">I would imagine some feature generating integers for each class/value with such value/integer association and rasterized layer as outputs.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">I guess some SQL request could do it but I would like to have it directly in QGIS.<br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">Regards,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">Mathieu</div></div></div><br></div></div></body></html>