The -ps parameter specifies the pixel width and pixel height of a tile. You must multiply these values.

-ps  1000 1000

means 1000x1000 = 1 million pixels for each tile

As a consequence, a tile needs 1 MB .. n MB , depending on your color model. The file size of the tiles my be smaller if compression is used. (e. g. png), but in memory during calculations, the raster data is uncompressed.

Quoting Tacot <[email protected]>:


Hi,

Why do you talk about million pixels?

I'm trying now with this command:
gdal_retile -of ECW -ps 1000 1000 -targetDir C:\GDAL\ECW Image.ecw
It's not finished yet, but there's so many tiles!!

I thought maybe using gdalbuildvrt, it could be a possibility.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-retile-reshape-ecw-tp5655048p5655301.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to