[gdal-dev] GDAL Bandes To RGB

2017-03-08 Thread lotfi Raghib
Hello GDAL developpers, l have a question how can i create a RGB image based on 3 bands GDALDataset, thanks ALL. -- RAGHIB Lotfi Etudiant en master Systèmes intelligents et réseaux, Faculté des Sciences et Techniques Fès Mail: lotfi.r...@gmail.com Tel : +212 6 29 80 84 93

Re: [gdal-dev] Symlinks to VRTs

2017-03-08 Thread Even Rouault
On mercredi 8 mars 2017 22:37:42 CET Luis Ressel wrote: > On Wed, 08 Mar 2017 21:28:34 +0100 > > Even Rouault wrote: > > The relevant piece of code is in > > https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/vrt/vrtdataset.cpp#L73 > > 9 > > > > If you look a bit below in > > https://github.com

Re: [gdal-dev] Symlinks to VRTs

2017-03-08 Thread Luis Ressel
On Wed, 08 Mar 2017 21:28:34 +0100 Even Rouault wrote: > The relevant piece of code is in > https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/vrt/vrtdataset.cpp#L739 > > If you look a bit below in > https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/vrt/vrtdataset.cpp#L814 > there's an open o

Re: [gdal-dev] Geostationary Projection with microradians

2017-03-08 Thread Even Rouault
On mercredi 8 mars 2017 14:55:36 CET Zachary Flamig wrote: > Hi all, > > The GOES-16 satellite has started delivering full disk netcdf files that > conform to a new portion of the CF standard: > https://cf-trac.llnl.gov/trac/ticket/72 > Unfortunately, they

[gdal-dev] Geostationary Projection with microradians

2017-03-08 Thread Zachary Flamig
Hi all, The GOES-16 satellite has started delivering full disk netcdf files that conform to a new portion of the CF standard: https://cf-trac.llnl.gov/trac/ticket/72 Unfortunately, they choose to use units of micro-radians instead of meters so it doesn

Re: [gdal-dev] compiling gdal with esri file gdb

2017-03-08 Thread Even Rouault
On mercredi 8 mars 2017 13:31:01 CET Richard Greenwood wrote: > I have an ESRI file gdb with curves that I need to import so I'm trying to > build gdal 2.2 with filegdb. I'm on Ubuntu 16.04 with gcc 5.4. I checked > out the the svn gdal and built it with any problems. > > Next I got the ESRI FileG

[gdal-dev] compiling gdal with esri file gdb

2017-03-08 Thread Richard Greenwood
I have an ESRI file gdb with curves that I need to import so I'm trying to build gdal 2.2 with filegdb. I'm on Ubuntu 16.04 with gcc 5.4. I checked out the the svn gdal and built it with any problems. Next I got the ESRI FileGDB_API_1_5_64 and copied the contents of the lib and include directories

Re: [gdal-dev] Symlinks to VRTs

2017-03-08 Thread Even Rouault
On mercredi 8 mars 2017 19:38:24 CET Luis Ressel wrote: > Hello, > > VRTs can reference other files by relative paths. Upon reading such a > VRT, GDAL will evaluate the relative path based on the directory where > the VRT resides. Now, imagine the following situation: > > * There's a directory a/

[gdal-dev] Symlinks to VRTs

2017-03-08 Thread Luis Ressel
Hello, VRTs can reference other files by relative paths. Upon reading such a VRT, GDAL will evaluate the relative path based on the directory where the VRT resides. Now, imagine the following situation: * There's a directory a/ containing several raster files and a VRT referencing them. * Ther

[gdal-dev] Experiments with multiprocessing

2017-03-08 Thread Ari Jolma
I've tried multiprocessing a bit, here's my log on that. My test case was computing the min and max of a 35989 x 61978 integer raster (Finland in 20 m x 20 m cells). The data is a LZW compressed GTiff with 128 x 128 blocks. The file size is ~200 MB. I used block based access, Perl and PDL (Pe

Re: [gdal-dev] ogr2ogr -sql and -nln

2017-03-08 Thread Even Rouault
On mercredi 8 mars 2017 06:09:44 CET Mike wrote: > I'm getting this > Warning 1: layer names ignored in combination with -sql. > > However, I need to use the -sql query as I'm adding fields and populating > them as I go. > > The source dataset cannot be edited. > > I'm trying to combine several

[gdal-dev] ogr2ogr -sql and -nln

2017-03-08 Thread Mike
I'm getting this Warning 1: layer names ignored in combination with -sql. However, I need to use the -sql query as I'm adding fields and populating them as I go. The source dataset cannot be edited. I'm trying to combine several datasets into various tables in PostGIS, where there's a name diffe