You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
CustomGeometrySource should support data in tile coordinates #10494
Tiled coordinates as input to the CustomGeometrySource would require new integer types for representing geometry, geometry collections, and features. The geometry format for these features would need to follow vector tile conventions for polygons to allow direct input of vector-tile compatible data. In addition, API wrappers and a conversion layer would be needed for at least Android and iOS/macOS platforms.
With that done, supporting MBTiles still requires unzipping and decoding the vector data and populating the new geometry types. This may be better than current solutions for MBTile support, but we can do way better. Vector Tile decoders and conversion to wrappers classes would be needed for each platform, only to be converted back to vector-tiles in core.
MBTile support seems to be the primary use case for tiled coordinates, but CustomGeometrySource may not be the best way to enable that support. Instead, an API that allows MBTiles to be decoded in core would require only a single implementation, and avoid unnecessary runtime conversions (especially through JNI).
Activity
asheemmamoowala commentedon Jan 22, 2018
Tiled coordinates as input to the
CustomGeometrySourcewould require new integer types for representing geometry, geometry collections, and features. The geometry format for these features would need to follow vector tile conventions for polygons to allow direct input ofvector-tilecompatible data. In addition, API wrappers and a conversion layer would be needed for at least Android and iOS/macOS platforms.With that done, supporting MBTiles still requires unzipping and decoding the vector data and populating the new geometry types. This may be better than current solutions for MBTile support, but we can do way better. Vector Tile decoders and conversion to wrappers classes would be needed for each platform, only to be converted back to vector-tiles in core.
MBTile support seems to be the primary use case for tiled coordinates, but
CustomGeometrySourcemay not be the best way to enable that support. Instead, an API that allows MBTiles to be decoded in core would require only a single implementation, and avoid unnecessary runtime conversions (especially through JNI).