@Deprecated public class SpatialiteLayer extends com.nutiteq.vectorlayers.GeometryLayer
Modifier and Type | Class and Description |
---|---|
protected class |
SpatialiteLayer.LoadDataTask
Deprecated.
|
Constructor and Description |
---|
SpatialiteLayer(com.nutiteq.projections.Projection proj,
SpatialLiteDbHelper spatialLiteDb,
String tableName,
String geomColumnName,
String[] userColumns,
int maxObjects,
com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
Deprecated.
Create Spatialite layer with the SpatialLiteDb already opened
|
SpatialiteLayer(com.nutiteq.projections.Projection proj,
SpatialLiteDbHelper spatialLiteDb,
String tableName,
String geomColumnName,
String[] userColumns,
String filter,
int maxObjects,
com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
Deprecated.
Create Spatialite layer with the SpatialLiteDb already opened, and filters
|
SpatialiteLayer(com.nutiteq.projections.Projection proj,
String dbPath,
String tableName,
String geomColumnName,
String[] userColumns,
int maxObjects,
com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
Deprecated.
Create Spatialite layer with the data
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.nutiteq.geometry.Geometry element)
Deprecated.
|
void |
calculateVisibleElements(com.nutiteq.components.Envelope envelope,
int zoom)
Deprecated.
|
int |
getAutoSimplify()
Deprecated.
|
com.nutiteq.components.Envelope |
getDataExtent()
Deprecated.
|
void |
loadData(com.nutiteq.components.Envelope envelope,
int zoom)
Deprecated.
|
void |
remove(com.nutiteq.geometry.Geometry element)
Deprecated.
|
void |
setAutoSimplify(int autoSimplifyPixels,
int screenWidth)
Deprecated.
|
addAll, calculateVisibleElements, clear, createCullTask, elementUpdated, executeVisibilityCalculationTask, getCurrentZoomLevel, getDataSource, getVisibleElements, loadVisibleElements, onElementChanged, onStartMapping, onStopMapping, registerDataSourceListeners, removeAll, setComponents, setProjection, setRenderProjection, setVisible, setVisibleElements, setVisibleElementsList, unregisterDataSourceListeners, updateVisibleElements
public SpatialiteLayer(com.nutiteq.projections.Projection proj, String dbPath, String tableName, String geomColumnName, String[] userColumns, int maxObjects, com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet) throws IOException
proj
- layer projectiondbPath
- path to Spatialite filetableName
- table from the databasegeomColumnName
- geometry column from the tableuserColumns
- load data from these columns as userDatamaxObjects
- maximum number of objects. No more than 1500 or so suggestedpointStyleSet
- Style for pointslineStyleSet
- Style for linespolygonStyleSet
- Style for polygonsIOException
public SpatialiteLayer(com.nutiteq.projections.Projection proj, SpatialLiteDbHelper spatialLiteDb, String tableName, String geomColumnName, String[] userColumns, int maxObjects, com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
proj
- layer projectionspatialLiteDb
- Spatialite databasetableName
- table from the databasegeomColumnName
- geometry column from the tableuserColumns
- load data from these columns as userDatamaxObjects
- maximum number of objects. No more than 1500 or so suggestedpointStyleSet
- Style for pointslineStyleSet
- Style for linespolygonStyleSet
- Style for polygonspublic SpatialiteLayer(com.nutiteq.projections.Projection proj, SpatialLiteDbHelper spatialLiteDb, String tableName, String geomColumnName, String[] userColumns, String filter, int maxObjects, com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
proj
- layer projectionspatialLiteDb
- Spatialite databasetableName
- table from the databasegeomColumnName
- geometry column from the tableuserColumns
- load data from these columns as userDatafilter
- SQL filter to select some objects, used for WHEREmaxObjects
- maximum number of objects. No more than 1500 or so suggestedpointStyleSet
- Style for pointslineStyleSet
- Style for linespolygonStyleSet
- Style for polygonspublic void add(com.nutiteq.geometry.Geometry element)
add
in class com.nutiteq.vectorlayers.VectorLayer<com.nutiteq.geometry.Geometry>
public void remove(com.nutiteq.geometry.Geometry element)
remove
in class com.nutiteq.vectorlayers.VectorLayer<com.nutiteq.geometry.Geometry>
public void calculateVisibleElements(com.nutiteq.components.Envelope envelope, int zoom)
calculateVisibleElements
in class com.nutiteq.vectorlayers.VectorLayer<com.nutiteq.geometry.Geometry>
public com.nutiteq.components.Envelope getDataExtent()
getDataExtent
in class com.nutiteq.vectorlayers.VectorLayer<com.nutiteq.geometry.Geometry>
public int getAutoSimplify()
public void setAutoSimplify(int autoSimplifyPixels, int screenWidth)
public void loadData(com.nutiteq.components.Envelope envelope, int zoom)
Copyright © 2014. All rights reserved.