qgis / qgis-docker

Official Docker image for QGIS Server and Desktop
GNU Affero General Public License v3.0
67 stars 21 forks source link

Custom SVG symbols path #24

Closed lucamanga closed 5 years ago

lucamanga commented 5 years ago

Hi, one thing is missing: custom SVG symbols path.

They are usually stored in the QGIS default profile; so I pass the --profiles-path parameter to qgis I don't know how is this possible in actual FCGI version... any idea?

daniviga commented 5 years ago

That's a good point. I'll check and report you back.

daniviga commented 5 years ago

I don't know how is this possible in actual FCGI version... any idea?

It is possible: you need to map a volume (or a host folder) to /var/lib/qgis/.local/share/QGIS/QGIS3/profiles/default/svg/:

-v $(pwd)/svg:/var/lib/qgis/.local/share/QGIS/QGIS3/profiles/default/svg