Repository navigation
v0.10.0
Highlights
- xarray, cubes and vector inputs in any form: the
.terrioaccessor runs terrio's raster operations (dem,sieve,proximity,fill_nodata,reclassify,viewshed,polygonize,contour,zonal_stats) directly on DataArrays and Datasets, and.terrio.cliptakes GeoPandas objects, vector files and single geometries (#1043, #1044).terrio zonal-statswrites a Zarr v3 cube of(geometry, time, band, statistic)with CF geometries that xarray, cf_xarray and xvec open, and.terrio.zonal_statsreduces cubes (#1068, #1071). Operations that take vector data accept paths, GeoPandas, Shapely, GeoJSON, WKT and bounds (#1067). - Faster warps and GeoTIFF reads:
terrio warpis 2 to 3.5x faster per core with unchanged outputs: a 7200 x 7200 Copernicus DEM to UTM takes 0.55 s instead of 1.96 s with nearest (#1050, #1207, #1208). Deflate floats withPREDICTOR=3read about 2x faster, on par with GDAL (#1052); LZW reads 1.2 to 1.3x faster and LZW writes use a specialized encoder (#1055, #1288). Pure-Rust Zstandard moves tozrip: ZSTD GeoTIFFs read 2.5 to 3.2x as fast (#1247). Opening a local GeoTIFF reads about 25 KB instead of 410 KB (#1101). - GeoParquet that skips what it does not need: bbox reads skip row groups by native GEOMETRY statistics and GeoArrow coordinate statistics (#1031, #1281),
terrio sqlpushes WHERE clauses down to row-group statistics, 1.5 to 2.8x faster (#1294), and a bbox read of 2 million GeoArrow points takes about 1 s instead of over 120 s (#1270). - Smaller, faster terrio-js: two single-format modules,
terrio-js/cog(0.30 MB Brotli) andterrio-js/geoparquet(0.91 MB Brotli), against 2.56 MB forterrio-js/core(#1053, #1054, #1246).openCogreturns as soon as the header arrives, remote reads awaited together run together, and vector files open 1.7 to 4x faster (#1137, #1147, #1150, #1192). - Remote rasters and STAC: a remote COG window's rows of tiles are fetched in one round of requests, faster than GDAL for 128 and 256 px tiles (#1241), and a slow request no longer holds up the rest (#1190). A STACIT mosaic window of eight Sentinel-2 COGs takes 12 s instead of 31 s (#1179), catalogs fetch their item links sixteen at a time (#1188), and reduced reads use the items' overviews (#1182).
- Better overviews and DEM editing:
OVERVIEW_RESAMPLING=AREA_MATCHEDbuilds overviews whose valid area matches the full-resolution image, for continuous and categorical rasters (#1253), and GeoTIFF and COG writes accept your own overview pixels (#1268). Rasterize can edit an existing DEM from vector elevation attributes with--backgroundand--add(#1129).terrio simplify --method douglas-peuckerandsimplify_wkbsimplify in parallel (#1254). - terrio-crs 0.3.0, on PROJ 9.9.0: the EPSG dataset v13.102 (281 more EPSG CRSs) (#1077), the Transverse Mercator Zoned Grid System and
iseaas PROJ 9.9.0 computes it (#1096, #1097), the datum shift grids a transformation needs with where to get them (#1075),Transformer::has_non_ballpark_operation(#1244) and the PROJ string GDAL writes, also in Python, JavaScript and the CLI (#1098, #1111). Dozens of WKT, PROJ-string and BOUNDCRS readings now match PROJ 9.9.0, through one CRS model read once per text. - Python: the wheels install about a third smaller on Linux and macOS (#1130), and
terrio.rio.env.defenvstarts a default environment (#1175). - Behavior changes:
- Rust API:
VectorDataset,RasterWriteOptions,VectorWriteOptionsandWarpOptionsgain public fields; struct literals naming every field need them, or..Default::default()for the options (#1047, #1099, #1227, #1268). - PROJ strings with names PROJ does not know (
+ellps=foo,+units=feet) or unreadable origin parameters are refused instead of read as WGS 84, metres or 0 (#1062). - Deprecated EPSG codes keep their own definition, a WKT's declared code is kept only when its content is that CRS, and CRSs are identified as PROJ 9.9.0 identifies them (#1040, #1051, #1119).
- New external
.ovrimages of several bands are written band-separate, as GDAL writes them (#1045), andZSTD_LEVELtakes effect up to level 4 in pure-Rust builds (#1247).
- Rust API:
See CHANGELOG.md for the full list.
What's Changed
- docs(playground): update terrio-js to 0.9.0 by @giswqs in #1021
- terrio-crs: WKT 2 BOUNDCRSs to another CRS than WGS 84 place points as PROJ does by @pick2510 in #1022
- terrio-crs: read grads and named prime meridians in WKT as PROJ does by @pick2510 in #1024
- terrio-crs: PROJ reference tests for WKT datums known by EPSG ID or name by @pick2510 in #1025
- terrio-crs: WKTs PROJ does not resolve to their EPSG CRS place points as PROJ does by @pick2510 in #1029
- terrio-crs: read WKT with Mercator variant A or a node of any keyword, as PROJ does by @pick2510 in #1023
- Fix Parquet spatial and attribute row group pruning by @giswqs in #1031
- terrio-crs: read PROJ-string ellipsoid parameters as PROJ does by @pick2510 in #1026
- conformance: register the #1012 WKT and PROJ-string tests; REUSE and NOTICE for their fixtures by @pick2510 in #1036
- fix(python): issue TERRIO_WARP_GRID warnings to Python callers (#1037) by @nkarasiak in #1039
- fix(crs): refuse a WKT CRS keyword with no definition after its name (#1032) by @nkarasiak in #1041
- feat(xarray): clip takes GeoPandas objects, vector files and single geometries by @nkarasiak in #1044
- ci(bench): comment CPU-instruction changes vs main on pull requests by @nkarasiak in #1046
- test: pin the USGS 3DEP test tiles to their 2026-07-08 edition by @pick2510 in #1048
- terrio-crs: deprecated EPSG codes keep their own definition, as PROJ does by @pick2510 in #1040
- terrio-crs: read a WKT 2 BOUNDCRS over a WKT 1 source CRS as PROJ does by @pick2510 in #1049
- perf(warp): 2–3.5x faster single-thread warps, outputs unchanged by @nkarasiak in #1050
- perf(tiff): read Deflate floats with the floating-point predictor 2x faster by @nkarasiak in #1052
- feat(xarray): terrio's raster operations on the .terrio accessor by @nkarasiak in #1043
- overview: compute external overviews of several bands as GDAL does (odd sizes) by @rvalavi in #1045
- feat(js): terrio-js/cog, a GeoTIFF-only WebAssembly module (0.65 MB Brotli) by @nkarasiak in #1053
- ci(bench): green status per benchmark, N/N within range, estimated cycles by @nkarasiak in #1056
- terrio-crs: read a WKT by its nodes, not by a root code that is not its CRS by @pick2510 in #1051
- terrio-crs: a datum PROJ finds by its name on an altered ellipsoid keeps its transformation by @pick2510 in #1060
- terrio-crs: WKT 1 EPSG parameter names, a PROJCS's first UNIT and GeoKeys projection parameters read as PROJ and GDAL read them by @pick2510 in #1059
- terrio-crs: a WKT 2 source is read by its own geographic CRS, not a WKT 1 BOUNDCRS target's by @pick2510 in #1061
- terrio-crs: PROJ strings read as PROJ reads them: angles, unknown names and unreadable origin parameters by @pick2510 in #1062
- terrio-crs: report EPSG null transformations by name, and follow PROJ's datum pivot for an unresolved source CRS by @pick2510 in #1063
- terrio-crs: run a null transformation geocentrically from a WKT's other ellipsoid by @pick2510 in #1064
- terrio-crs: give GR96 as the geographic CRS of ESRI's GCS_Greenland_1996 by @pick2510 in #1065
- terrio-crs: test every EPSG and ESRI CRS's reading against PROJ's PROJJSON by @pick2510 in #1066
- terrio-crs: write a CRS's own TOWGS84 to GeoKeys, not a code it is only identified as by @pick2510 in #1069
- terrio-crs: place a Web Mercator WKT with its own TOWGS84 as EPSG:3857, as PROJ does by @pick2510 in #1070
- ci: ignore four zip 8.6.0 advisories wbraster's build cannot reach by @pick2510 in #1073
- terrio-crs: build a CRS's definition once per SpatialRef by @pick2510 in #1072
- terrio-crs: list the grids a point's transformation needs, with where to get them by @pick2510 in #1075
- terrio-crs: EPSG v13.102 (PROJ 9.9.0) tables, corpus and EPSG reference points by @pick2510 in #1077
- terrio-crs: test references on PROJ 9.9.0 (#1076 b) by @pick2510 in #1078
- terrio-crs: compute the Transverse Mercator Zoned Grid System (EPSG:32600 and 32700) by @pick2510 in #1096
- ci(review): explain flagged benchmark regressions by @nkarasiak in #1057
- Read a GeoPackage's signed feature IDs back with signed_fid by @nkarasiak in #1079
- terrio.rio: warp a source dataset with no CRS without reprojecting it by @nkarasiak in #1080
- perf(js): terrio-js/cog without JPEG XL, 0.30 MB Brotli by @nkarasiak in #1054
- terrio-crs: compute isea as PROJ 9.9.0 does (polyhedral Snyder equal area) by @pick2510 in #1097
- terrio-crs: SpatialRef::to_proj4_gdal, the PROJ string GDAL exports with its +towgs84 by @pick2510 in #1098
- crs-list: name EPSG's and ESRI's changes since PROJ 9.8.1 instead of reporting them as differences (#1076 c) by @pick2510 in #1103
- terrio-crs: helmert_to_wgs84, the Helmert transformation to WGS 84 PROJ 9.9.0 picks without grids by @pick2510 in #1105
- feat: vector inputs in any form: paths, GeoPandas, Shapely, GeoJSON, WKT, bounds by @nkarasiak in #1067
- Local GeoTIFF and JPEG 2000 reads no longer re-read their headers after each seek by @nkarasiak in #1101
- perf(tiff): decode LZW 1.2–1.3x faster with a copy-from-output decoder by @nkarasiak in #1055
- terrio-crs: ESRI:102151 and 102964 in the ESRI table by @pick2510 in #1106
- warp: periodic_longitude option for sources not continuous across their 180° edge by @nkarasiak in #1099
- feat(zonal): zonal statistics as a cube, written to Zarr with CF geometries by @nkarasiak in #1071
- terrio-crs: one table of the WKT keywords, from the OGC 18-010r11 BNF (#1058 step 1a) by @pick2510 in #1109
- ci(bench): one clearer performance comment; the code review leaves speed to it by @nkarasiak in #1108
- Python, JavaScript and CLI: the PROJ string GDAL writes (crs_to_proj4_gdal, crsToProj4Gdal, --proj4-gdal) by @pick2510 in #1111
- ci(bench): peak memory of each benchmark in the performance comment by @nkarasiak in #1110
- GeoTIFF: read a window of an uncompressed strip over the chunk limit by its rows by @nkarasiak in #1100
- build(deps): bump alpine from
be26560tof59abe6in the docker group by @dependabot[bot] in #1089 - build(deps): bump the actions group with 2 updates by @dependabot[bot] in #1090
- build(deps): bump the cargo group with 7 updates by @dependabot[bot] in #1091
- build(deps): bump ras-commander-fast-hdf from 0.4.0 to 0.5.0 by @dependabot[bot] in #1092
- build(deps): bump webp-rust from 0.3.2 to 0.5.0 by @dependabot[bot] in #1093
- terrio-crs: a WKT's root code read from its tree, wherever the ID is (#1058 step 1b) by @pick2510 in #1112
- terrio-crs: the rest of #1058 step 1b: ellipsoid units, ESRI VERTCS, bound CRS axes, keyword order by @pick2510 in #1113
- fix: decouple NetCDF and HDF5 updates from HEC-RAS by @giswqs in #1114
- terrio-crs: a vertical datum's geoid grids drop a declared code, as in PROJ by @pick2510 in #1115
- fix(rio): a new dataset reports the color interpretation its file reads back by @gmoralessanchez in #1088
- geojson: type array properties as GDAL's list fields (#614) by @rvalavi in #1047
- build(deps): bump laz from 0.13.0 to 0.14.0 by @dependabot[bot] in #1116
- feat(xarray): zonal statistics of cubes, indexed by the zones' geometries by @nkarasiak in #1068
- terrio-crs: a CRS model read once from the WKT tree (#1058 step 2) by @pick2510 in #1117
- terrio-crs: fitting a code compared once, in fits.rs (#1058 step 4a) by @pick2510 in #1118
- terrio-crs: CRSs identified as PROJ 9.9.0 identifies them (#1058 step 4b) by @pick2510 in #1119
- terrio-crs: a WKT text parsed once, behind a memo (#1058 step 3a) by @pick2510 in #1121
- ci(bench): benchmark 52 terrio commands too, with their peak heap by @nkarasiak in #1122
- terrio-crs: a WKT's ellipsoid and datum read where PROJ reads them (#1058 step 3b) by @pick2510 in #1124
- ci(bench): a shorter performance comment, flagged measures first with bars, the rest folded by area by @nkarasiak in #1123
- terrio-crs: projection parameters and world projections in one table (#1058 step 5a) by @pick2510 in #1125
- terrio-crs: a GeoTIFF code with its own datum shift read back with it (#1012 item 62) by @pick2510 in #1126
- terrio-crs: a PROJ string's EPSG method decided once, in methods::conversion_from_proj by @pick2510 in #1127
- terrio-crs: a southern UTM zone's conversion code in PROJJSON, as PROJ writes it by @pick2510 in #1132
- Python wheels: a third smaller installed on Linux and macOS (stripped, fat LTO) by @nkarasiak in #1130
- terrio-crs: PROJJSON of omerc without lonc, Mercator with lat_ts, spherical methods and Miller, as PROJ writes them by @pick2510 in #1134
- terrio-crs: WKT 1 of LCC with a second parallel, and south-orientated axes, as PROJ writes them by @pick2510 in #1135
- terrio-crs: test the GeoKeys of LCC and south-orientated Transverse Mercator against GDAL by @pick2510 in #1140
- terrio-crs: WKT 1 Mercator_1SP with a latitude of origin, as PROJ reads it by @pick2510 in #1142
- Release builds test the published Python wheels by @nkarasiak in #1143
- terrio-crs: WKT 1 LCC 2SP with a scale_factor, as PROJ reads it by @pick2510 in #1144
- ci(bench): benchmark main and the pull request in parallel jobs by @nkarasiak in #1145
- perf(js): terrio-js/cog opens a COG from the first bytes of its first block by @nkarasiak in #1137
- terrio-crs: ESRI LCC with one standard parallel, as PROJ reads it by @pick2510 in #1146
- fix(zonal): Zarr cube field names off reserved names, nullable integers lossless by @nkarasiak in #1149
- perf(js): openUrl opens from the header as it arrives, GeoParquet in one request from its end by @nkarasiak in #1147
- terrio-crs: WKT 2 projected axes along neither east-west nor north-south, as PROJ reads them by @pick2510 in #1152
- terrio-js: grow the WebAssembly memory a quarter at a time by @nkarasiak in #1150
- terrio-crs: WKT 1 Krovak axes in ESRI's and GDAL's dialects, as PROJ reads them by @pick2510 in #1153
- terrio-crs: Hotine variant A at 90° as the Swiss oblique Mercator, as PROJ and GDAL read it by @pick2510 in #1148
- feat(rasterize): edit DEMs with vector elevation attributes by @giswqs in #1129
- terrio-js: toGeoJSON makes a chunk's geometries in one call by @nkarasiak in #1151
- fix(rio): a large writer's temporary file holds only the blocks written, and leaves nothing behind by @gmoralessanchez in #1128
- fix(warp): take a full-turn chunk's 3.12 kernel scale across the meridian by @gmoralessanchez in #1141
- terrio-crs: WKT 1 of Krovak writes its pseudo standard parallel as PROJ writes it by @pick2510 in #1156
- terrio-js: count a failed first-block stream in stats() by @nkarasiak in #1155
- terrio-crs: read five more WKT 2 methods, as PROJ reads them by @pick2510 in #1159
- fix(zarr): keep trailing periods out of zonal cube array names by @giswqs in #1164
- ci: CodeRabbit reviews a pull request once, when it opens by @nkarasiak in #1162
- terrio.rio: CRS.to_epsg() of a compound reference is the compound's code by @nkarasiak in #1160
- ci: CodeRabbit approves pull requests again by @pick2510 in #1173
- docs: update CITATION.cff author list by @giswqs in #1185
- ci: CodeRabbit approves a pull request again once its review is clean by @nkarasiak in #1183
- fix(gsbg): a Surfer 6 grid of a negative size is refused, not a panic by @nkarasiak in #1174
- feat(rio): terrio.rio.env.defenv starts a default environment by @nkarasiak in #1175
- perf(rio): reproject of a band reads only the source window it needs by @nkarasiak in #1176
- terrio-crs: a WKT 1 CRS's PROJ-string input, from its tree or its model (#1058 step 6a/6b) by @pick2510 in #1172
- perf(stac): read the remote items of a STACIT mosaic window eight at a time by @nkarasiak in #1179
- fix(stac): read a STACIT mosaic at a reduced size from its items' overviews, as GDAL does by @nkarasiak in #1182
- perf(stac): build a STACIT mosaic window in the mosaic's type, not Float64 by @nkarasiak in #1184
- terrio-crs: a code with its own TOWGS84 goes into its own datum without the shift, as PROJ does by @giswqs in #1187
- terrio-crs: to_gdal_projjson reads WKT 1 parameters under their EPSG names by @pick2510 in #1170
- fix(stac): a STACIT mosaic of more items than open files allowed reads, keeping at most half the limit open by @nkarasiak in #1186
- perf(rio): a copy reads a JPEG 2000 a whole row of its tiles at a time by @gmoralessanchez in #1168
- perf(cog): compute a band's overview block rows in two pieces on the thread pool by @gmoralessanchez in #1180
- terrio-crs: write Hyperbolic Cassini, Guam, Krovak Modified and Colombia Urban to PROJJSON by @pick2510 in #1169
- perf(stac): fetch a catalog's or collection's item links sixteen at a time by @nkarasiak in #1188
- perf(http): a slow request no longer holds up the requests after it by @nkarasiak in #1190
- perf(js): reads awaited together run together, and a block is fetched once by @nkarasiak in #1192
- terrio-crs: a code-less WKT 1 with TOWGS84 goes into its own datum without the shift, as PROJ does by @nkarasiak in #1195
- ci: CodeRabbit reads its configuration again (one auto_approvals key) by @nkarasiak in #1197
- perf(js): range requests in a browser skip its HTTP cache by @nkarasiak in #1191
- fix(warp): a warped raster keeps its source's color table, as gdalwarp does by @giswqs in #1194
- terrio-crs: a WKT 2 CRS's PROJ-string input, from its tree or its model (#1058 step 6c-1) by @pick2510 in #1196
- perf(rio): copy a source with a dataset mask in rows, its mask with its pixels by @gmoralessanchez in #1158
- fix(tiff): read a compressed strip over the chunk limit by the rows a window or a decimated read needs by @gmoralessanchez in #1166
- terrio-crs: a WKT 2 derived or bound CRS's PROJ-string input, from its tree or its model (#1058 step 6c-2) by @pick2510 in #1205
- terrio-crs: the CRS model reads malformed WKT as terrio's readers do where PROJ refuses it (#1058 step 6d-1) by @pick2510 in #1206
- warp: RegionWarp::set_dst_gt re-targets one warp to another destination grid by @tapiab in #1198
- warp: with_rpc takes an Arc shared by several warps by @tapiab in #1199
- cog: expose alpha_band and add an alpha-aware read_band_mask by @tapiab in #1202
- cog: public geotransform_present and a correct has_geo_transform by @tapiab in #1201
- warp: with_src_scale warps an overview level of a GCP/RPC source by @tapiab in #1200
- cog: read an alpha band mask from the samples only for GeoTIFFs by @tapiab in #1203
- terrio-crs: a WKT CRS's PROJ string from its CRS model (#1058 step 6d-2) by @pick2510 in #1211
- terrio-crs: a bound CRS's PROJ-string input from its CRS model alone (#1058 step 6d-3) by @pick2510 in #1212
- terrio-crs: the CRS model gives its own refusals (#1058 step 6d-4a) by @pick2510 in #1214
- terrio-crs: delete the WKT tree readers, the model's PROJ strings of unusual WKT recorded (#1058 step 6d-4b) by @pick2510 in #1226
- terrio-crs: a WKT 2 datum identified from the model's datum, geogcs_wkt1 removed (#1058 step 6e) by @pick2510 in #1229
- terrio-crs: PROJ strings of projected CRSs with westing or southing axes pinned to PROJ 9.9.0 (#1012 item 17) by @pick2510 in #1230
- terrio-crs: +datum=NAD27 with another +a keeps the datum's flattening in to_proj4, as PROJ (#1012 item 38) by @pick2510 in #1231
- terrio-crs: to_proj4 rounds numbers as PROJ writes them, a BOUNDCRS's scale ratio among them (#1012 item 45) by @pick2510 in #1233
- terrio-crs: one per-point picker for a route's operations (#1058 step 7a) by @pick2510 in #1235
- terrio-crs: a BOUNDCRS to another CRS keeps its ballpark after the shift, as PROJ does (#1012 item 22) by @pick2510 in #1237
- ci: run CI on the merge queue's commits, whose checks main requires by @pick2510 in #1245
- fix(vector): read an inverted bbox by its corners' extent in every reader; GeoParquet EPSG codes in range by @nkarasiak in #1240
- terrio-crs: a CRS bound to a hub goes into a CRS with transformations as PROJ chains them (#1012 item 21) by @pick2510 in #1243
- test(python): compare the PROJJSON of CRSs from codes in a new thread by @gmoralessanchez in #1234
- perf(cog): let the overview kernels' loops read their values once again by @gmoralessanchez in #1204
- fix(python): GeoTiffWriter refuses a mask of another shape, or one for a file without a mask by @gmoralessanchez in #1232
- perf(warp): compute bilinear taps' indexes from one base by @tapiab in #1208
- feat(raster): add integer-window nearest-neighbour reads by @rvalavi in #1224
- terrio-crs: Transformer::has_non_ballpark_operation, as PROJ's candidate operations (#1012 item 15) by @pick2510 in #1244
- fix(overviews): build average and nearest overviews of complex bands by @rvalavi in #1236
- perf(grib): read a local file by message and keep decoded bands in the block cache by @gmoralessanchez in #1163
- perf(http): a remote window's rows of tiles are fetched in one round of requests by @nkarasiak in #1241
- fix(cog): check tiling of images over 512 on either side in rio-cogeo mode by @gpt-cmdr in #1250
- perf(par): run outside parallel work serially while another outside thread is at work by @tapiab in #1210
- fix(http): fail HTTPS with an error on CPUs rustls-graviola cannot run on, instead of panicking by @gpt-cmdr in #1255
- feat(cog): area-matched overviews with native categorical values by @giswqs in #1253
- feat(simplify): Douglas-Peucker with bounded WKB nesting by @giswqs in #1254
- fix(cog): resolve PREDICTOR=YES by data type, as GDAL's COG driver does by @gpt-cmdr in #1256
- terrio-crs: a BOUNDCRS whose transformation is not applied warns, and one to a BOUNDCRS is not chained through, as PROJ by @pick2510 in #1258
- terrio-crs: a route is searched in one OperationContext (#1058 step 7c) by @pick2510 in #1261
- perf(warp): cache the source window per region and destination grid by @tapiab in #1207
- fix(gtiff): mask partial edge-tile padding in LERC float blobs by @giswqs in #1248
- fix(warp): take a regional chunk's 3.12 kernel scale across the meridian from its arc by @gmoralessanchez in #1239
- fix(cog): check a COG row call without a mask for the most it allocates by @gmoralessanchez in #1242
- feat(js): terrio-js/geoparquet, a GeoParquet-only WebAssembly module (0.91 MB Brotli) by @nkarasiak in #1246
- fix(overviews): build and read .msk.ovr mask overviews for .msk sidecars by @rvalavi in #1259
- fix(ci): guard the Unix-only GRIB test import on Windows by @giswqs in #1265
- fix(gtiff): honour SPARSE_OK, and read the blocks a sparse GeoTIFF leaves out as nodata by @gmoralessanchez in #1139
- terrio-crs: a CRS on a renamed datum is transformed as PROJ searches for it (#1012 item 7, step 2) by @pick2510 in #1266
- feat(gpkg): preserve source feature IDs when writing GeoPackage by @rvalavi in #1227
- feat(cog): preserve supplied overview pixels and explicit metadata by @giswqs in #1268
- perf(geoparquet): decode GeoArrow points row by row, coordinates without JSON by @nkarasiak in #1270
- fix(ehdr): build and reuse external overviews by @rvalavi in #1228
- perf(grib): an open skips the data of a message's fields, and a remote dataset keeps no message it read for its nodata by @gmoralessanchez in #1264
- Use zrip for Zstandard in the pure-Rust builds by @paddor in #1247
- bench: a performance matrix of GeoTIFF, Zarr and GeoParquet reads against GDAL by @nkarasiak in #1262
- fix(ci): make rollback and EPT concurrency tests portable on Windows by @giswqs in #1272
- perf(python): a GeoParquet stream with a bbox chooses its rows once by @nkarasiak in #1280
- ci: /perf-matrix on a pull request times its terrio against the base branch's and GDAL's by @nkarasiak in #1271
- perf(geoparquet): skip GeoArrow row groups by their coordinate statistics by @nkarasiak in #1281
- terrio-crs: compound CRSs through PROJ's ballpark vertical transformation by @pick2510 in #1282
- fix(ci): guard Unix-only GeoPackage test helper by @giswqs in #1284
- bench: Callgrind cases for a Zarr window read and GeoParquet bbox reads (WKB, GeoArrow) by @nkarasiak in #1287
- STACIT: warn on unplaced assets and read band metadata from bands and raster:bands by @nkarasiak in #1289
- perf(python): validate a known stored GeoParquet CRS without importing pyproj by @nkarasiak in #1290
- Python: pyogrio reads give a GeoPackage's negative row IDs as signed FIDs by @nkarasiak in #1291
- perf(sql): a WHERE query on a local GeoParquet file skips row groups by column statistics by @nkarasiak in #1294
- perf(gtiff): specialize TIFF LZW encoding with reusable scratch by @giswqs in #1288
- terrio-crs: keep heights through the datum shift beside a CRS without heights, as PROJ does (#1012 item 8) by @pick2510 in #1295
- build(deps): bump rust from
44819b2to8d0e82ain the docker group by @dependabot[bot] in #1298 - build(deps): bump the actions group with 2 updates by @dependabot[bot] in #1300
- build(deps): bump the cargo group with 9 updates by @dependabot[bot] in #1299
- Release 0.10.0 by @giswqs in #1297
New Contributors
Full Changelog: v0.9.0...v0.10.0
Credits
terrio does not need GDAL to be installed, but it is not independent of GDAL: its commands, options and behavior follow GDAL's, many of its algorithms and drivers are ports of GDAL code, its results are tested against GDAL, PROJ and PDAL, and GDAL is its optional backend. This release ports code from, adapts, or is built on:
- GDAL (Frank Warmerdam, Even Rouault and hundreds of contributors): the design of terrio's commands and the reference it is tested against. New in this release: GeoJSON array properties typed as GDAL's GeoJSON reader types them (ported from GDAL's reader), the PROJ string GDAL 3.13.3 exports with its
+towgs84, COGPREDICTORhandling,SPARSE_OK, integer-window nearest-neighbour overview reads,.msk.ovrmask overviews and the warp's color tables, all checked against GDAL 3.13. - PROJ: the map projections and datum transformations. New in this release: the polyhedral Snyder equal-area
isea(Felix Palmer's polyhedral projections in PROJ 9.9.0, derived from A5, DGGAL and gl-matrix) and the Transverse Mercator Zoned Grid System (tmerczoned) are ported from PROJ 9.9.0, PROJ-string angles and parameters are read as PROJ'sdmstorreads them, and WKT, PROJ-string and BOUNDCRS readings, identification and the ballpark vertical transformation follow PROJ 9.9.0. The grid catalog comes from PROJ 9.9.0's database. - EPSG Geodetic Parameter Dataset (IOGP) and Esri projection engine data: New in this release: the CRS tables move to EPSG v13.102, through PROJ 9.9.0's database.
- JTS Topology Suite: New in this release:
simplify --method douglas-peuckeris a port of JTS 1.20.0'sDouglasPeuckerSimplifier. - ras2cng by William M. Katzenmeyer / CLB Engineering: New in this release: the
AREA_MATCHEDoverview method is adapted from it (MIT). - zrip by paddor: New in this release: the pure-Rust Zstandard codec of the default and WebAssembly builds (MIT).
- pyogrio, rasterio, rioxarray, xarray and xvec: the APIs
terrio.pyogrio,terrio.rioandterrio.xarrayfollow. New in this release: the.terrioaccessor's raster operations,rio.env.defenv, and zonal cubes with CF geometries that xvec and cf_xarray decode.
Thanks to everyone who contributed code to this release: @gmoralessanchez, @gpt-cmdr, @nkarasiak, @paddor, @pick2510, @rvalavi and @tapiab.
Copyright and license notices are in NOTICE, and the acknowledgements page lists every project. If terrio is useful to you, please consider sponsoring GDAL.