Re: [gdal-dev] Gdal translate ECW to TIF.

2018-08-13 Thread Dmitriy T.
Thank you, Even Rouault-2! Your comment: "Or just use the ready-made packages at http://gisinternals.com/stable.php"; saved me. This is the best way. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing lis

[gdal-dev] Gdal translate ECW to TIF.

2018-08-08 Thread Dmitriy T.
I took the following steps: 1) Download http://download.osgeo.org/gdal/2.3.0/gdal230.zip 2) Unzip to C:\gdal_ecw\gdal-2.3.0 3) Download, unzip and install https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-0 to C:\Intergraph\ERDAS ECW JPEG 2000 SDK 5.0 4) In C:\gdal_ecw\

Re: [gdal-dev] Is there "--config GDAL_TIFF_INTERNAL_MASK YES" C# equivalent???

2018-08-08 Thread Dmitriy T.
Thanks . I did as you said, but could you explain why I get a different result: Before: ... string translateOptions = options + translatedFileName + "--config GDAL_TIFF_INTERNAL_MASK YES"; var gdalTranslateProc = new ProcessStartInfo { Arguments = translateOptions, FileName = Gda

[gdal-dev] Is there "--config GDAL_TIFF_INTERNAL_MASK YES" C# equivalent???

2018-08-07 Thread Dmitriy T.
How to use a bunch: Dataset image = Gdal.OpenShared(sourceCopy, Access.GA_ReadOnly); Gdal.wrapper_GDALTranslate(translatedFile, image, options, null, null); to create a JPEG-compressed TIFF with internal mask from a RGBA dataset (in C#)? I'm interested in the C# equivalent of a call *--config GD

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-08-07 Thread Dmitriy T.
see also https://github.com/mapbox/rasterio/blob/master/docs/topics/image_options.rst There is a similar for C#: *.Env(GDAL_TIFF_INTERNAL_MASK=True)* ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing lis

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-08-07 Thread Dmitriy T.
see also https://github.com/OSGeo/gdal/issues/689 It seems that it is reproduced on the python, too. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/ma

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-08-07 Thread Dmitriy T.
see alse https://github.com/OSGeo/gdal/issues/689 It seems that it is reproduced on the python, too. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/ma

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-08-07 Thread Dmitriy T.
Hi! I was wrong, everything I've tried before does not work. I'm using ะก# and still could not make it work correctly. Please, tell me what bindings are required? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mail

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-20 Thread Dmitriy T.
Thank you! -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-19 Thread Dmitriy T.
Maybe it is configurable as Gdal.SetConfigOption("GDAL_TIFF_INTERNAL_MASK", "YES"); before Gdal.wrapper_GDALTranslate calling? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

[gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-19 Thread Dmitriy T.
How to send the parameter "--config GDAL_TIFF_INTERNAL_MASK YES" as option to the method Gdal.wrapper_GDALTranslate. There is an exception if I split it as follows: "--config GDAL_TIFF_INTERNAL_MASK YES" or "--config", "GDAL_TIFF_INTERNAL_MASK YES" or "--config", "GDAL_TIFF_INTERNAL_MASK", "YES"

[gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-19 Thread Dmitriy T.
How to send the parameter "--config GDAL_TIFF_INTERNAL_MASK YES" as option to the method Gdal.wrapper_GDALTranslate. There is an exception if I split it as follows: "--config GDAL_TIFF_INTERNAL_MASK YES" or "--config", "GDAL_TIFF_INTERNAL_MASK YES" or "--config", "GDAL_TIFF_INTERNAL_MASK", "YES"