Skip to content
Snippets Groups Projects
Commit bef19c5d authored by Nicola Jordan's avatar Nicola Jordan
Browse files

Merge branch 'hotfix/196_fix-empty-extraction-data-of-GIS-excerpt-converter'

parents cc61d220 a0198691
Branches
No related merge requests found
......@@ -81,6 +81,7 @@ class GisExcerptConverter(BaseExcerptConverter):
"""
Extract excerpt for chosen formats (execution_configuration) using docker-compose
to trigger the conversion process (defined in blackbox/docker-compose-conversion-blackbox.yml)
expected order of bbox_arguments: WEST, SOUTH, EAST, NORTH
:param execution_configuration:
:param extraction_order:
......@@ -201,10 +202,10 @@ class GisExcerptConverter(BaseExcerptConverter):
bounding_geometry = extraction_order.excerpt.bounding_geometry
if type(bounding_geometry) == models.BBoxBoundingGeometry:
bbox_args = ' '.join(str(coordinate) for coordinate in [
bounding_geometry.south,
bounding_geometry.west,
bounding_geometry.south,
bounding_geometry.east,
bounding_geometry.north,
bounding_geometry.east
])
if len(execution_configuration['formats']) > 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment