[gdal-dev] GDAL 3.13.0 beta1 available

Roger Bivand Roger.Bivand at nhh.no
Fri Apr 17 11:59:03 PDT 2026


Hi Even,

On Fri, 17 Apr 2026, Even Rouault wrote:

> Hi Roger,
>
>>  In checking reverse dependencies of > 600 R packages using R packages
>>  linking to GDAL with 3.13.0beta1, a change has appeared in at least two
>>  cases of reading with the ESRI Shapefile driver, detailed in
>>  https://github.com/DOI-USGS/ncdfgeom/issues/107
>>  and
>>  https://github.com/eblondel/cleangeo/issues/30.
>>  The issues include zip archives of the offending shapefiles. The problem
>>  is that geometries read up to and including 3.12.3 as POLYGON are now read
>>  as CURVEPOLYGON (one geometry affected in each case). I have not (yet)
>>  checked with the latest shapelib -
> Thanks for the report!
>>  was this change intended?
>
> Nope, side effect of a recent change in 
> OGRGeometryFactory::organizePolygons() to better deal with curve geometries. 
> I'll look at that
>

Thanks!

I looked at shapelib, and the output of shpdump for the files with 
problems looks fine, so something in OGR seems very likely. Lucky that 
these two packages exercised this issue - in one case a coercion to an 
older representaion in R didn't know what to do with CURVEPOLYGON, so 
failed.

Roger

> Even
>
>

-- 
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand at nhh.no



More information about the gdal-dev mailing list