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
OGC API Feature Generator
-
Field Summary
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
ConstructorDescriptionOAPIFeatureGenerator
(GeoPackage geoPackage, String tableName, String server, String id) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addColumn
(FeatureColumn featureColumn) Get the feature DAOprotected void
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 Details
-
featureDao
Feature DAO
-
-
Constructor Details
-
OAPIFeatureGenerator
Constructor- Parameters:
geoPackage
- GeoPackagetableName
- table nameserver
- server urlid
- collection identifier
-
-
Method Details
-
getGeoPackage
- Overrides:
getGeoPackage
in classFeatureCoreGenerator
-
getFeatureDao
Get the feature DAO- Returns:
- feature DAO
-
addColumn
- Specified by:
addColumn
in classFeatureCoreGenerator
-
initializeTable
protected void initializeTable()- Overrides:
initializeTable
in classFeatureCoreGenerator
-
saveFeature
- Specified by:
saveFeature
in classFeatureCoreGenerator
-
saveFeature
Save the feature row- Parameters:
featureRow
- feature row
-