Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
vvmruder committed Jan 17, 2025
1 parent 075864f commit 896b0cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qgis_server_light/worker/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ def __init__(
def _get_map_settings(self, layers: List[QgsMapLayer]) -> QgsMapSettings:
"""Produces a QgsMapSettings object from a set of layers"""
settings = QgsMapSettings()

def preprocessor(path):
print(path)
return path

settings.pathResolver().setPathPreprocessor(preprocessor)
settings.setOutputSize(
QSize(
int(self.job.service_params.WIDTH), int(self.job.service_params.HEIGHT)
Expand Down

0 comments on commit 896b0cf

Please sign in to comment.