no need to open the dataset before translating it. #1686
This commit is contained in:
parent
00c9243ad9
commit
b623e28e02
|
@ -964,8 +964,7 @@ class CoastalVulnerabilityTests(unittest.TestCase):
|
|||
# first.
|
||||
base_vector_path = os.path.join(
|
||||
REGRESSION_DATA, 'test_missing_values.gpkg')
|
||||
base_shore_point_vector = ogr.Open(base_vector_path)
|
||||
gdal.VectorTranslate(target_vector_path, base_shore_point_vector)
|
||||
gdal.VectorTranslate(target_vector_path, base_vector_path)
|
||||
|
||||
coastal_vulnerability.calculate_final_risk(
|
||||
target_vector_path, target_csv_path)
|
||||
|
|
Loading…
Reference in New Issue