it.geosolutions.imageio.plugins.jp2kakadu
Class JP2GDALKakaduCreateOptionsHandler

Object
  extended by GDALCreateOptionsHandler
      extended by JP2GDALKakaduCreateOptionsHandler

public class JP2GDALKakaduCreateOptionsHandler
extends GDALCreateOptionsHandler

Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini, GeoSolutions.

Constructor Summary
JP2GDALKakaduCreateOptionsHandler()
          This information is based on the documentation available at http://www.gdal.org/frmt_jp2kak.html Creation Options:
======================================================================== QUALITY=n: Set the compressed size ratio as a percentage of the size of the uncompressed image.
 
Method Summary
 
Methods inherited from class GDALCreateOptionsHandler
addCreateOption, addCreateOptions, getCreateOptions, setCreateOption, setCreateOption, setCreateOption, setCreateOption
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JP2GDALKakaduCreateOptionsHandler

public JP2GDALKakaduCreateOptionsHandler()
This information is based on the documentation available at http://www.gdal.org/frmt_jp2kak.html Creation Options:
======================================================================== QUALITY=n: Set the compressed size ratio as a percentage of the size of the uncompressed image. The default is 20 indicating that the resulting image should be 20% of the size of the uncompressed image. A value of 100 will result in use of the lossless compression algorithm . Actual final image size may not exactly match that requested depending on various factors.
------------------------------------------------------------------------ BLOCKXSIZE=n: Set the tile width to use. Defaults to 20000.
------------------------------------------------------------------------ BLOCKYSIZE=n: Set the tile height to use. Defaults to image height.
------------------------------------------------------------------------ GMLJP2=YES/NO: Indicates whether a GML box conforming to the OGC GML in JPEG2000 specification should be included in the file. Defaults to YES.
------------------------------------------------------------------------ GeoJP2=YES/NO: Indicates whether a GML box conforming to the GeoJP2 (GeoTIFF in JPEG2000) specification should be included in the file. Defaults to YES.
------------------------------------------------------------------------ LAYERS=n: Control the number of layers produced. These are sort of like resolution layers, but not exactly. The default value is 12 and this works well in most situations.
------------------------------------------------------------------------ ROI=xoff,yoff,xsize,ysize: Selects a region to be a region of interest to process with higher data quality. The various "R" flags below may be used to control the amount better. For example the settings "ROI=0,0,100,100", "Rweight=7" would encode the top left 100x100 area of the image with considerable higher quality compared to the rest of the image.



Copyright © 2006-2010 GeoSolutions. All Rights Reserved.