Skip to content

Commit

Permalink
fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Nov 12, 2024
1 parent d5db161 commit 653ae66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion los_tools/processing/tools/util_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def check_existence_los_fields(field_names: List[str]) -> None:


def wkt_to_array_points(wkt: str) -> List[List[float]]:
reg = re.compile("(LINESTRING |LineStringZ |MULTILINESTRING |MultiLineStringZ )")
reg = re.compile(r"(LineString\s?Z |LINESTRING |MULTILINESTRING |MultiLineString\s?Z )", re.IGNORECASE)

wkt = reg.sub("", wkt)

Expand Down

0 comments on commit 653ae66

Please sign in to comment.