[gdal-dev] Re: Large NITF generation
turtlewax
frankhevans at yahoo.com
Thu Aug 26 11:20:19 EDT 2010
Thanks to Chaitanya kumar for the help.
Specifying a BLOCKXSIZE and BLOCKYSIZE on the command line solved this.
gdal_translate -of NITF -co BLOCKXSIZE=1024 -co BLOCKYSIZE=1024 foo.tif
foo.ntf
Furthermore, adding these options to my mapserver map file worked as well.
OUTPUTFORMAT
NAME NITF
DRIVER "GDAL/NITF"
IMAGEMODE RGB
MIMETYPE "image/nitf"
EXTENSION "ntf"
FORMATOPTION "BLOCKXSIZE=1024"
FORMATOPTION "BLOCKYSIZE=1024"
END
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Large-NITF-generation-tp5461499p5466006.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list