Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuarte47 committed Jan 15, 2018
1 parent 2faff84 commit a9ef4b8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,20 @@ add_library(ctb SHARED
GDALTiler.cpp
TerrainTiler.cpp
TerrainTile.cpp
MeshTiler.cpp
MeshTile.cpp
GlobalMercator.cpp
GlobalGeodetic.cpp)
target_link_libraries(ctb ${GDAL_LIBRARIES} ${ZLIB_LIBRARIES})

# Install libctb
set(HEADERS
Bounds.hpp
BoundingSphere.hpp
Coordinate.hpp
Coordinate3D.hpp
GDALTile.hpp
GDALTiler.hpp
GlobalGeodetic.hpp
GlobalMercator.hpp
Grid.hpp
GridIterator.hpp
HeightFieldChunker.hpp
Mesh.hpp
MeshIterator.hpp
MeshTile.hpp
MeshTiler.hpp
RasterIterator.hpp
RasterTiler.hpp
CTBException.hpp
Expand Down
12 changes: 12 additions & 0 deletions src/GDALTiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,18 @@ GDALTiler::createRasterTile(const TileCoordinate &coord) const {
return tile;
}

///////////////////////////////////////////////////////////////////////////////////////
/**
* See: https://github.com/albertov/bindings-gdal/issues/8
*/
#include "..\GDAL-OGR\sdk\x64\gdal\gcore\gdaloverviewdataset.cpp"

GDALDataset* GDALCreateOverviewDataset(GDALDataset* poMainDS, int nOvrLevel, int bThisLevelOnly, int unknownParam)
{
return GDALCreateOverviewDataset(poMainDS, nOvrLevel, bThisLevelOnly);
}
///////////////////////////////////////////////////////////////////////////////////////

/**
* @brief Get an overview dataset which best matches a transformation
*
Expand Down

0 comments on commit a9ef4b8

Please sign in to comment.