Re: [gdal-dev] Creating NetCDF dataset with sub datasets

2024-03-12 Thread Pierre Chatelier via gdal-dev
(dimension_size, ...) == nBands Is there a bug or an artificial limitation by the current netCDF driver implementation ? Pierre > On 12 Mar 2024, at 14:16, Pierre Chatelier via gdal-dev > wrote: > > Le 12/03/2024 à 13:48, Even Rouault a écrit : >> >> Le 12/03/2024 à

Re: [gdal-dev] Creating NetCDF dataset with sub datasets

2024-03-12 Thread Pierre Chatelier via gdal-dev
Le 12/03/2024 à 13:48, Even Rouault a écrit : Le 12/03/2024 à 13:33, Pierre Chatelier a écrit : But I can't figure out how to customize the , which is Band1, Band2, Band3... I tried GDALRasterBand::SetDescription(), but without success Looking at netcdfdataset.cpp line 9625, the n

Re: [gdal-dev] Creating NetCDF dataset with sub datasets

2024-03-12 Thread Pierre Chatelier via gdal-dev
e(), but when reading the saved dataset file created by the netCDF driver, SUBDATASET__NAME are still "netcdf::Band1, Band2..." I am still investigating to see if it might be related to the wrong domain, but so far I can't tell. Pierre __

Re: [gdal-dev] Creating NetCDF dataset with sub datasets

2024-03-12 Thread Pierre Chatelier via gdal-dev
Band2, Band3... I tried GDALRasterBand::SetDescription(), but without success Also, is there a reason why AddBand() is not supported by the netCDF driver ? I expected it to be able to add bands on demand as new "netcdf variables". Pierre Hi, If your input dataset has multiple band

[gdal-dev] Creating NetCDF dataset with sub datasets

2024-03-07 Thread Pierre Chatelier via gdal-dev
what I am supposed to do ? Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Fwd: gdal_translate histogram conversion

2022-06-01 Thread Pierre Chaponniere
https://ibb.co/mGZHCR0 Any idea from your side on how to better represent histogram from this gdal-translate conversion ? Any help would be much appreciated !! Thanks heaps. Best regards, Pierre Chaponniere ___ gdal-dev mailing list gdal-dev@lists.osge

[gdal-dev] Global min/max

2021-04-27 Thread Pierre Chatelier
I have found the GetStatistics () method of GDALRasterBand(), but I did not find any GetStatistics() available for the whole dataset at a glance. While it is pretty obvious that it can be achieved by calling Ge

[gdal-dev] Copy or translate ?

2021-03-31 Thread Pierre Chatelier
ptions  : 1)for each band : RasterIO(read from MEM dataset) -> tmp buffer -> RasterIO(write to ENVI dataset) 2)try to use gdal_translate_lib, but I will have a hard time figuring how to build the good parameters 3)something else ? Considering performance first, what would you rec

[gdal-dev] gdal_retile not enough memory

2021-03-25 Thread Pierre
uot;, line 502, in createTile dec.uly + offsetY * dec.scaleY) File "gdal_retile.py", line 269, in getDataSet t_band.WriteRaster(tw_xoff, tw_yoff, tw_xsize, twysize, data) File "C:\Users\SIG-Pierre\AppData\Local\Programs\Python\Python37\lib\site-packages\osgeo\gdal.py", line 2381

[gdal-dev] Impossible to open an ASRP dataset in java when gdalinfo/translate commands works

2017-08-23 Thread Assemat Pierre-Jean
behavior in java ??? Thank you by advance for your help Best regards Pierre-Jean Assemat -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Impossible-to-open-an-ASRP-dataset-in-java-when-gdalinfo-translate-commands-works-tp5332236.html Sent from the GDAL - Dev mailing list

Re: [gdal-dev] Problem reading WAFS GRIB2 file with gdal

2016-09-14 Thread Pierre Leman
Ok I will do that. Thanks for your support Pierre Le 14 sept. 2016 17:15, "Even Rouault" a écrit : > Le mercredi 14 septembre 2016 17:09:18, Pierre Leman a écrit : > > Hi Even, > > > > > > Thanks for handling this problem so fast it's perfect. >

Re: [gdal-dev] Problem reading WAFS GRIB2 file with gdal

2016-09-14 Thread Pierre Leman
Hi Even, Thanks for handling this problem so fast it's perfect. Any information about the GDAL 2.2 release date ? Pierre 2016-09-14 16:16 GMT+02:00 Even Rouault : > Pierre, > > > A bug seems to be already opened for this error : > > https://trac.osgeo.org/gdal/ticket/57

