Hi, I’d like to find an intersection of a Ball with GeometrySet in LatLon coordinate reference system. However, when I construct my Ball b
like
b = GeoStats.Ball(GeoStats.Point(LatLon(48.34, 18.45)), 10)
and ropes r
as
38 GeometrySet ├─ Rope((lat: 49.7838°, lon: 18.2359°), ..., (lat: 49.7869°, lon: 18.2258°)) ├─ Rope((lat: 49.7869°, lon: 18.2258°), ..., (lat: 49.7946°, lon: 18.2327°)) ├─ Rope((lat: 49.7946°, lon: 18.2327°), ..., (lat: 49.795°, lon: 18.2337°)) ├─ Rope((lat: 49.795°, lon: 18.2337°), ..., (lat: 49.7973°, lon: 18.2488°)) ├─ Rope((lat: 49.7973°, lon: 18.2488°), ..., (lat: 49.7974°, lon: 18.2495°)) ⋮ ├─ Rope((lat: 49.8325°, lon: 18.1762°), ..., (lat: 49.8329°, lon: 18.176°)) ├─ Rope((lat: 49.8329°, lon: 18.176°), ..., (lat: 49.8351°, lon: 18.1754°)) ├─ Rope((lat: 49.8351°, lon: 18.1754°), ..., (lat: 49.8353°, lon: 18.1747°)) ├─ Rope((lat: 49.8353°, lon: 18.1747°), ..., (lat: 49.8345°, lon: 18.1697°)) └─ Rope((lat: 49.8345°, lon: 18.1697°), ..., (lat: 49.8341°, lon: 18.17°))
,
then b ∩ r
results in following error:
ERROR: StackOverflowError: Stacktrace: [1] intersection(f::Function, g₁::Ball{🌐, GeodeticLatLon{…}, Quantity{…}}, g₂::GeometrySet{🌐, GeodeticLatLon{…}, Geometry{…}}) @ Meshes C:\Users\oslejsek\.julia\packages\Meshes\K84Ms\src\intersections.jl:100--- the last 1 lines are repeated 79982 more times --- Some type information was truncated. Use
show(err) to see complete types.
Different types of projection didn’t help and resulted in the same error. Then I tried to make 2 balls close to each other and apply the intersection function, which results in same error.
Is there any workaround around this?
PS: I am using GeoStats.jl v0.72.0 for this (but I guess the problem will be within Meshes.jl package).