mikejohnson51 / hydrofab

Hydrofabric Fabricator
Creative Commons Zero v1.0 Universal
9 stars 4 forks source link

QML Embedding #22

Closed program-- closed 1 year ago

program-- commented 1 year ago

This PR adds a QML embedding function, append_style(), that appends a QGIS-compatible layer_styles table to a GeoPackage.

This also adds a new directory inst/qml which contains available QML styles to append with. The function append_style() takes a layer_names parameter that corresponds to the name of the QML files in inst/qml minus the extension.

The QML files added in this PR are examples, so they most likely will need to be changed 😄

mikejohnson51 commented 1 year ago

💯 thanks @program-- this is slick