[gdal-dev] Problem reading WAFS GRIB2 file with gdal

2016-09-14 Thread Pierre Leman
ve 37:1426383:d=2016090700:ICIP:300 mb:6 hour fcst:spatial max wgrib2 ../WAFS_blended_2016090700f06.grib2 -for 1:3 -grib ../grib2extractblock.grib2 Is there a workaround for the 4-37 bands ? Thanks for any help you can give Pierre ___ gdal-dev mailin

Re: [gdal-dev] FATAL: CPLGetTLSList() failed to allocate TLS list!

2015-11-05 Thread Pierre Soille
On 05/11/2015 16:57, Even Rouault wrote: > Le jeudi 05 novembre 2015 16:27:40, Pierre Soille a écrit : >> Hello! >> >> when reading 1000's of jp2 images with the JP2OpenJPEG/JPEG-2000 driver, >> I get from time to time the following error: > How do you read them

[gdal-dev] FATAL: CPLGetTLSList() failed to allocate TLS list!

2015-11-05 Thread Pierre Soille
, see https://github.com/mapbox/node-srs/blob/master/deps/osr/src/cpl_multiproc.cpp#L665 Any idea/hint, why this type of error could occur? Thanks, Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] decoding consistency between JPEG2000 drivers

2015-10-12 Thread Pierre Soille
On 09/10/2015 20:56, Even Rouault wrote: > Le vendredi 09 octobre 2015 20:26:34, Pierre Soille a écrit : >> Dear GDLALers, >> >> recently we tested the following 3 JPEG2000 drivers: JP2ECW, JPEG2000, >> and JP2OpenJPEG. A jp2 file was opened by all three drivers a

[gdal-dev] decoding consistency between JPEG2000 drivers

2015-10-09 Thread Pierre Soille
differ from the one obtained with JP2ECW. Is this a bug in the implementation of the JP2ECW driver or is there any rationale explanation? Thanks a lot in advance, Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [gdal-dev] gdal_translate and multithreading

2015-01-14 Thread Pierre Soille
. Thank you again for your time and your amazing contributions to gdal. Best regards, Pierre On 01/14/2015 10:52 AM, Even Rouault wrote: Pierre, Nor gdal_translate nor the VRT driver

[gdal-dev] gdal_translate and multithreading

2015-01-14 Thread Pierre Soille
be greatly appreciated. Cheers, Pierre -------- Pierre Soille EC Joint Research Centre Ispra, Italy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Reg: Error while running Kartograph which uses gdal

2014-12-18 Thread Pierre Mauduit
It seems that whatever generated this _gdal.so, it has been linked against a specific version of libgdal.so (1.8 probably), which does not seem to correspond with the one currently installed in your environment. Hope that helps, -- Pierre ___ gda

Re: [gdal-dev] gdalwarp giving two different results with the same input

