Re: [gdal-dev] GDAL unable to write 4-band RGBA jp2 file with Kakadu 7.8

2017-02-13 Thread Kurt Schwehr
Hi Jason, I've seen the same thing with an alpha channel. I'm not sure what's up. Using just RGB was successful. On 7.3, I'm also seeing problems when using more than the main thread on linux. With 7.3, I just noticed today that kdu_get_num_processors() only returns 0 on linux as kdu_arch.cpp i

[gdal-dev] GDAL unable to write 4-band RGBA jp2 file with Kakadu 7.8

2017-02-13 Thread jason.liu
Hi gdal-dev, I am having trouble using GDAL to write 4-band RGBA jp2 file with Kakadu 7.8. The following minimal code GDALAllRegister(); GDALDataset* srcDataset = (GDALDataset*)GDALOpen("/home/jason.liu/0783.tif", GA_ReadOnly); char **papszOptions = NULL; papszOptions = CSLS

Re: [gdal-dev] gdalwarp has blank metadata

2017-02-13 Thread Adam Dershowitz
Thanks much for both the fix and the work around. I'll look into ncdump. --Adam -Original Message- From: Even Rouault [even.roua...@spatialys.com] Sent: Monday, February 13, 2017 03:04 PM Pacific Standard Time To: gdal-dev@lists.osgeo.org Cc: Adam De

[gdal-dev] GDAL : Access window out of range in RasterIO and blank buffer in warp for same block extents

2017-02-13 Thread asmita
I was using the WarpingReader but since it somehow broke the warp part in the upgrade from GDAL 1.1 to 2.1.2 , I tried to investigate the read with simple read, however I got this error : Access window out of range in RasterIO(). Requested (0,24104) of size 430x450 on raster of 11783x14544. Howe

Re: [gdal-dev] gdalwarp has blank metadata

2017-02-13 Thread Even Rouault
On lundi 13 février 2017 21:32:02 CET Adam Dershowitz wrote: > I have been using gdalwarp to convert a geotiff to NetCDF format. The odd > thing is that if the result is in feet, I get blank units in my output > metadata units. While if I go to meters, I get the correct units. > So for example

Re: [gdal-dev] "symbol(s) not found for architecture x86_64" when compiling GDAL 2.1.0 on Mac OS X

2017-02-13 Thread Michal Migurski
> On Feb 12, 2017, at 11:57 AM, Even Rouault wrote: > > On dimanche 12 février 2017 11:46:39 CET Michal Migurski wrote: > > Thank you, Even! > > > > This should work for me currently, since I am using this installation of > > GDAL exclusively for vector work. I can confirm that this patch did w

[gdal-dev] gdalwarp has blank metadata

2017-02-13 Thread Adam Dershowitz
I have been using gdalwarp to convert a geotiff to NetCDF format. The odd thing is that if the result is in feet, I get blank units in my output metadata units. While if I go to meters, I get the correct units. So for example this works correctly: gdalwarp -t_srs EPSG:3651 -of netCDF cea.ti

Re: [gdal-dev] Gdal Java - GetDefaultHistogram causing core dump

2017-02-13 Thread Vlad
Hi Even: As always thanks for your prompt reply. I don't "think" we'll ever encounter one of these in our production datasets, this one was in my test suite, that is how I ran into it. Though unlikely on the production system, I can't afford a core dump, so I'll put in the statistics test in th

Re: [gdal-dev] Problem with black edges to DOQQs using JPEG in Tiff compression

2017-02-13 Thread Stephen Woodbridge
Jukka, Thanks for your suggestion. We have a couple of requirements mapserver is only one, the other is some additional processing, but I like the simplicity of your suggestion. Brian C. spend a lot of time on irc with me and I think we finally got the processing chain straightened out and it

[gdal-dev] Calibration updates for Sentinel 1 Driver for GDAL

2017-02-13 Thread Augustus
Hi, This query is based on extending the feature support mentioned in this thread https://lists.osgeo.org/pipermail/gdal-dev/2016-May/044419.html GDAL Sentinel driver doesn’t support calibration as of now. Right now we have an implementation for sigma calibration with GRD datasets. We are using

Re: [gdal-dev] How to use wrapper_GDALWarpDestName in C#

2017-02-13 Thread Even Rouault
On lundi 13 février 2017 14:16:01 CET Paul Meems wrote: > Thanks Even, > > I saw that issue when searching for samples. > I don't understand the status of this issue. I'm a right *just* a typemap > is needed? Most likely > Is somebody working on this? Apparently not > Can I help, if so how? W

Re: [gdal-dev] How to use wrapper_GDALWarpDestName in C#

2017-02-13 Thread Paul Meems
Thanks Even, I saw that issue when searching for samples. I don't understand the status of this issue. I'm a right *just* a typemap is needed? Is somebody working on this? Can I help, if so how? Regards, Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow

Re: [gdal-dev] How to use wrapper_GDALWarpDestName in C#

2017-02-13 Thread Even Rouault
Paul, This is an issue known as https://trac.osgeo.org/gdal/ticket/6437 Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] How to use wrapper_GDALWarpDestName in C#

2017-02-13 Thread Paul Meems
Hi List, I'm now trying to use GDALWarp with the C# bindings. I'm using GDAL v2. Together with a colleague we came up with this snippet: using (var ds = Gdal.Open(input, Access.GA_ReadOnly)) { if (ds == null) { throw new Exception("Can't open GDAL dataset: " + input); } v

Re: [gdal-dev] Motion: Adopt RFC 67 Null values in OGR

2017-02-13 Thread Even Rouault
Hi, > > I move to adopt RFC 67: Null values in OGR > > https://trac.osgeo.org/gdal/wiki/rfc67_nullfieldvalues > > Starting with my +1, > I declare this motion passed with +1 from JukkaR, HowardB, DanielM and myself. I'm going to merge the implementation into trunk. Even -- Spatialys -

Re: [gdal-dev] Problem with black edges to DOQQs using JPEG in Tiff compression

2017-02-13 Thread jratike80
Stephen Woodbridge wrote > Even, > Thanks for the quick feedback. I'll will give these suggestions and try > today and let you know how it goes. > > Thanks, >-Steve Hi Steve, They are probably good suggestions but folks did not bother to think what is your ultimate target. It is not to impr