Geoscience Reference
In-Depth Information
Running a gdalinfo -stats on the generated file reveals that the number of
points varies from two to eight, with amean value of 5.8. The interpolation algorithms
was therefore able to find, on average, six points within the defined search ellipse for
calculating the grid cell values in the output file. There are no grid cells with a no-data
value since the algorithmwas always able to find at least one ( minpoints =1 ) data
point within each search ellipse.
10.2 gdallocationinfo
Individual pixel location information can be obtained interactively with image
viewing applications. However, for automated processing it can be useful to re-
trieve this information from the command line via gdallocationinfo .Forthe
location you can use a variety of coordinate systems, not necessarily the one of the
raster dataset.
Usage: gdallocationinfo [--help-general] [-xml] [-lifonly]
[-valonly] [-b band]* [-l_srs srs_def] [-geoloc] [-wgs84]
srcfile x y
-xml
The output report will be XML formatted for convenient post processing.
-lifonly
The only output is filenames production from the LocationInfo request against
the database (i.e. for identifying impacted file from VRT).
-valonly
The only output is the pixel values of the selected pixel on each of the selected
bands.
-b band
Selects a band to query. Multiple bands can be listed. By default all bands are
queried.
-overview overview_level
Query the (overview_level)th overview (overview_level=1 is the 1st overview),
instead of the base band. Note that the x, y location (if the coordinate system is
pixel/line) must still be given with respect to the base band.
-l_srs srs def
The coordinate system of the input x, y location.
-geoloc
Indicates input x, y points are in the georeferencing system of the image.
-wgs84
Indicates input x, y points are WGS84 long, lat.
srcfile
The source GDAL raster datasource name.
 
 
Search WWH ::




Custom Search