Giter Club home page Giter Club logo

tapalcatl's Introduction

Tapalcatl

Tapalcatl is a "metatile server", which takes requests for a specific single format and tile coordinate and makes a request upstream for a "metatile" or bundle of tiles which contains the tile originally requested.

There is also a Python version optimized for Lambda functions in tapalcatl-py.

For example:

  1. The client requests a tile /1/2/3.json
  2. Tapalcatl makes an upstream request for /1/0/0.zip
  3. Tapalcatl extracts the file 0/2/3.json from the package.
  4. The client reads back a tile containing only the format for the specific tile they asked for.

Why?

Having a choice of different formats can be helpful to support a range of different renderers and for ingesting tiles into different bits of software. Some formats are widely supported, such as GeoJSON, but can be less compact than other formats such as Mapbox Vector Tile. Allowing users to make the choice means they can make that trade-off for themselves.

On the other hand, keeping a large set of different formats on disk means many tiny files to write, synchronise and manage. This can quickly become onerous and expensive!

Tapalcatl is an attempt to do this at the "edge", closer to the client and taking advantage of as much "edge" caching as possible.

Why "tapalcatl"?

Tapalcatl is Nahuatl for a potsherd or broken tile, and Tapalcatl breaks up (meta)tiles. It's also sibling to Xonacatl which serves layers.

Installing

cd $GOPATH
go get -u github.com/tilezen/tapalcatl/tapalcatl_server
go install github.com/tilezen/tapalcatl/tapalcatl_server

tapalcatl's People

Contributors

iandees avatar nvkelso avatar rmarianski avatar zerebubuth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.