本文整理匯總了Java中org.geotools.parameter.ParameterGroup類的典型用法代碼示例。如果您正苦於以下問題:Java ParameterGroup類的具體用法?Java ParameterGroup怎麽用?Java ParameterGroup使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ParameterGroup類屬於org.geotools.parameter包,在下文中一共展示了ParameterGroup類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: MrGeoFormat
import org.geotools.parameter.ParameterGroup; //導入依賴的package包/類
public MrGeoFormat(Properties config)
{
this.config = config;
// information for this format
HashMap<String, String> info = new HashMap<String, String>();
info.put("name", FORMAT_NAME);
info.put("description","A big-data raster image stored in MrGeo format");
info.put("vendor", "MrGeo");
info.put("docURL", "http://github.com/ngageoint/mrgeo");
info.put("version", "0.1");
mInfo = info;
// reading parameters
readParameters = new ParameterGroup(
new DefaultParameterDescriptorGroup(
mInfo,
new GeneralParameterDescriptor[] { READ_GRIDGEOMETRY2D, INPUT_TRANSPARENT_COLOR, BACKGROUND_COLOR}));
}
示例2: setInfo
import org.geotools.parameter.ParameterGroup; //導入依賴的package包/類
/**
* Sets the metadata information.
*/
@Override
protected void setInfo() {
final HashMap<String, String> info = new HashMap<String, String>();
info.put(
"name",
"GDALGeoTiff");
info.put(
"description",
"GDAL GeoTiff Coverage Format");
info.put(
"vendor",
"GeoWave");
info.put(
"docURL",
""); // TODO: set something
info.put(
"version",
"1.0");
mInfo = Collections.unmodifiableMap(info);
// writing parameters
writeParameters = null;
// reading parameters
readParameters = new ParameterGroup(
new DefaultParameterDescriptorGroup(
mInfo,
new GeneralParameterDescriptor[] {
READ_GRIDGEOMETRY2D,
USE_JAI_IMAGEREAD,
USE_MULTITHREADING,
SUGGESTED_TILE_SIZE
}));
}
示例3: setInfo
import org.geotools.parameter.ParameterGroup; //導入依賴的package包/類
/**
* Sets the metadata information.
*/
private void setInfo() {
final HashMap<String, String> info = new HashMap<String, String>();
info.put(
"name",
"GeoWaveRasterFormat");
info.put(
"description",
"Image mosaicking and pyramiding in GeoWave");
info.put(
"vendor",
"GeoWave");
info.put(
"docURL",
"https://github.com/locationtech/geowave");
info.put(
"version",
"0.9.2");
mInfo = info;
// reading parameters
readParameters = new ParameterGroup(
new DefaultParameterDescriptorGroup(
mInfo,
new GeneralParameterDescriptor[] {
READ_GRIDGEOMETRY2D,
OUTPUT_TRANSPARENT_COLOR,
BACKGROUND_COLOR
}));
// reading parameters
writeParameters = null;
}
示例4: getParameter
import org.geotools.parameter.ParameterGroup; //導入依賴的package包/類
@Override
public ParameterValueGroup getParameter() {
return ParameterGroup.EMPTY;
}