I started working on a TODO task in qwc-config-generator service. I would like to generate thumbnails for projets which don't have one in qwc2 assets directory.
I think I have to use getThumbnail function in themesConfig.py script from QWC2 repo to generate image from GetMap request but I don't know if I am right or not so I would like to have your opinions and advices.
For now, I created some functions from this script in map_viewer_config.py to be able to run GetMap request.
Next week, I'll try to make a [WIP] pull request here so that you can follow what I am doing.
Hello,
I started working on a TODO task in qwc-config-generator service. I would like to generate thumbnails for projets which don't have one in qwc2 assets directory.
I think I have to use
getThumbnail
function inthemesConfig.py
script from QWC2 repo to generate image fromGetMap
request but I don't know if I am right or not so I would like to have your opinions and advices.For now, I created some functions from this script in
map_viewer_config.py
to be able to runGetMap
request.Next week, I'll try to make a [WIP] pull request here so that you can follow what I am doing.
Thanks,
Benoît