Skip to content

Commit

Permalink
Special case for MULTIPOLYGON
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Nov 19, 2024
1 parent 299e509 commit 31d32ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mikeio/pfs/_pfsdocument.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ def _parse_line(self, line: str, level: int = 0) -> tuple[str, int]:
def _parse_param(self, value: str) -> str:
if len(value) == 0:
return "[]"

if "MULTIPOLYGON" in value:
return value
if "," in value:
tokens = self._split_line_by_comma(value)
for j in range(len(tokens)):
Expand Down

0 comments on commit 31d32ce

Please sign in to comment.