public class Union
extends java.lang.Object
Constructor and Description |
---|
Union() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
hexToBytes(java.lang.String hex)
Convert a string containing a hex string to a byte array of binary.
|
static void |
main(java.lang.String[] args) |
static void |
union(Path inFile,
Path outFile,
OperationsParams params) |
static void |
unionMapReduce(Path inFile,
Path output,
OperationsParams params)
Calculates the union of a set of shapes.
|
static <S extends OGCJTSShape> |
unionStream(S shape) |
public static void unionMapReduce(Path inFile, Path output, OperationsParams params) throws java.io.IOException
inFile
- - Input file that contains shapesoutput
- - An output file that contains each category and the union
of all shapes in it. Each line contains the category, then a comma,
then the union represented as text.java.io.IOException
public static byte[] hexToBytes(java.lang.String hex)
hex
- public static <S extends OGCJTSShape> Geometry unionStream(S shape) throws java.io.IOException
java.io.IOException
public static void union(Path inFile, Path outFile, OperationsParams params) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
args
- java.io.IOException