Skip to content

Commit

Permalink
Merge pull request #274 from Deltares/273/fix/shapely_linestring_error
Browse files Browse the repository at this point in the history
fix: LineString is impoted from shapely.geometry
  • Loading branch information
Carsopre authored Jan 9, 2024
2 parents 88229dd + 980fb96 commit feebe0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ra2ce/graph/origins_destinations.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import rasterio
import rasterio.mask
import rasterio.transform
import shapely
from shapely.geometry import LineString
from rasterio import Affine
from rasterio.warp import Resampling, calculate_default_transform, reproject
from shapely.geometry import Point
Expand Down Expand Up @@ -180,8 +180,8 @@ def update_edges_with_new_node(
node_a: int,
node_b: int,
k: int,
line_a: shapely.LineString,
line_b: shapely.LineString,
line_a: LineString,
line_b: LineString,
new_node_id: int,
graph_crs: pyproj.CRS,
inverse_vertices_dict: dict,
Expand Down

0 comments on commit feebe0f

Please sign in to comment.