Monday, 5 December 2016

QGIS apply style to shapefile



I'd like to create a Categorized style in QGIS, classify with it data in a shapefile and then save the shapefile with the new categorized style. Is it possible?



Answer



Shapefiles are not designed to contain style information - they contain data.


While you can construct attributes for storing things like "polygon color", it's better to save the styles separately as QML (QGIS style files) or SLD (standardized style files supported in QGIS 1.8).


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...