Tag Info

New answers tagged

0

Doing some more searching I found out that a bug related to gdalwarp and NODATA was fixed in version 1.11.2. http://trac.osgeo.org/gdal/wiki/Release/1.11.2-News http://trac.osgeo.org/gdal/ticket/5675 Testing on another machine with gdal 1.11.2 worked.


0

Strangely, it look's like gdalwarp is missing the input vrt NoData declaration (well somehow still it declares it in output tiff...). Which is a bit odd since you said that in step 1. the NoData value is kept. Check if element <NoDataValue>-3000</NoDataValue> exist for each band of your VRT dataset. Beside above isue, you can try to force ...


2

The gdal_translate document page http://www.gdal.org/gdal_translate.html may indeed give an impression that the values for Ground Control Points should be closed between brackets [-gcp pixel line easting northing [elevation]]* However, that is not the case as close reading reveals and correct syntax for your case is gdal_translate -of GTiff -a_srs ...


2

If you convert from one CRS to another, you will change the cell borders automatically. gdalwarp tries to keep the cell value, but it will also try to interpolate if the new cell size will cover different unreprojected cells. Reducing the cell size with -tr or -ts might solve your problem (but increase the raster file size too).


3

For merely converting a raster from one format to another, many of the GDAL tools will do that along with their specialized functions so either GDALWARP or GDAL_TRANSALTE will do fine for your purposes (which also explains why they give you the same error). The information you mention in the documentation in your links is applicable to using GDAL. Most of ...


2

The reason you are not getting the exact shape you want is because when you vectorize a raster it usually outputs as a rectangular shape because rasters are rectangular grids. You have a few options here. You can apply a mask to the raster and vectorize only the area you want, but I think you don't know which area you want yet? In this case I would ...



Top 50 recent answers are included