Created
February 21, 2019 22:47
-
-
Save hobu/8765f2efef87300937f89ffc77003d6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./pdal/Geometry.cpp: In constructor 'pdal::Geometry::Geometry(OGRGeometryH, const pdal::SpatialReference&)': | |
../pdal/Geometry.cpp:65:12: error: 'FromHandle' is not a member of 'OGRGeometry' | |
m_geom(OGRGeometry::FromHandle(g)->clone()) | |
^ | |
../pdal/Geometry.cpp: In member function 'virtual void pdal::Geometry::update(const string&)': | |
../pdal/Geometry.cpp:84:19: error: 'createFromGeoJson' is not a member of 'OGRGeometryFactory' | |
newGeom = OGRGeometryFactory::createFromGeoJson(input); | |
^ | |
../pdal/Geometry.cpp:91:25: error: no matching function for call to 'OGRGeometryFactory::createFromWkt(const char*&, std::nullptr_t, OGRGeometry**)' | |
&newGeom) != OGRERR_NONE) | |
^ | |
../pdal/Geometry.cpp:91:25: note: candidate is: | |
In file included from ../pdal/GDALUtils.hpp:52:0, | |
from ../pdal/Geometry.hpp:36, | |
from ../pdal/Geometry.cpp:35: | |
/usr/include/gdal/ogr_geometry.h:663:19: note: static OGRErr OGRGeometryFactory::createFromWkt(char**, OGRSpatialReference*, OGRGeometry**) | |
static OGRErr createFromWkt( char **, OGRSpatialReference *, | |
^ | |
/usr/include/gdal/ogr_geometry.h:663:19: note: no known conversion for argument 1 from 'const char*' to 'char**' | |
../pdal/Geometry.cpp: In member function 'std::string pdal::Geometry::json(double) const': | |
../pdal/Geometry.cpp:212:39: error: 'ToHandle' is not a member of 'OGRGeometry' | |
char* json = OGR_G_ExportToJsonEx(OGRGeometry::ToHandle(m_geom.get()), | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment