Re: [Qgis-user] Batch "ECW creating"
On 2019-04-16 9:58 AM, Piotr Kania wrote: Big "thank you" for people, that helped me. Installer of FWTools 2.4.7 is available here (yet): http://fwtools.loskot.net/ For the record, today there are several maintained options. Of course I am biased towards MS4W (https://ms4w.com), that includes ECW support in GDAL, and many useful commandline utilities (such as osm2pgsql). But I'm glad you solved the problem! -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Batch "ECW creating"
Hello again! The answer is: for %i in ("d:\\*.tif") do gdal_translate -of ECW -co LARGE_OK=YES -co TARGET=95 "%i" "d:\.\%~ni.ecw Big "thank you" for people, that helped me. Installer of FWTools 2.4.7 is available here (yet): http://fwtools.loskot.net/ > Hello! > I am sorry for asking about sth not connected with qgis... > I would like to use old FWTools 2.4.7 to convert geotiff's files to ecw > format. Right now I use that "command": for %i in ("d:\\*.tif") do > gdal_translate -of ECW -co LARGE_OK=YES "%i" "d:\.\%~ni.ecw > > Can I add sth to that "command" to achieve better "compression ratio"? > Thanks for any response. > > Greetings - Piotrek > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Batch "ECW creating"
sorry, I did not carefully read .. obviously the wrong answer. But as far as I understand you need a valid ERDAS license for compression. Cheers. Stefan > st_kie...@web.de hat am 16. April 2019 um 12:46 geschrieben: > > > you might want to have a look for > > https://gdal.org/frmt_gtiff.html > > search for "COMPRESS=" and decide which compression mode to use, and > further parameter if posiible to control the compression level like for > example "JPEG_QUALITY=", to extend the -co parameter. > > Cheers. > > Stefan > > > > Piotr Kania hat am 16. April 2019 um 12:32 > geschrieben: > > > > Hello! > > I am sorry for asking about sth not connected with qgis... > > I would like to use old FWTools 2.4.7 to convert geotiff's files to > > ecw format. Right now I use that "command": for %i in ("d:\\*.tif") do > > gdal_translate -of ECW -co LARGE_OK=YES "%i" "d:\.\%~ni.ecw > > > > Can I add sth to that "command" to achieve better "compression > > ratio"? Thanks for any response. > > > > Greetings - Piotrek > > ___ > > Qgis-user mailing list > > Qgis-user@lists.osgeo.org > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Batch "ECW creating"
You can read about all of the ECW creation options here: https://gdal.org/frmt_ecw.html Note that FWTools will likely be using the old version 3 SDK (or older) for ECW mentioned there. (by the way, be careful with using abbreviations such as "sth" on mailing lists, as many readers will not understand what you mean. Always try to spell out what you are asking for, so those in other languages can follow easily, giving you more of a chance to get a response) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2019-04-16 7:32 AM, Piotr Kania wrote: Hello! I am sorry for asking about sth not connected with qgis... I would like to use old FWTools 2.4.7 to convert geotiff's files to ecw format. Right now I use that "command": for %i in ("d:\\*.tif") do gdal_translate -of ECW -co LARGE_OK=YES "%i" "d:\.\%~ni.ecw Can I add sth to that "command" to achieve better "compression ratio"? Thanks for any response. Greetings - Piotrek ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Batch "ECW creating"
you might want to have a look for https://gdal.org/frmt_gtiff.html search for "COMPRESS=" and decide which compression mode to use, and further parameter if posiible to control the compression level like for example "JPEG_QUALITY=", to extend the -co parameter. Cheers. Stefan > Piotr Kania hat am 16. April 2019 um 12:32 geschrieben: > > Hello! > I am sorry for asking about sth not connected with qgis... > I would like to use old FWTools 2.4.7 to convert geotiff's files to ecw > format. Right now I use that "command": for %i in ("d:\\*.tif") do > gdal_translate -of ECW -co LARGE_OK=YES "%i" "d:\.\%~ni.ecw > > Can I add sth to that "command" to achieve better "compression ratio"? > Thanks for any response. > > Greetings - Piotrek > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user