Repository navigation
Releases
GeoFrame 0.3.4
A patch release: installing without the optional kino dependency compiles without warnings,
and each GitHub release now attaches the license texts of the third-party Rust crates linked
into the precompiled NIFs. No public function changes.
Added
- Each GitHub release attaches
THIRD_PARTY_LICENSES.html, the license texts of the
third-party Rust crates the precompiled NIFs link, generated with cargo-about from
about.tomlfor all nine targets. The release workflow fails when a crate's license is not
one of the accepted licenses. The README and NOTICE point to the file.
Fixed
- Compiling GeoFrame without the optional
kinodependency no longer warns that
Kino.SmartCell.register/1is undefined (Elixir 1.19). CI now compiles the library without
its optional dependencies (kino,maplibre,kino_maplibre,postgrex) with warnings as
errors.
Full changelog: CHANGELOG.md
GeoFrame 0.3.3
The first release published to Hex, as the geoframe package. The Hex package downloads a
precompiled NIF for nine targets, verified against the checksum file it ships, so it needs no
Rust toolchain. The v0.3.3 git tag still builds the NIF from source (a stable Rust toolchain is
required). No public function changes.
Documentation
- The README installs GeoFrame from Hex (
{:geoframe, "~> 0.3.3"}), keeps the git tag and
path:dependency as the way to build from source, and shows Hex and HexDocs badges. - The release steps in the README publish the package from
MIX_ENV=prod(where Rustler is an
optional dependency) and the docs from:dev. - The Hex package links to its documentation on HexDocs.
- The README link to the reference suite guide (
test/reference/README.md) is an absolute
GitHub URL: as a relative link, ExDoc pointed it at the README page itself. - Community files for the public repository: a contributing guide, the Contributor Covenant
2.1 code of conduct, a security policy, issue and pull request templates, and Dependabot
configuration. The README lists the supported Elixir, OTP and Rust versions, and both Rust
crates declare their Apache-2.0 license.
Full changelog: CHANGELOG.md
GeoFrame 0.3.2
Like earlier releases, it is distributed through the v0.3.2 git tag and GitHub release, not
through Hex yet; the release attaches precompiled NIFs for nine targets. A git dependency builds
the NIF from source (a stable Rust toolchain is required).
A patch release that fixes the two known issues listed with 0.3.1: rows holding an empty member
point, and get_coordinates on non-finite values. No public function changes its signature.
Fixed
get_coordinatesreturns NaN and infinite ordinates (:nan,:infinity,:neg_infinity)
as Shapely does instead of raisingArgumentError: an infinite X, Y, Z or M, or a NaN X or Y,
could not cross from the NIF.to_wktwrites an empty member asEMPTY, as GEOS does. AMULTIPOINTwith an empty member
point (Shapely writesMULTIPOINT (EMPTY, (1 1))to WKB as a NaN point) madeto_wktraise a
NIF panic, and an empty member line of aMULTILINESTRINGor an empty ring of aPOLYGONwas
written as(), which no reader accepts.from_wktnow also readsMULTIPOINT (EMPTY, ...).- A
MULTIPOINTor collection with an empty member point (as Shapely writes
MULTIPOINT (EMPTY, (1 1))to WKB) is no longer treated as missing. As in GEOS, the member
takes no part in computations (is_emptyis false, andbounds,centroid, the measures,
predicates and constructive functions see the other members) but is still a member
(count_geometriescounts it,get_geometryandexplodereturn it asPOINT EMPTY, and the
affine functions keep it). Before,is_emptywas true and every measure null, and a
GeoPackage written from such a row read back as null. Checked on 1 200 random rows against
Shapely 2.2.
Known issues
- A
MULTIPOLYGONwith an empty member polygon (MULTIPOLYGON (EMPTY, ((0 0, 1 0, 1 1, 0 0))),
in WKT or WKB) cannot be stored and is rejected with a misleading message about mixed
dimensions. Present since earlier releases.
GeoFrame 0.3.1
Like earlier releases, it is distributed through the v0.3.1 git tag and GitHub release, not
through Hex yet; the release attaches precompiled NIFs for nine targets. A git dependency builds
the NIF from source (a stable Rust toolchain is required).
A patch release: WKT is read as GEOS reads it in two more cases. Text that 0.3.0 read is read the
same way, and no public function changes.
Fixed
- WKT without a
Z,MorZMtag whose coordinates have three or four ordinates is read as
GEOS reads it instead of raising:POINT (1 2 3)isPOINT Z (1 2 3)and four ordinates are
ZM (never M). The first coordinate sets the dimension, and every other coordinate of that
geometry must match it, as in GEOS. A collection member infers its own dimension
(GEOMETRYCOLLECTION Z (POINT (1 2 3))is valid;GEOMETRYCOLLECTION M (POINT (1 2 3))
raises "cannot mix dimensionality"). This applies toGeoSeries.from_wktand to WKT geometry
columns in GeoParquet, Feather and Arrow. Text that was read before is read the same way. On
12 000 random WKT texts, accepted and rejected inputs match Shapely 2.2, and so do the
coordinates, except for one GEOS quirk:MULTIPOINT (1 2 3 4, 5 6 7 8)(no inner
parentheses) is ZM here, while GEOS drops its M. - WKT ordinates
NaN,infandInfinity(any case, optional sign) are read as GEOS reads
them instead of raising, so the WKT thatto_wktwrites for a collection whose members mix
dimensions (GEOMETRYCOLLECTION Z(POINT Z(1 2 NaN),...), since 0.3.0) reads back, and Shapely's
Infinityis understood.POINT (NaN NaN)reads asPOINT EMPTY, the GeoArrow empty point.
Known issues
- A
MULTIPOINTwith an empty member point, which Shapely writes to WKB as a NaN NaN point
(MULTIPOINT (EMPTY, (1 1))), reads withis_emptytrue for the whole row, andto_wktof it
raises (:nif_panicked). Present since earlier releases; tracked for a later release. get_coordinatesraisesArgumentErroron an infinite ordinate. Present since earlier releases.
GeoFrame 0.3.0
Like earlier releases, it is distributed through the v0.3.0 git tag and GitHub release, not
through Hex yet; the release attaches precompiled NIFs for nine targets. A git dependency builds
the NIF from source (a stable Rust toolchain is required).
This release closes the GEOS and GDAL parity gaps left from 0.2.0. GeoFrame now reads curved
geometries and collections whose members mix dimensions, and follows GEOS for single-sided
polygon buffers and simplify's repair. No public function changes its signature. The results that change are
listed under Changed and Fixed.
Added
- Curved geometries are read linearized, as GDAL reads them:
CircularString,CompoundCurve,
CurvePolygon,MultiCurveandMultiSurface(ISO WKB, PostGIS EWKB and GeoPackage
binary, with Z, M or both, either byte order) becomeLineString,Polygon,
MultiLineStringandMultiPolygon. GDAL 3.12's arc stroking is ported (4° steps,
OGR_ARC_STEPSIZEhonoured, full circles and collinear arcs), so vertices match pyogrio bit
for bit on 30 fixture cases and within 3e-12 on 26 000 fuzzed arcs. It covers GeoPackage
(read_fileandstream_file),read_postgis,GeoSeries.from_wkband GeoParquet / Feather
WKB columns, andread_file_info/list_layersreport the linear type. Before, one curve
row aborted the whole read. WKT curves are still an error. - A
GEOMETRYCOLLECTIONwhose members have different dimensions (a 2D point next to a Z point)
is read as GEOS reads it instead of raising. The collection has Z when any member has Z and M
when any has M, whatever the WKB header says. A GeoArrow collection holds one dimension, so
the members are promoted withNaNfor the ordinates they lack, which is what Shapely's
get_coordinatesreports.has_z,has_m,z,mandforce_2dagree with GeoPandas,
but the promoted member's WKT and WKB carryZ NaN. In WKT, a member of another dimension
inside a collection taggedZ,MorZMis still an error, as in GEOS.
Changed
buffer(single_sided: true)on polygons follows GEOS. The polygon gets the ordinary buffer,
the input and buffer boundaries are noded, and the largest face is kept when there is more
than one. For a square of sides, a positive distancednow returns the polygon itself
froms/d ≈ 4.68, and a negative one returns the ordinary negative buffer from about 6.83;
the old guide of "about four times the distance" was wrong. 2 700 fuzzed cases agree with
Shapely within 2 % area. Lines and points are unchanged.simplify(preserve_topology: false)repairs an invalid Douglas-Peucker result with GEOS's
buffer(0), ported to Rust (DPTransformer::createValidArea: per polygon, once per
multipolygon). A self-crossing ring keeps its positive-winding lobes, and overlapping or
edge-touching parts dissolve. Results match Shapely vertex for vertex, including ring start,
direction and part order: 15 475 fuzzed repairs, the 50 European countries of the tour at 2, 5
and 20 km, and 242 countries at 50 km. Valid results are untouched.- On a polygon with Z, the vertices that repair adds take GEOS's Z instead of
NaN. A new
crossing node gets the mean of the Z interpolated along its two segments, and aNaNZ lying
on another ring is interpolated along it. 1 390 of 1 504 fuzzed repairs agree on every Z; the
rest are points where three or more rings meet.
Fixed
dissolve(observed: false)takes each key's levels from its own values. It used
Explorer.Series.categories/1, which in Explorer 0.13 returns every string categorized
anywhere in the process, so unrelated categories (and, under concurrency, values from other
frames) could appear as groups. Unobserved combinations of several keys are still added, as
pandas does.
Documentation
set_precisionon an invalid multipolygon keeps its merged, valid result invalid_output
andkeep_collapsedwhere GEOS raisesTopologyException(about half of random invalid
multipolygons). This is a decision, pinned by a test.- The reference suite has 19 118 cases: 18 393 agree with GeoPandas / Shapely, 725 are
documented deviations and none is unexplained (0.2.0: 18 379 agree, 739 documented).
GeoFrame 0.2.0
Like 0.1.x, it is distributed through the v0.2.0 git tag and GitHub release, not through Hex
yet. The release attaches precompiled NIFs for nine targets; they are used once GeoFrame is on
Hex, where no Rust toolchain is needed. A git dependency builds the NIF from source (a stable
Rust toolchain is required).
This release adds batched reads (stream_file/2), grouped aggregation (group_by, summarise,
group_map) and precompiled NIFs, closes a set of GeoPandas parity gaps, and makes a few
behaviours stricter or closer to GDAL and GEOS. Five changes need a look in existing code; see
Breaking changes.
Breaking changes
set_crs/3no longer overrides an existing CRS. Setting a different CRS on a series or
frame that already has one raisesArgumentError, as in GeoPandas; the same CRS is a no-op, a
missing CRS is set, andnilstill clears. Migration: to relabel on purpose, pass
allow_override: true(set_crs(gdf, "EPSG:3857", allow_override: true)); to change
coordinates, useto_crs/2.read_file(bbox:),stream_file(bbox:)and FlatGeobuf reads use GDAL's semantics: a
feature is kept when its geometry intersects the box, not when its envelope does. A diagonal
LINESTRING (0 0, 10 10)is dropped by the box6 0 9 3. Shapefile, GeoPackage and GeoJSON
gain the option with the same rule; GeoParquet keeps its covering-box semantics, as GeoPandas.
Migration: results can lose rows that only the envelope touched; if you relied on the envelope
test, filter withGeoSeries.total_boundsor an envelope intersection after reading.write_feather/3andto_arrowwrite 65 536-row record batches by default, as pyarrow
and GeoPandasto_feather, instead of one record batch per file. Migration: pass
record_batch_size:(a positive integer) to choose another size; a file with a single batch
needs a size at least as large as the frame. Existing files read the same.- On a grouped frame,
head,tail,sliceandsampleact per group (Explorer's grouped
semantics, pandasgroupby.head), keeping the original row order, with the geometry aligned.
Migration: callungroup/2first to get the old global behaviour. Ungrouped frames are
unchanged. summarisewith:n_distinctno longer counts nulls (pandasnunique). Migration: the
previous value is the new one plus one for each group whose column holds a null.
Added
- Precompiled NIFs through
rustler_precompiled: the release workflow builds
aarch64-apple-darwin,aarch64-unknown-linux-gnu,aarch64-unknown-linux-musl,
x86_64-apple-darwin,x86_64-pc-windows-gnu,x86_64-pc-windows-msvc,
x86_64-unknown-freebsd,x86_64-unknown-linux-gnuandx86_64-unknown-linux-musl(NIF
version 2.15) on eachv*tag and attaches them to the release. A Hex package verifies the
download against a shipped checksum file;GEOFRAME_BUILD=trueforces a source build. - A git or path dependency builds the NIF from source automatically (no
GEOFRAME_BUILD
needed), because a package without the checksum file cannot download a precompiled NIF; Rustler
is then fetched as a dependency. GeoFrame.stream_file/2: a lazyStreamofGeoDataFramebatches for GeoParquet,
FlatGeobuf, Feather / Arrow IPC, Shapefile (.shp,.zip), GeoPackage and GeoJSON, with
batch_size:(default 65 536),bbox:,columns:and format options. Concatenating the
batches equalsread_file/2; early halts release the reader. On 500 000 points with
10 000-row batches, peak memory is 155 to 196 MB against 235 to 308 MB for a whole read
(GeoJSON 72 MB: 175 MB against 637 MB).read_file(path, rows: n | first..last)for every format, as GeoPandasrows=: the firstn
rows or an inclusive range, applied afterbbox:and skipping rows cheaply where the format
allows (for examplerows: 10on a GeoParquet file: 1 ms against 239 ms).read_file(bbox:)for Shapefile, GeoPackage and GeoJSON, andrecord_batch_size:on
write_feather/to_arrow.GeoDataFrame.group_by/2,ungroup/2,groups/1andsummarise/3: attribute aggregations
(:sum :mean :median :min :max :count :first :last :n_distinct) and geometry aggregations
(:union_all :intersection_all :collect :envelope :convex_hull :centroid :first :last :count)
computed in one NIF call, 8 to 14 times faster than a per-group loop at 100 000 rows and 1 000
groups.summarise(group_by(gdf, by), [])equalsdissolve(gdf, by: by).GeoDataFrame.group_map/4(pandasgroupby(by).apply(fun)) and the top-levelGeoFrame
delegatesgroup_by/2,summarise/3,ungroup/2andgroup_map/4.sindex_query/4accepts a list of WKT strings or a single WKT string as input (a single
geometry returns the ascending tree indices, as GeoPandas) and thesort:option;
get_geometry/2takes a per-row index list or series.GeoDataFrame.from_features/2keeps the property column order for ordered input (keyword
lists,{key, value}pairs,Jason.OrderedObject);to_geo_dict/2with GeoPandas'na:,
show_bbox:anddrop_id:;GeoDataFrame.to_wkb/2(hex:,srid:),to_wkt/2and
rename_geometry/2.dissolveacceptsas_index: falseandobserved: false(unobserved categories become empty
groups);as_index: trueandlevel:raise because GeoFrame has no index. The default stays
observed: true.frechet_distanceworks on every geometry type, as GEOS, not only onLineStrings.buffer/3takes a per-row distance (a list withnil, or a series) andsingle_sided:; lines
and points match GEOS, polygons return the band, which matches GEOS only for polygons small
relative to the distance (documented indocs/parity.md).- The vertex constructors (
line_strings_from_vertices,polygons_from_rings, ...) accept
{x, y, z}and[x, y, z]vertices as Shapely 2.2. GeoFrame.Kino.deck/2: click popups (popup: true | [columns]) and several layers
(deck([gdf1, {gdf2, name: ..., color: ...}], opts)) with a layer-control panel; a single
frame sends the same payload as before.- Shapefiles and GeoPackages written with one of the 1 217 supplementary EPSG codes keep their
definition: a WKT1.prjis written and the GeoPackagedefinitionis filled, instead of a
warning andundefined. 119 codes have no WKT1 in PROJ (Krovak Modified 5515 and 5516, 3D,
geocentric and compound CRSs) and behave as before.
Changed
- A missing Z reads as 0, as GDAL: a two-value position in a 3D GeoJSON geometry, and a row
without Z written to a Shapefile or FlatGeobuf layer with Z (a storedNaNZ staysNaN). is_validis false andmake_validrepairs a polygon whose interior is disconnected, as GEOS
(Interior is disconnected): a hole touching the shell at two or more points, or a chain or
cycle of holes cutting the interior. A single touch stays valid.null_out_invalidnulls
these polygons.is_valid_reasonfollows GEOS's check order and wording (Self-intersection[2 2],
Hole lies outside shell[...],Too few points in geometry component[...], and so on).polygonizewithnode: trueand lines crossing polygons matches GEOS: no extra small face,
and the crossing point is a vertex of the merged ring. On a 2 000-case fuzz,polygonize
mismatches fell from 46 to 2 (and 54 to 3 on a second seed), with no case worse;build_area
improves too (495 to 472 and 474 to 450) but still differs from GEOS where GEOS drops collinear
vertices.
Documentation
docs/parity.mdand the README follow every change above. The reference suite is
now 19 118 cases: 18 379 agree with GeoPandas / Shapely and 739 are documented deviations,
none unexplained (0.1.1: 18 134 agree and 730 documented of 18 864).
Internal
- The release workflow uploads artifacts on pull requests that change it; the
.cargoconfig
links musl cdylibs without static CRT.
Full changelog: CHANGELOG.md
GeoFrame 0.1.2
Like 0.1.1, it is distributed through the v0.1.2 git tag and GitHub release, not through Hex.
CRS handling now follows PROJ more closely. Results change in two places, each to match
pyproj 3.8 / PROJ 9.8: the datum operation chosen for some EPSG codes, and ESRI WKT1 .prj
files that were refused or answered without the right datum shift.
Changed
- The datum operation to WGS 84 is chosen as PROJ chooses it: a null operation listed first
wins (GDA94 and GDA2020 no longer get a 1.7 m Helmert step), operations whose area is offshore
come before onshore ones, a datum with one operation applies it everywhere, andhelmert exact
operations are applied exactly (Saba, Sint Eustatius, Bonaire). By EPSG code, CRSs more than
5 cm from pyproj fell from 294 to 95 of 5 934 (GDA94 / GDA2020 1.7 m, RD/83 and PD/83 182 m,
Saba 9 m now agree). Operations PROJ orders by a projected CRS's own area of use are not
modelled yet (for example Minna / UTM 12 m, ED50 / UTM up to 1.6 m). - An ESRI WKT1
.prjon a non-Greenwich prime meridian resolves through its EPSG geographic CRS,
identified by the datum name and the prime meridian, and reprojects like pyproj: NTF (Paris) /
Lambert zone II, Lisbon, CH1903 (Bern), S-JTSK (Ferro), Batavia and Gunung Segara (Jakarta),
MGI (Ferro) Austria grids. Text that GeoFrame cannot reproject correctly is refused with a clear
error instead of answered tens to hundreds of metres off: MGI (Ferro) and Monte Mario (Rome)
geographic text, and EPSG:5221 written as ESRI text.
Fixed
- ESRI WKT1 projection names that were refused with
unsupported WKT definitionare read, onto
methods GeoFrame already had:Gauss_Kruger,Albers,Cassini,Double_Stereographic
(RD New, EPSG:28992), polarStereographicvariants, Hotine and Rectified Skew Orthomorphic
variants, Mercator variant B, Krovak withX_Scale/Y_Scale/XY_Plane_Rotation, LCC 2SP
Michigan,Equal_Earth, Lambert azimuthal equal area and a few more. Of 5 330 projected EPSG
CRSs written as WKT1_ESRI, 36 are still refused (was 1 007), and 30 are more than 5 cm from
pyproj (was 115).
Full changelog: CHANGELOG.md
GeoFrame 0.1.1
Like 0.1.0, it is distributed through the v0.1.1 git tag and GitHub release, not through Hex.
Results change in three places, each to match GEOS or PROJ: is_valid and make_valid on
collinear (zero-area) rings, polygonize and build_area with node: true, and to_crs on
ESRI WKT1 .prj files, which now get the datum shift PROJ applies.
Added
set_crs/2onGeoSeriesandGeoDataFrameaccepts a positive integer EPSG code, like
to_crs/2already did:set_crs(series, 3857)stores"EPSG:3857", the same label as the
string input. A non-positive integer raisesArgumentError.
Changed
- A polygon ring whose vertices are all collinear (zero area) is now invalid, as in GEOS:
is_validis false (reasonSelf-intersection[...]orToo few points in geometry component[...]) andmake_validcollapses it to linework (MULTILINESTRING,LINESTRINGor
POINT) instead of returning it unchanged. A valid polygon with a collinear hole, or a
multipolygon with a collinear part, becomes aGEOMETRYCOLLECTIONof the polygon and the
linework. The reference
suite is now 18 134 agree and 730 documented deviations out of 18 864. polygonizeandbuild_areawithnode: truekeep every input vertex that lies on the merged
outline, as GeoPandas does (shapely.polygonize([union_all()])). Two squares sharing an edge
now givePOLYGON ((0 0, 0 1, 1 1, 2 1, 2 0, 1 0, 0 0))instead of dropping the collinear
vertices. On a 400-case fuzz against GEOS,polygonizemismatches fell from 232 to 8 and
build_areafrom 245 to 134, with no case worse.- An ESRI WKT1
.prj(GCS_.../D_...names, noAUTHORITY) now gets the datum shift PROJ
applies, identified by the DATUM name instead of the GEOGCS name: ED50 about 138 m, OSGB36
about 109 m, Tokyo about 463 m, NAD27 UTM about 20 m. Before,to_crs/2returned the unshifted
coordinates for that text. Against pyproj on 1 110 CRSs written as WKT1_ESRI, mismatches over
5 cm fell from 716 to 60, with no case worse. GDA94, GDA2020 and CR-SIRGAS are not covered, and
a definition with a non-Greenwich prime meridian (Ferro, Paris, Rome, ...) keeps its previous
result.
Fixed
- An ESRI WKT1
.prjfor a StatePlane CRS (for example ESRI:102649, Arizona Central in US
survey feet) is now read byto_crs/2,set_crs/2andGeoFrame.Kino.deck/2instead of
raisingunsupported WKT definition. WKT1 parameter names are matched without regard to
case (ESRI writesFalse_Easting,Standard_Parallel_1), and ESRI's
Lambert_Conformal_Conicis read as the 2SP method when it has a second standard parallel, and
as the 1SP method (withStandard_Parallel_1equal toLatitude_Of_Origin, as ESRI writes it)
otherwise; a lone standard parallel that differs from the origin is still refused.
Foot_USandFootunits are honoured. Reprojection matches pyproj. - Mixed-dimension geometry collections (XY, XYZ, XYM and XYZM members together) no longer print
GeoArrow panic messages on stderr. The error returned is the same and behaviour is unchanged.
Documentation
- The description of GEOS
set_precisionon invalid multipolygons indocs/parity.mdis
corrected: GEOS keeps a part whose edges meet no other part's, merges parts with coinciding
edges, and raisesTopologyExceptionon crossing edges.
Internal
- CI caches the compiled NIF together with
_build. - The linear-referencing property test no longer asserts that
projectreturns the earliest
pass on overlapping lines, which GEOS does not guarantee either.
Full changelog: CHANGELOG.md
GeoFrame 0.1.0
First tagged release. It is distributed through the v0.1.0 git tag and GitHub release, not
through Hex. The NIF is compiled on your machine, so you need a stable Rust toolchain; Elixir
1.17 or later.
Added
- Core:
GeoFrame.GeoSeries, a GeoArrow geometry column held in Rust behind a Rustler
resource, andGeoFrame.GeoDataFrame, an ExplorerDataFrameof attributes aligned with that
geometry. Row-changing operations apply the same row indices to both. A frame can carry
secondary geometry columns, each with its own CRS. - Reading and writing: GeoParquet (with
bbox:filter and write options), GeoJSON,
FlatGeobuf, Feather v2 and Arrow IPC, Shapefile (.cpg,.prj, zipped), GeoPackage (several
layers), and WKT/WKB.read_file/2andwrite_file/3pick the format from the extension;
list_layers/2andread_file_info/2describe a file. Files written by GeoPandas 1.2 read
directly, and GeoPandas reads what GeoFrame writes. - PostGIS:
read_postgis/3andto_postgis/4over the optional:postgrexdependency,
with an EWKB Postgrex extension and exactnumericreads. - Coordinate reference systems:
set_crs/2,to_crs/2andestimate_utm_crs/2, in pure
Rust onproj4rs(no PROJ install). EPSG codes plus PROJJSON and WKT1/WKT2 definitions
without a code; datum shifts through NTv2/GeoTIFF grids (GeoFrame.Grids, nothing is
downloaded) or the Helmert operation PROJ picks by area of use.to_crsagrees with pyproj
to 1e-6 projected units on the reference cases. - Spatial joins and overlays:
sjoinandsjoin_neareston an R-tree (every predicate,
dwithin, ties,max_distance),sindex_query,sindex_nearest,dissolvewith attribute
aggregation, andoverlay(all fivehows),clip,explode,union_alland
intersection_all. - Geometry operations with GeoPandas parity: measures (planar, geodesic, haversine,
Hausdorff, Frechet), element-wise predicates, constructive operations (buffer, offset curve,
simplify, hulls, bounding shapes, Delaunay, Voronoi, polygonize, snap, set precision,
make_valid), linear referencing, affine transforms, coverage validation and simplification,
andmake_grid. See docs/parity.md for the full GeoPandas parity matrix and
the documented deviations. - Z and M coordinates: XY, XYZ, XYM and XYZM geometries,
has_z/1,has_m/1,z/1,
m/1,force_2d/1,force_3d/1,from_xy(z:)andget_coordinates(include_z:, include_m:),
preserved through reprojection, affine operations, overlay and every I/O format (GeoJSON keeps
Z only, as RFC 7946 has no M). - Explorer verbs on
GeoDataFrame:select,discard,rename,put,pull,
filter_with,sort_with,mutate_with,head,tail,slice,sample,distinct,
drop_nil,join/merge with aDataFrameor anotherGeoDataFrame, andconcat_rows; the
geometry follows the rows. - Livebook and Kino:
GeoDataFrameandGeoSeriesrender with Map, Table and Inspect
tabs;GeoFrame.Kino.deck/2is a deck.gl widget fed with binary geometry buffers (a million
features stay interactive) with hover tooltips, colour and size by column, a colour legend
and a scale bar; two Smart Cells, Read spatial file and Spatial join. Payloads are
capped by feature and vertex counts. - Testing helpers:
GeoFrame.Testingassertions for geometry series and frames, including
secondary geometry columns. - Quality: a differential suite checks every operation shared with GeoPandas 1.2 /
Shapely 2.2 (18 864 reference cases: 18 131 agree, 733 are documented deviations), inputs are
bounded and files are written atomically,
and four notebooks (tour, deck.gl widget, GeoFrame vs GeoPandas, spike) run in CI.
Known issues
- An ESRI WKT
.prjfor a StatePlane CRS in US survey feet (for example
NAD_1983_StatePlane_Arizona_Central_FIPS_0202_Feet) is not recognised, so
GeoDataFrame.to_crs/2and the Kino deck reprojection raiseArgumentError. Workaround:
GeoDataFrame.set_crs(frame, "EPSG:2223"), the same projection in international feet (about
2 ppm off, fine for maps).
Full changelog: CHANGELOG.md