Re: GDAL 3.13.0 beta1 available

Roger Bivand via gdal-dev <[email protected]>
Newsgroups gmane.comp.gis.gdal.devel
Message-ID <[email protected]>
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: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.