[gdal-dev] Using gdal_translate to convert to KML overlay

2013-11-05 Thread António Rocha
Dear all, I'm using a similar command line like this to convert a geotiff RASTER to KMZ but gdal_translate.exe -of KMLSUPEROVERLAY c:\in.tif c:\out.kmz -co FORMAT=JPEG All I get is a totally black image. Any tips on how to solve this? REgards, Antonio _

Re: [gdal-dev] [pdal] Building PDAL using pramsey-config.sh

2013-11-05 Thread Howard Butler
On Nov 4, 2013, at 1:44 PM, Even Rouault wrote: > If doable, the best thing would be for PDAL to avoid including in the same > .cpp file both geotiff/cpl_serv.h and gdal/cpl_port.h. Or cheating by #define > CPL_SERV_H_INCLUDED before including libgeotiff headers. I'll make the change of #defi

Re: [gdal-dev] Locked files under Windows

2013-11-05 Thread Roger Bivand
On Tue, 5 Nov 2013, Even Rouault wrote: Even, Thanks as always for getting back quickly! Yes, the relevant code is (line 475 in rgdal/src/gdal-bindings.cpp): GDALDataset *pDataset = (GDALDataset *) R_ExternalPtrAddr(sxpHandle); if (pDataset == NULL) return(R_NilValue); installE

Re: [gdal-dev] Locked files under Windows

2013-11-05 Thread Even Rouault
> Even, > > Thanks as always for getting back quickly! Yes, the relevant code is (line > 475 in rgdal/src/gdal-bindings.cpp): > >GDALDataset *pDataset = > (GDALDataset *) R_ExternalPtrAddr(sxpHandle); > >if (pDataset == NULL) return(R_NilValue); > >installErrorHandler(); > >

Re: [gdal-dev] Locked files under Windows

2013-11-05 Thread Roger Bivand
On Tue, 5 Nov 2013, Even Rouault wrote: Selon Roger Bivand : Hi, This is probably my muddle, but we have an unresolved problem in rgdal on Windows: https://stat.ethz.ch/pipermail/r-sig-geo/2013-October/019667.html https://stat.ethz.ch/pipermail/r-sig-geo/2013-November/019701.html where temp

Re: [gdal-dev] Locked files under Windows

2013-11-05 Thread Even Rouault
Selon Roger Bivand : > Hi, > > This is probably my muddle, but we have an unresolved problem in rgdal on > Windows: > > https://stat.ethz.ch/pipermail/r-sig-geo/2013-October/019667.html > https://stat.ethz.ch/pipermail/r-sig-geo/2013-November/019701.html > > where temporary files created with pDri

[gdal-dev] Locked files under Windows

2013-11-05 Thread Roger Bivand
Hi, This is probably my muddle, but we have an unresolved problem in rgdal on Windows: https://stat.ethz.ch/pipermail/r-sig-geo/2013-October/019667.html https://stat.ethz.ch/pipermail/r-sig-geo/2013-November/019701.html where temporary files created with pDriver->Create() are open and locked