com.iver.cit.gvsig.fmap.drivers.shp
Class SHP
java.lang.Object
com.iver.cit.gvsig.fmap.drivers.shp.SHP
- public class SHP
- extends java.lang.Object
Clase con las constantes que representan los diferentes tipos de Shape y
métodos estáticos relativos a los shapes.
- Author:
- Vicente Caballero Navarro
Constructor Summary |
SHP()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final int NULL
- See Also:
- Constant Field Values
POINT2D
public static final int POINT2D
- See Also:
- Constant Field Values
POLYLINE2D
public static final int POLYLINE2D
- See Also:
- Constant Field Values
POLYGON2D
public static final int POLYGON2D
- See Also:
- Constant Field Values
MULTIPOINT2D
public static final int MULTIPOINT2D
- See Also:
- Constant Field Values
POINT3D
public static final int POINT3D
- See Also:
- Constant Field Values
POLYLINE3D
public static final int POLYLINE3D
- See Also:
- Constant Field Values
POLYGON3D
public static final int POLYGON3D
- See Also:
- Constant Field Values
MULTIPOINT3D
public static final int MULTIPOINT3D
- See Also:
- Constant Field Values
SHP
public SHP()
create
public static SHPShape create(int type)
throws ShapefileException
- Crea a partir del tipo de geometría un shape del tipo más adecuado.
- Parameters:
type
- Tipo de geometría.
- Returns:
- Geometría más adecuada.
- Throws:
ShapefileException
- Se lanza cuando es causada por la creación del shape.
getCharSelect
public static char getCharSelect(int i)
- Devuelve el caracter que representa el tipo de valor del shape.
- Parameters:
i
- Tipo de Valor.
- Returns:
- Tipo de valor entendible por el formato shape.
SHPFileFromSelected
public static void SHPFileFromSelected(FMap map,
java.io.File f)
SHPFileFromGeometries
public static void SHPFileFromGeometries(IGeometry[] fgs,
java.util.BitSet bitset,
SelectableDataSource sds,
java.io.File f)