Skip to content

Commit e28d900

Browse files
committed
Fix cropper
1 parent fef503c commit e28d900

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

opendm/cropper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ def create_bounds_gpkg(self, pointcloud_path, buffer_distance = 0, decimation_st
251251
kwargs = {
252252
'input': double_quote(bounds_geojson_path),
253253
'output': double_quote(bounds_gpkg_path),
254-
'wkt': pc_wkt
254+
'wkt': double_quote(pc_wkt)
255255
}
256256

257-
run('ogr2ogr -overwrite -f GPKG -a_srs "{pc_wkt}" {output} {input}'.format(**kwargs))
257+
run('ogr2ogr -overwrite -f GPKG -a_srs {wkt} {output} {input}'.format(**kwargs))
258258

259259
return bounds_gpkg_path
260260

0 commit comments

Comments
 (0)