Repository navigation
v3.0.0-beta.2
Pre-release
Pre-release
GISTools 3.0.0-beta.2
Second beta of the 3.0 release. Main changes since beta.1:
OGC/PostGIS containment
containsis now interior-only (ST_Contains); newcovers(ST_Covers) and
locate(interior/boundary/exterior) APIs.- Hole boundaries now behave like outer boundaries — fixes inverted enclave and
hole results. - Geometry-level
contains/coversare segment-aware instead of vertex-only. - Robust point-in-ring predicate fixes points exactly on an edge.
Parsing, Codable and JSON
Codablepreserves booleans, nested arrays andnull.asJsonData()emits shortest round-trip numbers and stable sorted keys.- New
GeoJsonParserwith lenient/strict modes and JSON Pointer issue paths. - Supports unlocated features (
"geometry": null). - Typed GeoJSON decoding: ~0.23 s for the 640k-vertex benchmark (was ~1 s).
Breaking changes
Coordinate3D(x:y:)now requiresprojection:; use
Coordinate3D.epsg3857(x:y:),.epsg4978(...)or.noSRID(...).containsis interior-only; usecoversfor boundary-inclusive checks.Feature.geometryis optional; WKB/WKT returnnilfor unlocated features.
Other
- Antimeridian-aware overlay operations, including raw EPSG:3857 polygons.
- Generic benchmark suite (
swift run -c release Benchmarks).
See CHANGELOG.md for the full migration notes.