Package

vectorpipe

vectortile

Permalink

package vectortile

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. vectortile
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait LayerMultiplicity extends AnyRef

    Permalink
  2. case class LayerNamesInColumn(name: String) extends LayerMultiplicity with Product with Serializable

    Permalink
  3. trait Pipeline extends AnyRef

    Permalink

    The interface governing the transformation from processed OSM dataframes to vector tiles.

    The interface governing the transformation from processed OSM dataframes to vector tiles.

    After loading an OSM source and transforming via OSM.toGeometry and any filtering/modification steps, one may want to output a set of vector tiles from the remaining geometry and metadata. The vector tile output process is governed by a Pipeline definition that describes how to convert a data frame into a set of vector tiles and how to pass information to subsequent zoom levels.

    [It is worth noting that nothing in this interface restricts the input data to having originated from OSM. Any DataFrame containing a column of JTS geometry is a valid target.]

    This API treats vector tile generation as an inherently hierarchical process governed by a series of operations. Every zoom level will be addressed in the same way, and the sequence of operations can be depicted schematically as below:

    ┌──────────┐ │ Zoom z-1 │ └──────────┘ ↑ simplify ↑ reduce ↑ ╔══════════╗ ┌─────────────┐ ║ Zoom z ║ → select → clip → pack → │ VECTOR TILE │ ╚══════════╝ └─────────────┘

    Each of these operations is documented below. The only extra note is that reduce and simplify will be called prior to processing the initial zoom level.

  4. case class SingleLayer(name: String) extends LayerMultiplicity with Product with Serializable

    Permalink
  5. case class VTContents(points: List[VectorTileFeature[Point]] = Nil, multipoints: List[VectorTileFeature[MultiPoint]] = Nil, lines: List[VectorTileFeature[LineString]] = Nil, multilines: List[VectorTileFeature[MultiLineString]] = Nil, polygons: List[VectorTileFeature[Polygon]] = Nil, multipolygons: List[VectorTileFeature[MultiPolygon]] = Nil) extends Product with Serializable

    Permalink
  6. type VectorTileFeature[+G <: Geometry] = Feature[G, Map[String, Value]]

    Permalink

Value Members

  1. object Clipping

    Permalink
  2. object Simplify

    Permalink
  3. object VTContents extends Serializable

    Permalink
  4. def buildLayer[G <: Geometry](features: Iterable[VectorTileFeature[G]], layerName: String, ex: Extent, tileWidth: Int): Layer

    Permalink
  5. def buildSortedLayer[G <: Geometry](features: Iterable[VectorTileFeature[G]], layerName: String, ex: Extent, tileWidth: Int): Layer

    Permalink
  6. def buildVectorTile[G <: Geometry](layerFeatures: Map[String, Iterable[VectorTileFeature[G]]], ex: Extent, tileWidth: Int, sorted: Boolean): VectorTile

    Permalink
  7. def buildVectorTile[G <: Geometry](features: Iterable[VectorTileFeature[G]], layerName: String, ex: Extent, tileWidth: Int, sorted: Boolean): VectorTile

    Permalink
  8. def getSpatialKey(row: Row, field: String): SpatialKey

    Permalink
  9. def getSpatialKey(k: GenericRowWithSchema): SpatialKey

    Permalink
  10. def keyTo(layout: LayoutDefinition): UserDefinedFunction

    Permalink
  11. lazy val logger: Logger

    Permalink
  12. lazy val st_reprojectGeom: UserDefinedFunction

    Permalink
  13. def timedIntersect[G <: Geometry](geom: G, ex: Extent)(implicit ec: ExecutionContext): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
  14. def vtf2mvtf[G <: Geometry](vtf: VectorTileFeature[G]): MVTFeature[G]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped