clarisma / geodesk

Fast and storage-efficient spatial database engine for OpenStreetMap data
https://docs.geodesk.com/java
Apache License 2.0
137 stars 4 forks source link

`Box` intersection that cannot be represented? #90

Open clarisma opened 1 year ago

clarisma commented 1 year ago

Since Box can represent a bounding box that straddles the Antimeridian, there may be a situation where such a Box is intersected with a regular bbox. Conceptually, such an intersection might result in two bboxes (the eastern and western parts). What happens at this point, since the resulting Box cannot represent more than one single bounding box?

Related to #40 and #86