@Deprecated public class OgrLayer extends com.nutiteq.vectorlayers.GeometryLayer
Modifier and Type | Class and Description |
---|---|
protected class |
OgrLayer.LoadOgrDataTask
Deprecated.
|
Constructor and Description |
---|
OgrLayer(com.nutiteq.projections.Projection proj,
String fileName,
String tableName,
int maxElements,
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,
com.nutiteq.style.LabelStyle labelStyle)
Deprecated.
Open OGR datasource.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateVisibleElements(com.nutiteq.components.Envelope envelope,
int zoom)
Deprecated.
|
com.nutiteq.components.Envelope |
getDataExtent()
Deprecated.
|
String[] |
getTableList()
Deprecated.
|
void |
setTable(String selectedTable)
Deprecated.
|
add, addAll, calculateVisibleElements, clear, createCullTask, elementUpdated, executeVisibilityCalculationTask, getCurrentZoomLevel, getDataSource, getVisibleElements, loadVisibleElements, onElementChanged, onStartMapping, onStopMapping, registerDataSourceListeners, remove, removeAll, setComponents, setProjection, setRenderProjection, setVisible, setVisibleElements, setVisibleElementsList, unregisterDataSourceListeners, updateVisibleElements
public OgrLayer(com.nutiteq.projections.Projection proj, String fileName, String tableName, int maxElements, 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, com.nutiteq.style.LabelStyle labelStyle) throws IOException
proj
- layer projection. NB! data must be in the same projectionfileName
- datasource name: file or connection stringtableName
- table (OGR layer) name, needed for multi-layer datasets. If null, takes the first layer from datasetmaxElements
- max number of visible objectspointStyleSet
- styleset for point objectslineStyleSet
- styleset for line objectspolygonStyleSet
- styleset for polygon objectslabelStyle
- IOException
- file not found or other problem opening OGR datasourcepublic 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 String[] getTableList()
public void setTable(String selectedTable)
Copyright © 2014. All rights reserved.