Re: [gdal-dev] [PR] New driver for reading/writing of JPEG XR format

2017-03-14 Thread Kurt Schwehr
Mateusz, I tried to take a quick stab at some initial review comments. It got confusing with too many comments in a small section of code. Sorry. I'm not used to reviewing in github. Hopefully you can follow what I'm getting at with the comments. -kurt On Tue, Mar 14, 2017 at 4:37 PM, Mateus

[gdal-dev] [PR] New driver for reading/writing of JPEG XR format

2017-03-14 Thread Mateusz Loskot
Hi, I have just submitted GitHub pull request with new raster driver: JPEGXR for reading/writing JPEG XR format by Microsoft. Although the project started as an experiment, the driver is fairly usable. https://github.com/OSGeo/gdal/pull/203 For more details, please refer to the PR linked above.

[gdal-dev] Up-to-date ebuilds for Gentoo/Funtoo-Linux

2017-03-14 Thread Nikos Alexandris
Dear Gentoo/Funtoo users, I am trying to update/produce OSGeo related ebuilds for Gentoo/Funtoo-Linux. First attempt at https://github.com/NikosAlexandris/osgeo-overlay/blob/master/sci-libs/gdal/gdal-2.1.3.ebuild. The ebuild fails to compile if "java mdb" support is requested. Would someone po

Re: [gdal-dev] [GRASS-user] Slow import of GHSL

2017-03-14 Thread Nikos Alexandris
* Markus Metz [2017-03-14 15:02:30 +0100]: On Tue, Mar 14, 2017 at 10:01 AM, Nikos Alexandris wrote: Nikos Alexandris Why does (attempting to) import a 38m pixel resolution GHSL [0] GeoTIFF layer, ie GHS_BUILT_LDS1990_GLOBE_R2016A_3857_38_v1_0_p1.tif, in GRASS' db progress slow? Mar

Re: [gdal-dev] How to use wrapper_GDALRasterizeDestName with C# bindings

2017-03-14 Thread Even Rouault
On mardi 14 mars 2017 15:57:31 CET Paul Meems wrote: > Thanks Even, > > I now have > using (var ds = Gdal.OpenEx(input, 1, null, null, null)) > I couldn't find GDAL_OF_VECTOR in the C# bindings. Constants are defined in swig/include/gdalconst.i as: // Open flags %constant OF_ALL = GDAL_OF_A

Re: [gdal-dev] How to use wrapper_GDALRasterizeDestName with C# bindings

2017-03-14 Thread Paul Meems
Thanks Even, I now have using (var ds = Gdal.OpenEx(input, 1, null, null, null)) I couldn't find GDAL_OF_VECTOR in the C# bindings. I'm assuming it must be 1 since GDAL_OF_RASTER is 0. It is now working. Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWind

Re: [gdal-dev] How to use wrapper_GDALRasterizeDestName with C# bindings

2017-03-14 Thread Even Rouault
On mardi 14 mars 2017 15:12:20 CET Paul Meems wrote: > I'm trying to use this gdal_rasterize command in my C# application: > gdal_rasterize -a DN -a_srs "EPSG:28992" -tr 5 5 -a_nodata 0 -l test > test.shp test.shp > > My goal is to convert a shapefile to a tiff-file. The above command does > what

[gdal-dev] How to use wrapper_GDALRasterizeDestName with C# bindings

2017-03-14 Thread Paul Meems
I'm trying to use this gdal_rasterize command in my C# application: gdal_rasterize -a DN -a_srs "EPSG:28992" -tr 5 5 -a_nodata 0 -l test test.shp test.shp My goal is to convert a shapefile to a tiff-file. The above command does what I want. I need to call it from within my C# application. I'm alre

Re: [gdal-dev] [GRASS-user] Slow import of GHSL

2017-03-14 Thread Nikos Alexandris
Nikos Alexandris Why does (attempting to) import a 38m pixel resolution GHSL [0] GeoTIFF layer, ie GHS_BUILT_LDS1990_GLOBE_R2016A_3857_38_v1_0_p1.tif, in GRASS' db progress slow? Markus M because it is a very large raster map: Size is 507904, 647168 (Apologies for cross-posting to gdal-de