Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
PDAL23
build_fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build_fix.patch of Package PDAL23
diff -ur PDAL-2.3.0-src/pdal/Geometry.cpp PDAL-2.3.0-src_fix/pdal/Geometry.cpp --- PDAL-2.3.0-src/pdal/Geometry.cpp 2021-05-28 02:52:49.000000000 +0200 +++ PDAL-2.3.0-src_fix/pdal/Geometry.cpp 2023-12-14 08:59:40.786409113 +0100 @@ -140,7 +140,7 @@ bool Geometry::srsValid() const { - OGRSpatialReference *srs = m_geom->getSpatialReference(); + const OGRSpatialReference *srs = m_geom->getSpatialReference(); return srs && srs->GetRoot(); } @@ -159,7 +159,7 @@ return StatusWithReason(-2, "Geometry::transform() failed. NULL target SRS."); - OGRSpatialReference *inSrs = m_geom->getSpatialReference(); + const OGRSpatialReference *inSrs = m_geom->getSpatialReference(); SrsTransform transform(*inSrs, OGRSpatialReference(out.getWKT().data())); if (m_geom->transform(transform.get()) != OGRERR_NONE) return StatusWithReason(-1, "Geometry::transform() failed.");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor