[gdal-dev] gdal_translate was compiled against GDAL 2.4, but the current library version is 2.2

2019-02-14 Thread Agustin Lobo
After upgrading to 2.4 on Debian testing (buster), I get $ gdal_translate ERROR 1: gdal_translate was compiled against GDAL 2.4, but the current library version is 2.2 I've checked with synaptic and libgdal20 is 2.4 Any clue on what to do? Thanks ___ gd

[gdal-dev] Wrong values writing ENVI image (both as ENVI or as GTiff)

2018-12-19 Thread Agustin Lobo
I have an image of 144 rows x 640 cols x 224 bands in ENVI format, in bil and UInt16 (hdr states interleave = bil, data type = 12). In order to convert to GTiff, I state: gdal_translate -ot UInt16 input.raw test.tif but values in test.tif are wrong: e.g. a pixel with value of 1038.0 in input.raw

[gdal-dev] gdal_calc.py: multiply each band of a multispectral raster by a factor

2018-12-18 Thread Agustin Lobo
Dear devs, Is it possible to use gdal_calc.py to multiply each band of a multispectral raster by a factor? I've tried: gdal_calc.py -A ReflPCA.tif --allBands=A --outfile=result.tif --calc="A*[1,2,3,4,5,6]" --overwrite it works fine with 1 single value, gdal_calc.py -A ReflPCA.tif --allBands=A --o

[gdal-dev] polynomial coeficients

2015-07-02 Thread Agustin Lobo
Is it possible to enter the coefficients of the polynomial instead of the gcp list for gdaltransform or gdalwarp? Thanks ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] gdalwarp for affine transformation?

2013-06-27 Thread Agustin Lobo
Is it possible to warp a raster using a 6 parameters transformation? I've found that I can set gcp and the order of the polynomial in gdal_transform and then use gdalwarp to apply the polynomial, but is it possible to set the transformation matrix? Thanks Agus

[gdal-dev] kml file does not open with ogrinfo but works with GE

2013-01-03 Thread Agustin Lobo
A program (Mission Planner for Ardupilot) http://code.google.com/p/ardupilot-mega/wiki/MPTlog produces kml files with track information that can be represented with the same program and GE, but I cannot open them with ogrinfo: $ ogrinfo test.kml FAILURE: Unable to open datasource `test.kml' with th

[gdal-dev] write pseudocolor raster

2012-12-23 Thread Agustin Lobo
I have some 1-band raster layers that I would like to write as pseudocolor files. Is it possible to use gdal_traslate or another gdal utility to write the raster using the color palette of another file? I've seen the procedure described in http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormod

Re: [gdal-dev] Problems with gdal and hdf files

2012-05-02 Thread Agustin Lobo
t; but GDALinfo() is correct. Cannot test hdf5 or readGDAL() in R as the file is huge I guess the problem is in QGIS (and R package raster)? I'm not sure, as I do not know if subdatasets can be selected for reading using gdal. Agus 2012/5/2 Even Rouault : > Selon Agustin Lobo : > &

[gdal-dev] Problems with gdal and hdf files

2012-05-02 Thread Agustin Lobo
Hi! The gdal info of a multiband satellite image in hdf is reported by gdal as "Size is 512, 512" in contradiction with the size of the subdatasets. QGIS and R (raster+rgdal) report an error at opening the file, while envi and HDFLook can open it with no problem. I include the gdalinfo output and

[gdal-dev] gdal18dev ??

2010-12-13 Thread Agustin Lobo
Hi! According to Synaptic (on ubuntu 10.04 64 bits) I have gdal1.7.3, but package rgdal in R claims GDAL runtime: GDAL 1.8dev How can it be? I do not find any gdal18 in my system and rgdal uses the installed gdal, as I install rgdal from source. Thanks, Agus

[gdal-dev] towgs84 for epsg3035

