public class gvsig
extends java.lang.Object
| Constructor and Description |
|---|
gvsig() |
| Modifier and Type | Method and Description |
|---|---|
static FLayer |
creaetLayer(FeatureType schema,
java.lang.String layerType,
java.lang.Object... parameters)
Create a new layer with the specified parameters.
|
static FLayer |
creaetLayer(FeatureType schema,
java.lang.String serverType,
java.lang.String layerType,
java.lang.Object... parameters)
Create a new layer with the specified parameters.
|
static FeatureType |
createFeatureType()
Returns a new and empty attributes definition.
|
static FeatureType |
createFeatureType(FeatureType schema)
Returns a new and empty attributes definition based in an
existing schema.
|
static FeatureType |
createSchema()
Deprecated.
use createFeatureType instead
|
static FeatureType |
createSchema(FeatureType schema)
Deprecated.
use createFeatureType instead
|
static FLayer |
loadLayer(java.lang.String layerType,
java.lang.Object... parameters)
Load an existing layer and return it.
|
static FLayer |
loadShapeFile(java.lang.String path)
Load an existing shape file in the current view.
|
static FLayer |
loadShapeFile(java.lang.String path,
java.lang.String projection)
Load an existing shape file in the current view.
|
public static FeatureType createSchema()
public static FeatureType createSchema(FeatureType schema)
public static FeatureType createFeatureType()
public static FeatureType createFeatureType(FeatureType schema)
public static FLayer creaetLayer(FeatureType schema, java.lang.String serverType, java.lang.String layerType, java.lang.Object... parameters)
schema - the schema to use to create la layer.serverType - The server type (filesystem, BBDD, ...)layerType - The layer type to create (Shape, ...)public static FLayer creaetLayer(FeatureType schema, java.lang.String layerType, java.lang.Object... parameters)
public static FLayer loadShapeFile(java.lang.String path, java.lang.String projection)
path - path to the shape file to loadprojection - to use to load the shape filepublic static FLayer loadShapeFile(java.lang.String path)
path - path to the shape file to loadpublic static FLayer loadLayer(java.lang.String layerType, java.lang.Object... parameters)
error - layerType -