Vector tiles enable rapid client-styled visualizations of large collections of geometric data. Prior art exists showing efficient vector tile slicing and rendering for static data. Raster Foundry and other projects have a need for the ability to serve dynamically generated vector tiles from data provided by users. Several options (t-rex, Tegola, tilegarden) require configuration to serve a set of layers when the server starts. The goal of this project is for clients to ad hoc specify layers, which will then be constructed and served on-the-fly. This fellowship has the potential for open source contributions to two projects: GeoTrellis and Raster Foundry.
You will prepare by gaining a working knowledge of:
In this phase, you will create functionality to serve vector tiles from vector data stored in a PostGIS database.
To do so, you will use scala libraries to generate relevant queries based on user requests and translate between database query results and entities in compliance with the [Mapbox vector tile specification]
In this phase you will wrap the work from phase one into a vector tile server and a minimal frontend that consumes that server’s endpoints. Some libraries you might work with in this phase are http4s, mapbox-gl, and OpenLayers. Here are some examples of demo sites for prior work:
In this phase, you will investigate simplification and aggregation strategies to serve imagery appropriate to a user’s requested zoom level. For example, at low zoom levels, some geometries will be too small to render, or it may make sense to cluster some collection of points into a single point. You will investigate how to perform simplifications and aggregations on the fly and propose an API for developer specification of simplification and aggregation strategies. Some prior art for vector tile simplification exists in geojson-vt.
medium
Azavea will not be running the Open Source Fellowship in Summer 2021. Sign up for notifications about future opportunities.
Sign up to receive email notifications for when we open next year’s fellowship session. Don’t worry, you’ll only hear from us if it’s about the Azavea open source fellowship
Sign up to receive email notifications for when we open next year’s fellowship session. Don’t worry, you’ll only hear from us if it’s about the Azavea open source fellowship