This topic will be used for future release updates of the GeoStats.jl framework. Past topics can be found at v0.10, v0.11, v0.14, v0.18, v0.24, v0.33 and v0.36.

OVERVIEW
GeoStats.jl v0.40 is out with revised documentation using Makie.jl recipes, new algorithms for simulation of spatial point patterns, and important improvements in geometric algorithms.
This is the last release with support for Julia v1.6 (LTS), next releases will require Julia v1.9.
RELEASE NOTES
FEATURES
- New
Repairtransforms for fixing ill-formed meshes and geometries. These repair operations are parameterized with a number (e.g.Repair{0}) that is documented here. - Parameterization of geometries meaning that now one can call geometries as
segment(t)with t \in [0,1] orquad(u, v)with (u, v) \in [0,1]^2 orhex(u, v, w)with (u, v, w) \in [0,1]^3 to get points in these geometries. The functionisparameterizedcan be used to check if an implementation is available for a given geometry. - New
JarvisMarchconvex hull algorithm for 2D point sets besides the existingGrahamScanalgorithm. This algorithm has O(nh) complexity where n is the number of points and h is the number of points in the hull. Compare it with theGrahamScanalgorithm, which has O(n^2) complexity and you can see the speed up clearly when the convex hull has a very small number of vertices compared to the original point set (see docs). - New
mergeoperation between geometries and meshes. - New
vertexfunction to retrieve a single vertex of aPolytopegeometry orDomain. - New
pointifyfunction to extract โverticesโ of geometries even when they are not expressed in terms of a finite set of vertices. This function was useful to generalize some transforms and algorithms. - New
Primitivegeometries such asCone,ConeSurface,Torus(see docs). - New
MultiGridPathto traverseGridsubtypes in a hierarchical order. - New
Selingersimplification algorithm to simplify polygons and closed chains (see docs). - New
Potracetransform to trace closed regions with holes in raster images (see docs). - New
Detrendtransform to remove trends from geospatial data over any domain (see docs). - New inhomogeneous
PoissonProcess,InhibitionProcessandClusterProcess(see docs)
IMPROVEMENTS
- Improvements to the default triangulation algorithm for polygons, which now performs a couple of repairs to the vertices before actual triangulation. This improvement was implemented to handle real data in agriculture projects at Arpeggeoยฎ.
- Less memory allocations in
Chainalgorithms that are now specialized forRingandRopesubtypes. - Various implementations of missing methods for various geometry types such as discretization, sampling, convexhull, etc.
hasintersectmethods for all 0D, 1D and 2D geometries. This means that we can now easily filter a heterogeneous collection of geometries that intersect any other geometry in 2D space (see docs).Pointis now aGeometrysubtype. This enabled the generalization of a few algorithms in the stack.Segmentis now aChainwhich is equivalent to aPolytope{1}.- Improvement of IO methods for geometries to display more meaningful names in interactive use.
- Support for progress logging in all geostatistical simulation solvers.
- The new documentation now makes extensive use of the visualization stack built with Makie.jl. The visualization stack built with Plots.jl is already in maintenance mode.
- Various improvements to the GeoTables.jl package that can now load and save all types of geospatial data from disk including shp, geojson, gpkg, kml using pure Julia backends whenever possible. The package also implements fixes to the different backendโs results to improve the experience of end-users who donโt know or wanโt to deal with low-level interfaces.
BREAKING
- Replace passive rotations from ReferenceFrameRotations.jl by active rotations from Rotations.jl
- Replace
Chainconcrete type by an abstract type with two subtypesRing(for closed chains) andRope(for open chains). This way the closedness is part of the type, and we can avoid some internal copies of vertices. - Replace
CollectionbyGeometrySetand add support for heterogeneous collections of geometries. This means that points, segments, rings, polygons, etc. can be processed together in some algorithms. - Refactoring of
IntersectionTypeto a reduced list of types. This code simplification enabled more flexible intersections with meshes and domain types and also improved maintainability.
Refactoring ofCylinderandCylinderSurfaceconstructors for greater usability. - Replace
uniquecoordsbyUniqueCoordstransform.
Acknowledgements
Thanks to all contributors that made this release possible
![]()
DianaPat jwscook vickydeka lihua-cat @stla @dorn-gerhard @jackbeagley @cserteGT3 @kylebeggs @ErickChacon @mfsch @longemen3000 @hyrodium conordoherty spaette @eliascarv
Would like to support us? Leave a
on GitHub if you didnโt already!















