Skip to content

Commit

Permalink
fix: allow cumulative innerBoundaryIs tags on a polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
cfzimmerman committed Dec 31, 2023
1 parent b20cea9 commit d1f67d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ where
}
outer = outer_ring.remove(0);
}
b"innerBoundaryIs" => inner = self.read_boundary(b"innerBoundaryIs")?,
b"innerBoundaryIs" => {
let mut boundary = self.read_boundary(b"innerBoundaryIs")?;
inner.append(&mut boundary);
}
b"altitudeMode" => {
altitude_mode = types::AltitudeMode::from_str(&self.read_str()?)?
}
Expand Down

0 comments on commit d1f67d8

Please sign in to comment.