Skip to content

Commit

Permalink
feat(pipeline): increase processes for gdal2tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Helms authored and Andreas Helms committed Mar 28, 2024
1 parent 86e7075 commit 741b45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/dags/task_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_transform_task():

return BashOperator.partial(
task_id='gdal_translate_tiles',
bash_command=f'rm -rf $FILEPATH_OUT && gdal2tiles.py --profile geodetic --zoom={zoom_levels} --tmscompatible --exclude --no-kml --webviewer=none --resampling average --processes=6 --s_srs EPSG:4326 $FILEPATH_IN $FILEPATH_OUT && echo $FILEPATH_OUT',
bash_command=f'rm -rf $FILEPATH_OUT && gdal2tiles.py --profile geodetic --zoom={zoom_levels} --tmscompatible --exclude --no-kml --webviewer=none --resampling average --processes=16 --s_srs EPSG:4326 $FILEPATH_IN $FILEPATH_OUT && echo $FILEPATH_OUT',
max_active_tis_per_dag=max_tis_translate
)

Expand Down

0 comments on commit 741b45a

Please sign in to comment.