Repository navigation
Add hakunapi-tiles-core, the OGC API - Tiles model and tiles configuration - #238
Merged
Merged
Conversation
…zoom-routed vector source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New community module (
src-community/hakunapi-tiles-core, depends only onhakunapi-core). It is the model and configuration for OGC API - Tiles; nothing serves tiles yet. The servlet, the tile sources and the generator come in later PRs, so several classes here have no caller until then.Key classes:
Tile/collections/{id}/tilesand/map/tilesVectorTileSource/MapTileSourceServiceLoaderextension points, the data-plane counterpart ofSimpleSource; a source parses its owntiles.layers.<id>.*keys into a layer and later serves its tilesTile/BytesTile/BodyTileBytesTileholds finished bytes,BodyTilea lazyTileBodyso a generating source encodes straight into the responseTileMatrixSet/TileMatrix/DefaultTileMatrixSetRegistryTilesConfigParserHakunaConfigParserso core stays free of the tiles model; derives matrix sizes from extent and resolution and rejects sets that are not a whole number of tiles per levelTileLocator/AcceleratedTileLayer/AcceleratedTilesetsZoomRoutedVectorTileSource/ZoomBackingzoom-routed-vector: one layer backed by several sources by zoom range, optionally extracting one MVT layer from a backing's tile (MvtLayerExtract); a zoom no backing covers answers with an empty tile rather than 404schemasBehaviour changes:
ConformanceClassgains the OGC API - Tiles and tile matrix set URIs. Nothing claims them yet, so/conformanceis unchangedHakunaConfigParsergainsgetProperties(), soZoomRoutedVectorTileSourcecan derive a parser for its backings. The returned object is the shared one and must not be mutated