Control: tags -1 pending The attached patch fixes the issue.
Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Description: Fix FTBFS with GDAL 3.12.0. Author: Bas Couwenberg <[email protected]> --- a/src/netbuild/NBHeightMapper.cpp +++ b/src/netbuild/NBHeightMapper.cpp @@ -196,7 +196,7 @@ NBHeightMapper::loadShapeFile(const std: // triangle coordinates are stored in WGS84 and later matched with network coordinates in WGS84 // build coordinate transformation - OGRSpatialReference* sr_src = layer->GetSpatialRef(); + const OGRSpatialReference* sr_src = layer->GetSpatialRef(); OGRSpatialReference sr_dest; sr_dest.SetWellKnownGeogCS("WGS84"); OGRCoordinateTransformation* toWGS84 = OGRCreateCoordinateTransformation(sr_src, &sr_dest); --- a/src/netimport/NIImporter_ArcView.cpp +++ b/src/netimport/NIImporter_ArcView.cpp @@ -143,7 +143,7 @@ NIImporter_ArcView::load() { poLayer->ResetReading(); // build coordinate transformation - OGRSpatialReference* origTransf = poLayer->GetSpatialRef(); + const OGRSpatialReference* origTransf = poLayer->GetSpatialRef(); OGRSpatialReference destTransf; // use wgs84 as destination destTransf.SetWellKnownGeogCS("WGS84"); --- a/src/polyconvert/PCLoaderArcView.cpp +++ b/src/polyconvert/PCLoaderArcView.cpp @@ -147,7 +147,7 @@ PCLoaderArcView::load(const std::string& poLayer->ResetReading(); // build coordinate transformation - OGRSpatialReference* origTransf = poLayer->GetSpatialRef(); + const OGRSpatialReference* origTransf = poLayer->GetSpatialRef(); OGRSpatialReference destTransf; // use wgs84 as destination destTransf.SetWellKnownGeogCS("WGS84");

