You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I intend to add an additional gdal_grid example to the manual
that creates a grid with more than one band.
One little problem: I don't know if it is possible.
Currently the only examples use a single band.
Let's say here is the input we will use, input.csv:
X,Y,Band1,Band2
33,-22,1.3,2.4
34,-23,2.2,3.3
If it is not possible, then I will state in the manual that gdal_grid
can only make images with one band.
However, we see
-ot <type>
Force the output image bands to have a specific data type sup-
where the word bands is seen, with the plural, so there is hope.
We also see
-l <layername>
Indicates the layer(s) from the datasource that will be used for
input features. May be specified multiple times, but at least
one layer name or a -sql option must be specified.
and the word "multiple", and indeed I did that and did get more bands,
but they were empty.
It want also to show how one could avoid .vrt files, instead just
using all command line options, but for completeness I would also want
to make an example using a .vrt file.
OR, if gdal_grid is not the best tool to make multi-band grids, then I will state in the manual that this is the case, and give the name of the better tool.
The text was updated successfully, but these errors were encountered:
One little problem: I don't know if it is possible.
not directl with gdal_grid.
You might use gdal_grid multiple times to create one band per file, and then use gdalbuildvrt -separate + gdal_translate to combine the one-band-files into a single one.
I intend to add an additional gdal_grid example to the manual
that creates a grid with more than one band.
One little problem: I don't know if it is possible.
Currently the only examples use a single band.
Let's say here is the input we will use, input.csv:
If it is not possible, then I will state in the manual that gdal_grid
can only make images with one band.
However, we see
where the word bands is seen, with the plural, so there is hope.
We also see
and the word "multiple", and indeed I did that and did get more bands,
but they were empty.
It want also to show how one could avoid .vrt files, instead just
using all command line options, but for completeness I would also want
to make an example using a .vrt file.
OR, if gdal_grid is not the best tool to make multi-band grids, then I will state in the manual that this is the case, and give the name of the better tool.
The text was updated successfully, but these errors were encountered: