public class SHP extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MULTIPOINT2D |
static int |
MULTIPOINT3D |
static int |
MULTIPOINTM |
static int |
NULL |
static int |
POINT2D |
static int |
POINT3D |
static int |
POINTM |
static int |
POLYGON2D |
static int |
POLYGON3D |
static int |
POLYGONM |
static int |
POLYLINE2D |
static int |
POLYLINE3D |
static int |
POLYLINEM |
Constructor and Description |
---|
SHP() |
Modifier and Type | Method and Description |
---|---|
static SHPShapeWriter |
create(int type)
Crea a partir del tipo de geometría un shape writer del tipo más adecuado.
|
static File |
getDbfFile(File shpFile) |
static File |
getPrjFile(File shpFile) |
static File |
getShpFile(File dbfFile) |
static File |
getShxFile(File shpFile) |
static String |
getTypeName(int type) |
static double[] |
getZMinMax(double[] zs)
Devuelve un array con dos doubles, el primero representa el mínimo valor
y el segundo el máximo de entre los valores que se pasan como parámetro
en forma de array.
|
public static final int NULL
public static final int POINT2D
public static final int POLYLINE2D
public static final int POLYGON2D
public static final int MULTIPOINT2D
public static final int POINT3D
public static final int POLYLINE3D
public static final int POLYGON3D
public static final int MULTIPOINT3D
public static final int POINTM
public static final int POLYLINEM
public static final int POLYGONM
public static final int MULTIPOINTM
public static SHPShapeWriter create(int type)
type
- Tipo de geometría.ShapefileException
- Se lanza cuando es causada por la creación del shape.public static String getTypeName(int type)
public static double[] getZMinMax(double[] zs)
zs
- Valores a comprobar.