2010-11-22 Thread Agustin Lobo
Hi! I have to convert a pair of geographic coordinates in wgs84 to epsg:3035 (GRS80 ellipsoid). Where can I find the appropriate towgs84 parameters? This is to set the NW corner coordinates of a tifw file for a tif file with elevations of Europe in epsg:3035 projection (http://www.eea.europa.eu/da

[gdal-dev] Referencing GDAL in an article

2009-09-30 Thread Agustin Lobo
Which is the appropriate reference to GDAL for being included in an article? Thanks Agus ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Re: [Qgis-user] Python Batch Processing

2009-09-10 Thread Agustin Lobo
Mauricio, how should we use it? I've unzipped under .qgis/python/plugins but the get an error upon qgis start up: Couldn't load plugin "pybatchproc" from ['/usr/share/qgis/python', '/home/alobo/.qgis//python/plugins/symbology_ng', '/home/alobo/.qgis//python/plugins', '/usr/share/qgis/python/plu

[gdal-dev] Directions to get mrsid support in GQIS (and other packages using gdal) on Ubuntu

2009-06-28 Thread Agustin Lobo
.onLoad failed in 'loadNamespace' for 'rgdal' but this error goes away just by deleting /usr/lib/gdal16plugins/gdal_MrSID.so Hope this helps! Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spa

[gdal-dev] Same error for gdal-mrsid on ubuntu 8.10

2009-06-24 Thread Agustin Lobo
Alan, I've upgraded to 8.10 and I've reinstalled gdal (1.6.1) and gdal-mrsid-src (through sudo apt-get install gdal-mrsid-src because gdal-mrsid-src is not listed by synaptic) and then made gdal_MrSID.so with sudo /usr/bin/gdal-mrsid-build /usr/local/Geo_DSDK-7.0.0.2167 but have the same pr

[gdal-dev] [Fwd: Re: Problem with gdal-mrsid-src]

2009-06-15 Thread Agustin Lobo
FYI Agus Original Message Subject: Re: Problem with gdal-mrsid-src Date: Sat, 13 Jun 2009 12:53:13 +0200 From: Agustin Lobo Reply-To: agustin.l...@ija.csic.es To: Alan Boudreault References: <20090530203254.4919.55334.launch...@gangotri.canonical.com> <200906101

[gdal-dev] ECW support (Re: [Qgis-user] Raster data formats)

2009-05-22 Thread Agustin Lobo
Apparently, there is no problem for including ECW support in gdal binaries ? http://n2.nabble.com/Tickets-2385-and-2683-(ECW-and-MrSID-plugins)-tt2767156.html#none Giovanni Manghi wrote: http://lists.osgeo.org/pipermail/qgis-developer/2009-May/006931.html *Paolo Cavallini* cavallini at faun

Re: [gdal-dev] Tickets 2385 and 2683 (ECW and MrSID plugins)

2009-05-04 Thread Agustin Lobo
rying. Thank you all for your work on gdal. Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spain Tel. 34 934095410 Fax. 34 934110012 email: agustin.l...@ija.csic.es http://www.ija.csic.es/gt/obster Francesco P. Lover

[gdal-dev] Tickets 2385 and 2683 (ECW and MrSID plugins)

2009-05-02 Thread Agustin Lobo
What are the plans for these 2 tickets? I think that "The idea is allowing users to add easily MrSID support to a binary distribution of GDAL" is a very useful one. Actually, are these 2 patches ready to be used? or should we wait for further development? Thanks Agus -- Dr. Ag

[gdal-dev] RAW formats in gdal?

2009-04-16 Thread Agustin Lobo
Are there plans to include some RAW formats from digital cameras in gdal? At least the one of these RAW formats, the one from foveon Sigma cameras (x3f)) seems fully documented: http://www.figuiere.net/hub/blog/?2005/04/29/167-disclosed-raw-format-sigmafoveon http://www.photofo.com/x3f-raw-format

[gdal-dev] Problem with gdal_merge.py (ubuntu 8.04)

2009-04-02 Thread Agustin Lobo
, 1920.0) Upper Right ( 2560.0,0.0) Lower Right ( 2560.0, 1920.0) Center ( 1280.0, 960.0) Band 1 Block=2560x1 Type=Float32, ColorInterp=Gray Thanks Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spain Te

Re: [gdal-dev] File too large?

2008-12-06 Thread Agustin Lobo
w.bat", and GDAL command line utilities should work. That way you get MrSID and ECW support... Best regards, Even Le Friday 05 December 2008 17:09:09 Agustin Lobo, vous avez écrit : I'm actually using the version from FWTools-linux-2.0.6.tar do I have to upgrade? Agus Agustin Lob

Re: [gdal-dev] File too large?

2008-12-05 Thread Agustin Lobo
I'm actually using the version from FWTools-linux-2.0.6.tar do I have to upgrade? Agus Agustin Lobo wrote: Thanks for your fast answer. I'm using a quite new version: [EMAIL PROTECTED]:~$ gdalinfo --version GDAL 1.5.1, released 2008/03/14 I'm going to get the newest, and wi

Re: [gdal-dev] File too large?

2008-12-05 Thread Agustin Lobo
ile? Agus Frank Warmerdam wrote: On Fri, Dec 5, 2008 at 3:04 AM, Agustin Lobo <[EMAIL PROTECTED]> wrote: I have a file in envi format (PIR_MVC_EUROM_0112_2000.bsq and PIR_MVC_EUROM_0112_2000.hdr) From gdalinfo I get: gdalinfo PIR_MVC_EUROM_0112_2000.bsq ERROR 4: `PIR_MVC_EUROM_01

[gdal-dev] File too large?

2008-12-05 Thread Agustin Lobo
2_2000.bsq to PIR_MVC_EUROM_0112_2000 The size of the file is 6005188800 bytes, could this be the problem? I do not have this problem with other, smaller files. (I'm using ubuntu 8.04 and the file is on a NTFS partition) Thanks -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Al