Feature request #21180

OGR_STYLE on KML import

Added by Martin Pergler about 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Data Provider/OGR
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:28998

Description

When opening/importing a KML layer (or other via OGR), would be super helpful to include as one of the fields the OGR_STYLE (i.e. styleURL in KML).
Would help maintaining feature-specific styling where different features in the same layer have different styles in the source file, since then can use Categorized symbology on the imported layer.

Can work around by manually converting the kml using commandline, e.g. ogr2ogr -f GPKG -sql "select *,OGR_STYLE from FolderName", but it's an unnecessary hassle esp. if you have to do it for each folder.

Thanks for a great product!

Also available in: Atom PDF