[gdal-dev] GeoTiff crashing qgis

2014-05-13 Thread David Strip
I have a piece of C++ code that is clipping regions from a very large (roughly 90,000 x 100,000 pixels, 11G compressed) Float32 gray-scale single band image and writing each as a separate GeoTiff (with LZW compression). In the sample that I've run, I've clipped four different regions. gdalinfo can

[gdal-dev] ENVI driver patch

2014-05-13 Thread Wilson Waters
Hi all, I've been working with ENVI files lately and have come across a few issues. I'm hoping you can point out if I'm doing something wrong or if I should create a GDAL bug with the attached patch. We found our ENVI .hdr files were being corrupted whenever opened in write mode with GDAL. N

[gdal-dev] VRT ComputeStatistics fails because of self-reference

2014-05-13 Thread Matt Gregory
Hi all, I'm trying to compute statistics on a VRT file using the python band.ComputeStatistics method. I'm using GDAL 1.10.1 on a Windows 7 64-bit box. First, I create a VRT clip of a larger raster using gdal_translate, e.g. gdal_translate -of VRT -projwin in.tif out.vrt Then, in Python

Re: [gdal-dev] Convert in-memory raster

2014-05-13 Thread Chaitanya kumar CH
Anthony, The closest methods in the gdal algorithms is to use GDALComputeMatchingPoints(). You'll get a set of GCPs that match one raster to another. Please report your experience with it here. -- Best regards, Chaitanya Kumar CH On 12-May-2014 11:40 pm, "Baker, Anthony W" wrote: > I am interes

[gdal-dev] Qt5.2.1+GDAL1.11+VC10: ogrsf_frmts.h compile errors

2014-05-13 Thread David Tran
Hi test.pro TEMPLATE = app TARGET = test DEPENDPATH += $$PWD/src $$PWD/include INCLUDEPATH += $$PWD/src $$PWD/include SOURCES += src/main.cpp main.cpp //#include "ogr_api.h" #include "ogrsf_frmts.h" int main() {} It compiles fine with #include "ogr_api.h", but with #include "ogrsf_frmts.h"

[gdal-dev] Gdal-Fortran-Linux Problem

2014-05-13 Thread Fabian Niggemann
Hi, I?m trying to link gdal to fortrangis to use the gdal fortran interface on Ubuntu 12.04. I?ve installed gdal Version 1.11. and installed the fortrangis package with disabled shared libraries. If I try now to compile a fortran program(e.g. Command: ifort -I /usr/local/include/ gdal_test.F90

Re: [gdal-dev] Idea: GeoTIFF box in JPEG to add georeferencing

2014-05-13 Thread Robert Coup
On Tue, May 13, 2014 at 7:59 AM, Even Rouault wrote: > > > > In light of this, it may be better to use an xml or textual > representation > > and embed it inside an XMP block, which is supported for many formats[1]. > > Also it would allow for easier human-reading. > > Yes, that's one possibilit