I refer to Sample for MS Visual Studio C++ using GDAL library

I noticed that the answer mentions that when GDAL is built from source there would be a tools folder with examples of how to initialize a created raster. I have GDAL built from source (following the steps specified here: http://crowdsimulation.blogspot.com/2015/07/geospatial-data-abstraction-library.html?showComment=1452035822922#c1369732198978557869) in Visual Studio 2010 and a 32 bit machine.

However, I am not able to locate the tools folder with the examples. Is there any other source where I can obtain the examples? Can someone post a simple one?

1 Answer 1


The GDAL website has a tutorials section. The raster API tutorial has examples for opening and creating GDAL raster datasets.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.