Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gdalinfo]

Commandline utility to list information about raster data.

1
vote
1answer
120 views

Understand gdalwarp and gdalinfo on raster files [closed]

I am using: PostgreSQL 9.5 PostGIS 2.2.1 GDAL 1.11.3 I have two raster files: -rw-rw-r-- 1 jlandercy jlandercy 1,3G Aug 25 21:02 contour_raster.dem -rw-rw-r-- 1 jlandercy jlandercy 2,0G Sep 7 17:...
5
votes
1answer
543 views

Is there a way to get only a single output from GDALinfo?

I want to get just the Pixel size of a raster (in an automated workflow), and gdalinfo looks like the best tool for that; The trouble is that it gives a whole lot of info which I don't need. So ...
1
vote
1answer
1k views

Getting warning when opening NetCDF file using gdal?

I am using windows 7(32-bit) and want to warp NetCDF (nc) files and save the output as GeoTIFF. First I run gdalinfo first to get the info of the subdataset I need and added NETCDF in the beginning(e....
0
votes
1answer
519 views

Add bands' name and description to the Metadata when stacking using rasterio

I'm using this code, of @Loïc Dutrieux, to stack 8 Landsat bands. with rasterio.open(final_list[0]) as src0: meta = src0.meta with rasterio.open('stack.tif', 'w', **meta) as dst: for id, layer ...