136 reputation
7
bio website
location Stockholm
age 41
visits member for 1 year, 5 months
seen 18 hours ago

Glaciology PhD at Stockholm University. Use Python (WHY?) GDAL and QGIS to make a mess of mass balance data.


Jul
2
awarded  Curious
Jun
10
comment gdalwarp won't export AAIGrid
The solution you gave is approximately my "workaround". Seems an odd limitation for gdalwarp.
Jun
9
asked gdalwarp won't export AAIGrid
Mar
27
comment Gdal: highest and lowest point/pixel, how to get their altitudes?
I've put colour highlighting on the commands. Most of the text is the output from gdalinfo and the 'short' version is a couple of comments above here. There isn't any more to it really, gdal_translate -stats fileIn.tif fileOut.tif then gdalinfo fileOut.tif
Mar
26
comment Gdal: highest and lowest point/pixel, how to get their altitudes?
I've posted a more complete example on my blog (mercergeoinfo.blogspot.com/2014/03/gdalinfo-and-statistics.html). If that's against the rules here then I apologise now. Feel free to remove this if it is the case.
Mar
26
comment Gdal: highest and lowest point/pixel, how to get their altitudes?
Well, I don't have room to show all the details but using a SPOT4 scene: gdalinfo SPOT4_HRVIR1_042-209_0_080831_111638.tif gave metadata but no min-max. the same command with -mm produced the min-max. gdal_translate -stats SPOT4_HRVIR1_042-209_0_080831_111638.tif output.tif produces a new file and gdalinfo output.tif on that gives metadata with min-max values plus more
Mar
24
comment Gdal: highest and lowest point/pixel, how to get their altitudes?
OK, gdal_translate -stats requires you create a new file, you can also set the nodata value at the same time. But given that gdalinfo -mm *.tif worked it would seem that the nodata value was already set. -mm is fine for a quick check but it solves one problem, once; calculating the stats properly will give you greater flexibility later.
Mar
24
comment Gdal: highest and lowest point/pixel, how to get their altitudes?
That should be the MINIMUM and MAXIMUM values returned by gdalinfo. You may have a problem if the NODATA value hasn't been set, in which case you may have a very low MINIMUM value (rarely a very high MAXIMUM instead).
Mar
24
answered Gdal: highest and lowest point/pixel, how to get their altitudes?
Mar
9
comment QGIS 2.2 documentation
Any idea when the newbie intro will be updated? Ploughing through the API each time the old intro bowls a googly doesn't appeal at the moment (in the middle of writing PhD thesis and need less, not more stress).
Mar
8
asked QGIS 2.2 documentation
Jan
14
comment QGIS toolbox not functional on OSX
Giving up on SAGA. Getting some odd comments from make: ld: warning: directory not found for option '-L/Users/gkhanna/build/x86_64-apple-darwin11.4.0/libstdc++-v3/src' I have no idea who gkhanna is (may work for IBM) but that and ld: framework not found GDAL mean that I am switching to Arc. Jesus! Do I really want to do that?
Jan
14
comment QGIS toolbox not functional on OSX
Well SAGA wasn't working. Trying to reinstall using sourceforge.net/apps/trac/saga-gis/wiki/… but make fails for saga as it claims not to be able to find GDAL !!!!
Jan
14
comment QGIS toolbox not functional on OSX
Will check the individual installs of SAGA and TauDEM but the GDAL is definitely ok.
Jan
14
comment QGIS toolbox not functional on OSX
I am using the KyngChaos installation and nothing in the Processing-Toolbox works. Even GDAL fails, which is odd as it works when run from the Raster menu (and in the command line). This really does seem like yet another path issue.
Jan
13
asked QGIS toolbox not functional on OSX
Jan
7
awarded  Scholar
Jan
7
accepted sqlite version error with ogr2ogr
Dec
18
answered How to produce a vegetation stress map utilizing the spectral blue shift of the red edge?
Dec
12
asked Kriging with SAGA and QGIS