Skip to content

Commit

Permalink
Removed debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohns-scottlogic committed Dec 2, 2024
1 parent 95f3f4f commit 1169405
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions digital_land/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import geojson
import shapely

import subprocess

from digital_land.package.organisation import OrganisationPackage
from digital_land.check import duplicate_reference_check
from digital_land.specification import Specification
Expand Down Expand Up @@ -496,13 +494,6 @@ def dataset_dump_flattened(csv_path, flattened_dir, specification, dataset):

if all(os.path.isfile(path) for path in temp_geojson_files):
rfc7946_geojson_path = os.path.join(flattened_dir, f"{dataset_name}.geojson")
env = os.environ.copy()

out, _ = subprocess.Popen(
["ogr2ogr", "--version"],
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
).communicate()
env = (
dict(os.environ, OGR_GEOJSON_MAX_OBJ_SIZE="0")
if get_gdal_version() >= Version("3.5.2")
Expand Down

0 comments on commit 1169405

Please sign in to comment.