1 |
mojays |
2 |
package org.geotools.coverage; |
2 |
|
|
|
3 |
|
|
import org.geotools.coverage.Category; |
4 |
|
|
import org.geotools.coverage.GeophysicsCategory; |
5 |
|
|
import org.opengis.referencing.operation.TransformException; |
6 |
|
|
|
7 |
|
|
/** |
8 |
|
|
* Diese Klasse stellt eine Hilfs-Klasse dar, um auf Klassen des Pakets |
9 |
|
|
* <code>org.geotools.coverage</code> zuzugreifen, die von ausserhalb des |
10 |
|
|
* Pakets nicht erreichbar sind. |
11 |
|
|
* @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany) |
12 |
|
|
* @version 1.0 |
13 |
|
|
*/ |
14 |
|
|
public class CoverageUtil { |
15 |
|
|
/** |
16 |
|
|
* Erzeugt eine neue Instanz von {@link GeophysicsCategory}. |
17 |
|
|
* @param inverse {@linkplain Category Ursprungskategorie}. |
18 |
|
|
* @param isQuantitative {@code true} wenn die Ursprungskategorie quantitativ ist |
19 |
|
|
* @throws TransformException wenn die Transformation fehlschlaegt |
20 |
|
|
*/ |
21 |
|
|
public static GeophysicsCategory createGeophysicsCategory(Category inverse, boolean isQuantitative) throws TransformException { |
22 |
|
|
return new GeophysicsCategory(inverse,isQuantitative); |
23 |
|
|
} |
24 |
|
|
|
25 |
|
|
} |