public class gvsig extends Object
| Constructor and Description |
|---|
gvsig() |
| Modifier and Type | Method and Description |
|---|---|
static FLayer |
creaetLayer(FeatureType schema,
String layerType,
Object... parameters)
Create a new layer with the specified parameters.
|
static FLayer |
creaetLayer(FeatureType schema,
String serverType,
String layerType,
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(String layerType,
Object... parameters)
Load an existing layer and return it.
|
static FLayer |
loadShapeFile(String path)
Load an existing shape file in the current view.
|
static FLayer |
loadShapeFile(String path,
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, String serverType, String layerType, 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, String layerType, Object... parameters)
public static FLayer loadShapeFile(String path, String projection)
path - path to the shape file to loadprojection - to use to load the shape filepublic static FLayer loadShapeFile(String path)
path - path to the shape file to load