Package mil.nga.geopackage.features
Class OAPIFeatureGenerator
- java.lang.Object
-
- mil.nga.geopackage.features.FeatureCoreGenerator
-
- mil.nga.geopackage.features.OAPIFeatureCoreGenerator
-
- mil.nga.geopackage.features.OAPIFeatureGenerator
-
public class OAPIFeatureGenerator extends OAPIFeatureCoreGenerator
OGC API Feature Generator- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description protected FeatureDao
featureDao
Feature DAO-
Fields inherited from class mil.nga.geopackage.features.OAPIFeatureCoreGenerator
DEFAULT_PROJECTIONS, downloadAttempts, EPSG_VERSION, id, limit, LIMIT_PATTERN, OGC_CRS84, OGC_VERSION, period, server, time, totalLimit
-
Fields inherited from class mil.nga.geopackage.features.FeatureCoreGenerator
boundingBox, boundingBoxProjection, columns, EPSG_WGS84, geometryColumns, geoPackage, progress, projection, srs, tableName, transactionLimit
-
-
Constructor Summary
Constructors Constructor Description OAPIFeatureGenerator(GeoPackage geoPackage, String tableName, String server, String id)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addColumn(FeatureColumn featureColumn)
FeatureDao
getFeatureDao()
Get the feature DAOGeoPackage
getGeoPackage()
protected void
initializeTable()
protected void
saveFeature(FeatureRow featureRow)
Save the feature rowprotected void
saveFeature(Geometry geometry, Map<String,Object> values)
-
Methods inherited from class mil.nga.geopackage.features.OAPIFeatureCoreGenerator
buildCollectionRequestUrl, collectionRequest, collectionRequest, createFeature, createFeatures, createFeatures, generateFeatures, generateFeatures, getCrs, getDownloadAttempts, getId, getLimit, getPeriod, getProjections, getProjections, getProjections, getServer, getSrsProjection, getTime, getTotalLimit, isDefaultProjection, requestProjection, setDownloadAttempts, setLimit, setPeriod, setPeriod, setTime, setTime, setTotalLimit, urlRequest, urlRequest
-
Methods inherited from class mil.nga.geopackage.features.FeatureCoreGenerator
addProjection, createColumn, createFeature, createGeometryData, createProjection, createSrs, createTable, getBoundingBox, getBoundingBoxProjection, getColumn, getColumns, getGeometryColumns, getProgress, getProjection, getSrs, getTableName, getTransactionLimit, getType, getValue, getValue, isActive, setBoundingBox, setBoundingBoxProjection, setProgress, setProjection, setTransactionLimit
-
-
-
-
Field Detail
-
featureDao
protected FeatureDao featureDao
Feature DAO
-
-
Constructor Detail
-
OAPIFeatureGenerator
public OAPIFeatureGenerator(GeoPackage geoPackage, String tableName, String server, String id)
Constructor- Parameters:
geoPackage
- GeoPackagetableName
- table nameserver
- server urlid
- collection identifier
-
-
Method Detail
-
getGeoPackage
public GeoPackage getGeoPackage()
- Overrides:
getGeoPackage
in classFeatureCoreGenerator
-
getFeatureDao
public FeatureDao getFeatureDao()
Get the feature DAO- Returns:
- feature DAO
-
addColumn
protected void addColumn(FeatureColumn featureColumn)
- Specified by:
addColumn
in classFeatureCoreGenerator
-
initializeTable
protected void initializeTable()
- Overrides:
initializeTable
in classFeatureCoreGenerator
-
saveFeature
protected void saveFeature(Geometry geometry, Map<String,Object> values)
- Specified by:
saveFeature
in classFeatureCoreGenerator
-
saveFeature
protected void saveFeature(FeatureRow featureRow)
Save the feature row- Parameters:
featureRow
- feature row
-
-