Re: [gdal-dev] GDAL-Correlator Compilation Problems

2014-02-06 Thread Dmitriy Baryshnikov
Hi, the Correlator code was merged into GDAL during GSoC 2012. Why do you want separate build of this functionality? See https://svn.osgeo.org/gdal/trunk/gdal/alg/gdal_alg.h the method GDALComputeMatchingPoints Best regards, Dmitry 07.02.2014 9:45, Kshitij Kansal ?: Hello I was to

[gdal-dev] GDAL-Correlator Compilation Problems

2014-02-06 Thread Kshitij Kansal
Hello I was to trying to compile the code for GDAL-Correlator that I cloned from https://github.com/migal-drew/GDAL-correlator Even though I have included all the header files in the Include Path and gdal and cpl files are already included, I am getting the following errors /* In function `Gathe

Re: [gdal-dev] how to create just the msk file from a rgba vrt file

2014-02-06 Thread Brian Case
Duarte gdaltranslate -of outfrmt -b 1 -b 2 -b 3 -mask 4 infile outfile brian you can output to vrt's just dont try to mosaic masked or aphad files with vrts brian On Thu, 2014-02-06 at 13:20 +, Duarte Carreira wrote: > Hi there. > > > > Continuing with trying to cut processing times,

Re: [gdal-dev] editing NetCDF size using GDAL in C++ code

2014-02-06 Thread Etienne Tourigny
For a given dataset, all bands have to be of same dimensions in order to be treated as a single dataset, and not a number of different datasets. This is documented in the GDAL data model page, right on top [1]. "A dataset (represented by the GDALDataset

Re: [gdal-dev] WMS Issues two requests?

2014-02-06 Thread Lewis, Martin (UK)
I need a little help on WMS, it appears to decide that my one request should be two and hence is slowing the whole thing up I create an XML file and it has the following attributes for DataWindow: UpperLeftX -10.2210525 UpperLeftY57.7424

[gdal-dev] WMS Issues Two Requests

2014-02-06 Thread Martin Lewis
I need a little help on WMS, it appears to decide that my one request should be two and hence is slowing the whole thing up I create an XML file and it has the following attributes for DataWindow: UpperLeftX -10.2210525 UpperLeftY57.7424

Re: [gdal-dev] editing NetCDF size using GDAL in C++ code

2014-02-06 Thread Benedetta Onori
In the creation of a NetCDF I treat subsets as bands. with gdalinfo I get this: Subdatasets: SUBDATASET_1_NAME=NETCDF:"myfile.nc":Band1 SUBDATASET_1_DESC=[1x1] Band1 (64-bit floating-point) SUBDATASET_2_NAME=NETCDF:"myfile.nc":Band2 SUBDATASET_2_DESC=[1x1] Band2 (64-bit floating-po

Re: [gdal-dev] editing NetCDF size using GDAL in C++ code

2014-02-06 Thread Etienne Tourigny
What do you mean by subsets? Do you mean datasets (known as variables in netcdf terminology)? If so, there is no way the netcdf driver can create a netcdf file with subdatasets, sorry. A workaround is to use gdal to create a file for each subdataset and then merge them with the nco commandline to

[gdal-dev] how to create just the msk file from a rgba vrt file

2014-02-06 Thread Duarte Carreira
Hi there. Continuing with trying to cut processing times, I am trying to get a msk file from a vrt mosaic, without converting the entire vrt to tif just to get the msk file. In other words, how can we create a msk file from the alpha band without rewriting the whole image? Thanks again. Duart

[gdal-dev] editing NetCDF size using GDAL in C++ code

2014-02-06 Thread Benedetta Onori
Hi all, I have a question about NetCDF writing using GDAL. The netcdf driver doesn't support the option GA_Update used to edit dataset, but only GA_ReadOnly. My question is: during the creation of a new netCDF dataset, how can I differentiate the sizes of different subsets? (For example the subset