read_style
read_style(style_path)To make style-text sql-compatible, we need to replace single ’ to ’’.
Example ‘http://mrcc.com/qgis.dtd ->’‘http://mrcc.com/qgis.dtd’’
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| style_path | Path | Path to sld-file | required |
Returns
| Name | Type | Description |
|---|---|---|
| str | style-string for SQL |