VectorPipe

VectorPipe is a Scala library for transforming vector data of arbitrary sources into Mapbox Vector Tiles. It uses the VectorTile codec from the GeoTrellis library suite, which in turn is powered by Apache Spark.

Currently VectorPipe can process:

  • OpenStreetMap XML / PBF* / ORC

And produce:

  • Analytic Vector Tiles (AVTs)
  • Custom Vector Tile schemes (by writing a custom Collator function)

Of course, you’re not limited to just producing Vector Tiles. Once you’ve extracted your raw data into GeoTrellis Geometries, you can do whatever you want with them (analytics, rasterizing, etc.).

Dependencies

  • Scala 2.11
  • Apache Spark 2.1.0+

Getting Started

To use VectorPipe, add the following to your build.sbt:

resolvers += Resolver.bintrayRepo("azavea", "maven")

libraryDependencies += "com.azavea" %% "vectorpipe" % "0.1.0"

Now import the following, and you’re good to go:

import vectorpipe._

Performance

Wow, fast!

GeoTrellis

Geographic data processing engine for high performance applications

Apache Spark

An engine for large-scale data processing

Scala

Functional Programming on the JVM