All Questions
15 questions
0
votes
1
answer
176
views
Working with COG in GDAL
I have worked with GDAL previously and USGS 1/9th arc second data many years ago before I became severely ill and had to give it up. I am now looking at resurrecting what I was doing.
The problem is ...
0
votes
0
answers
106
views
Conversion problem from TIFF to DTED using GDAL
I have downloaded a 30 m resolution DSM. I am trying to convert it from .tif to .dt2 (DTED) using the gdal translate command. However, I get the following warnings, which I do not interpret correctly:
...
2
votes
2
answers
2k
views
Converting PNG to GeoTIFF using GDAL Python
I want to ask how to convert PNG to GeoTIFF using GDAL in Python. I ran this code but it's not work and I want to export the output into my computer.
How can I fix my code?
ds = gdal.Open('input.png')
...
2
votes
0
answers
3k
views
Create GeoTIFF from PNG raster with PGW world file with GDAL
I've used GDAL tools for several other operations on GeoTIFFs.
There is lots of information on how to splice GeoTIFFs into PGW world files and images, but I haven't found ANY documentation on how to ...
1
vote
1
answer
1k
views
Convert a .png file to a GeoTIFF while knowing the boundings
Disclaimer: I've already found this link Convert PNG to GeoTiff using GDAL - but it was of no help.
Actually I've got a .png file of a hand-drawn map (I also got it in the .svg format in case this ...
1
vote
1
answer
1k
views
Splitting and converting a large tif files into multiple .hgt files
I'm quite new to GIS format and conversions, so be patient with a newbie. I got stuck on a file conversion and I'm looking for some help this to fix my scripts. I have a big 5 GB tif file with a ...
2
votes
1
answer
3k
views
Keeping the original file name when batch processing GDAL translate?
I would like to convert .tif files to Idrisi or ENVI format. I would like to do a batch process, keeping the original filename. When I choose: "run as a batch process", as I can see, I still have to ...
8
votes
2
answers
13k
views
Convert PNG to GeoTiff using GDAL
I have a map portion PNG and its associated PRJ file. I want to convert the PNG to a GeoTIFF.
I know how to convert a PNG to a GeoTiff if the bounding box is available:
gdal_translate -of Gtiff -...
3
votes
4
answers
2k
views
gdal : How to restore georeferenced DEM's metadata?
EDIT: this question was not properly answered. An actionable answer should be provided. Maybe involving gdaledit -mo or gdal_translate in.tif in.vrt together with xml manipulations, or any operation ...
0
votes
1
answer
730
views
Gdal_grid gives blank .tiff file after conversion
After using gdal_grid I get blank .tiff file. I use the following .vrt file :
<OGRVRTDataSource>
<OGRVRTLayer name="p">
<SrcDataSource>p.csv</SrcDataSource>
&...
2
votes
3
answers
2k
views
Convert .tiff data to bitmap just when rendering and at runtime by visualC++ code
I need to convert a .tiff image to a bitmap one without saving the bitmap. I know that I should use GDAL_translate but because I'm new, this function's interface is a little complicated for me. Could ...
6
votes
4
answers
15k
views
GDAL_translate: converting ESRI GRID to Geotiff in batch
The Challenge:
To batch convert 1000 rasters in ESRI Grid binary to Geotiff using either using a batch file or Python 2.7 without ArcGIS/Arcpy module.
The Tools:
Win7Pro, GDAL 1.9.2 (via OSGeo4W), ...
7
votes
3
answers
5k
views
gdal doesn't support *XYZ-file
I have just exported a TIF DEM to XYZ format with SAGA GIS. When I check this with gdalinfo it states that the format is unsupported.
Seeing as I converted this with SAGA GIS which used gdal I find ...
8
votes
2
answers
7k
views
How to use GDAL to convert Int16 data to Byte
I have some data with Int16 bands in HDF format.
I want to convert this to Byte bands in GeoTIFF format.
The data range for the Int16 is -2000 to 12000, so I want to map this to the Byte range 0 to ...
3
votes
1
answer
302
views
rgb2pct.py increases size of file 20 fold!
I wanted to reduce the number of bands of a tif file from 3 to 1...
I used this command
rgb2pct.py -n 256 fnp_braunschweig.tif fnp_bs.tif
and it increased the size from 31mb to 778mb
I actually ...