2014-10-24 Thread VILLARD, Pierre
.roua...@spatialys.com] Envoyé : vendredi 24 octobre 2014 10:28 À : VILLARD, Pierre Cc : gdal-dev@lists.osgeo.org Objet : Re: [gdal-dev] gdalwarp giving two different results with the same input Le vendredi 24 octobre 2014 09:35:30, vous avez écrit : > Hi, > > I am using GDAL (GDAL 1.9.2, re

[gdal-dev] gdalwarp giving two different results with the same input

2014-10-24 Thread VILLARD, Pierre
.56"N) Lower Left (-179.6749593, -86.0922127) (179d40'29.85"W, 86d 5'31.97"S) Upper Right ( 179.7717662, 86.2198774) (179d46'18.36"E, 86d13'11.56"N) Lower Right ( 179.7717662, -86.0922127) (179d46'18.36"E, 86d 5'31.97"S) Center (

[gdal-dev] [OGR] Questions about the MIF/MID format implementation

2014-05-19 Thread Pierre Mauduit
core/src/main/java/org/geotools/data/ogr/OGRDataStore.java#L194-L198 [2] https://github.com/OSGeo/gdal/blob/trunk/gdal/ogr/ogrsf_frmts/mitab/mitab_miffile.cpp#L2255-L2259 <https://github.com/geotools/geotools/blob/master/modules/plugin/ogr/ogr-core/src/main/java/org/geotools/data/ogr/OGRDataStore.j

[gdal-dev] [GDAL-dev] convert rgba alpha layer to rgb white

2014-02-05 Thread Pierre CARREAUD
NODATA_VALUES 255 assembly_JPG.tif 2 4 8 16 32 64 128 256 Do you have an idea? The problem is the is not –init option, just -vrtnodata “255 255 255” to fix both background color but also the nodata bandper band… Pierre CARREAUD Spécialiste en imagerie numérique carte_voeux_2014 L’INGÉNIERIE DE

[gdal-dev] Support of KOLOR KRO raw file

2013-12-12 Thread Pierre CARREAUD
floating point ( it's not like half floating point in openEXR ) - 32bits format is pure 'c' float stored binary in big endian format ( IEEE 754 binary floating point ) - no color space specification nor metadata stored - file size limit is ruled by file system Regards, Pier

[gdal-dev] ArcGIS "Update" and "Eliminate" equivalent

2013-07-01 Thread Pierre Marcel Anselme Lacroix
Hi, I would like to know whether GDAL has the equivalents of the ArcGIS "Update" and "Eliminate" tools. http://resources.arcgis.com/en/help/main/10.1/index.html#//0017005p00 http://resources.arcgis.com/en/help/main/10.1/index.html#/Update/0008000t00/ I did not find any equivalen

Re: [gdal-dev] gdalwarp and Natural Earth

2012-09-20 Thread Pierre GIRAUD
On Sun, Sep 16, 2012 at 5:06 PM, Even Rouault wrote: > Le samedi 15 septembre 2012 21:01:10, Pierre GIRAUD a écrit : >> Hello all, >> >> A new "Natural Earth" projection was added recently to the PROJ.4 library. >> http://www.shadedrelief.com/NE_proj/ >>

[gdal-dev] gdalwarp and Natural Earth

2012-09-15 Thread Pierre GIRAUD
compiling it? Thanks for your help. Pierre -- ----- | Pierre GIRAUD | http://pierrelebricoleur.blogspot.com | http://www.flickr.com/photos/pierregiraud - __

[gdal-dev] Question regarding tif mosaic (RGB and Gray)

2012-03-27 Thread Stoermer, Jon-Pierre
uot;]] Pixel Size = (0.026845850153315,-0.026845850153315) Band 1 Block=7946x1 Type=Byte, ColorInterp=Red NoData Value=255 Band 2 Block=7946x1 Type=Byte, ColorInterp=Green NoData Value=255 Band 3 Block=7946x1 Type=Byte, ColorInterp=Blue NoData Value=255 I would like to drape the mosaic over t

[gdal-dev] Re: GDAL bindings with R install fails (following GDAL building from source)

2010-07-19 Thread Pierre Roudier
/ld.so.conf.d/gdal.conf to /usr/local/lib, and ldconfig as su. Cheers, Pierre -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-bindings-with-R-install-fails-following-GDAL-building-from-source-tp5314489p5315172.html Sent from the GDAL - Dev mailing list archive at

[gdal-dev] GDAL bindings with R install fails (following GDAL building from source)

2010-07-19 Thread Pierre Roudier
nt libgdal* Any hint on that one would be much appreciated, Pierre -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-bindings-with-R-install-fails-following-GDAL-building-from-source-tp5314489p5314489.html Sent from the GD

[gdal-dev] Converting a .bin image

2010-06-30 Thread Pierre Racine
ile format. gdalinfo failed - unable to open gp_0.05_C5.1_2006.bin'. Thanks, Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-30 Thread Pierre Racine
ach raster tile, like a geometry, has its own identity and georeference. Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
splaying it and can not deel with eventual missing tiles, then load each rasters in a separate table the Oracle way. I suggest you read section 3.1 of http://trac.osgeo.org/postgis/wiki/WKTRaster/Documentation01 Pierre ___ gdal-dev mailing list gdal-dev

[gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
e 2.0. Upcoming functions should include ST_Reclass, ST_Clip, ST_AsRaster, ST_Resample. Let us know your need and your experience with WKT Raster. Thanks, Pierre Racine ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] RE: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW

2010-06-01 Thread Pierre Racine
Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool). >-Original Message- >From: postgis-devel-boun...@postgis.refractions.net [mailto:postgis-devel- >boun...@postgis.refractions.net] On Behalf Of Jorge Arévalo >Sent: 31 mai 2010 07:42 >To: gdal-dev@lists.os

RE: [gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-08 Thread Pierre Racine
tch the owning dataset handle >(GDALGetBandDataset).I think it >could be useful to get the WKT Raster handle from a WKT RasterBand too... Am I >right? rt_band_get_data()? Pierre ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] Question about gdal2wktraster

2009-07-13 Thread Pierre Racine
xt(extent) FROM raster_columns" should match what you get from gdalinfo over the tif image. Pierre >-Original Message- >From: gdal-dev-boun...@lists.osgeo.org >[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jorge >Arévalo >Sent: 12 juillet 2009 19:01 >To: gdal-de