[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GDAL 2.3.0



 

> > /build/liblas-1.8.1/src/gt_citation.cpp: In function 'void

> > SetGeogCSCitation(GTIF*, OGRSpatialReference*, char*, int, short int)':

> > /build/liblas-1.8.1/src/gt_citation.cpp:390:58: error: call of

> > overloaded 'GetPrimeMeridian(NULL)' is ambiguous

> >

> > double primemValue = poSRS->GetPrimeMeridian(NULL);

> >

> > ^

>

> Ah, must be due to having a GetPrimeMeridian(char** = nullptr) and

> GetPrimeMeridian(const char**) now in GDAL 2.3.0.

> I added also a GetPrimeMeridian(std::nullptr_t), but NULL is not nullptr...

> Can be fixed by just using poSRS->GetPrimeMeridan()

 

Fix submitted as https://github.com/libLAS/libLAS/pull/133

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


Reply to: