[gdal-dev] GDAL can't read values from new raster dataset, but Global Mapper can

2019-09-30 Thread CDelancy
Hello. I am using GDAL 3 in a c++ project. I have found that GDAL does not seem to properly read values from raster datasets that it has created. For example, if I create a new raster dataset with one band and read the min and max values from that band, it always returns -4294967295.0 and 429496729

[gdal-dev] Procedure for resizing a raster data set

2019-09-13 Thread CDelancy
What is the proper procedure for resizing a raster GDALDataSet? I am using GDAL 3 in a c++ project. The software I am interfacing with expects raster data to always have dimensions that are powers of two. What is the procedure for resizing a data set while leaving its geo-referencing information

[gdal-dev] What is the correct way to read pixel data from a GDALRasterBand in C++?

2019-06-09 Thread CDelancy
Using GDAL 3.0 in C++, how do I read pixel values from a raster band? Essentially, I am looking for something akin to GetValue(int X, intY) Unfortunately, with the documentation pages down, https://gdal.org/classGDALRasterBand.html, I haven't been able to make much headway on this. -- Sent from

[gdal-dev] What is the correct way to call OSRSetPROJSearchPaths?

2019-05-31 Thread CDelancy
Using GDAL 3 and PROJ 6, it seems this is the function I must call to point proj to the location of the proj.db file it needs. However, any time I call this function, it results in an access violation. Does anyone have an example of how to call this? -- Sent from: http://osgeo-org.1560.x6.nabbl

Re: [gdal-dev] I can't get GDAL 2.4 to link with PROJ 5.2 (Windows)

2019-05-30 Thread CDelancy
Thank you for your reply. PROJ version 5.2 builds successfully and never pestered me for sqlite, so I don't think that would be the problem. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lis

[gdal-dev] I can't get GDAL 2.4 to link with PROJ 5.2 (Windows)

2019-05-30 Thread CDelancy
I can't seem to get GDAL to statically link to PROJ when building. In the nmake.opt file I changed PROJ_INCLUDE to point to my local copy of the proj source and PROJ_LIBRARY to the exact path of the static lib I built from Proj source, while uncommenting both lines. Still, when I try to use ogr c

Re: [gdal-dev] YAML, AppVeyor and the perks of continuous integration (Re: Willing to Pay for Help Building GDAL 3 on WIndows)

2019-05-28 Thread CDelancy
Thank you so much for the explanation, however, I fear it will not help my problem. You see, I cannot build GDAL3 without PROJ4 6.0, and I wouldn't want to because important functionality would be missing. However, I cannot build PROJ because it depends on SQLite3. I cannot build SQlite3 because

Re: [gdal-dev] Willing to Pay for Help Building GDAL 3 on WIndows

2019-05-27 Thread CDelancy
Thank you for your reply. Unfortunately, I had never heard of a .yml file before your post and I would not know what to do with what you have linked. My attempts to research it haven't yielded anything useful. Is 100 USD per hour worth anyone's time? -- Sent from: http://osgeo-org.1560.x6.nab

[gdal-dev] Willing to Pay for Help Building GDAL 3 on WIndows

2019-05-27 Thread CDelancy
seems to be because I am not able to build PROJ 6.0. I have spent several days on this now and am at my wit's end. If interested, contact me at cdelancy@blackfangtechnologies and name your price. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093