Coder Social home page Coder Social logo

skycache's Introduction

Skycache

Inspired by some issues that people have had with scaling non-profit and personal mapping projects.

  • TransitFuture
  • TransitMixApp
  • NYC Taxi Map

Upload an MBTiles and (future todo) choose an OSM layer.

Skycache caches the tiles that your site uses most. Yes, it's simple, but this is for suddenly-viral projects. When you need it, you won't have the time to write it yourself.

Issues with real map providers

Google, MapBox, CartoDB, and other map providers get expensive once you have large datasets.

It's against Terms of Service to move providers' tiles from their servers into your cache.

Google and MapBox have a customizeable and fast-updating baselayer, but they can't be cached and cost money.

Extracting and posting all of your tiles to S3 on your own is kinda slow, technical, and you probably didn't do it yet. If you need a fast solution to get your tiles into the cloud, why not use this?

Issues with Skycache

A prototype of Skycache helped power TransitFuture, but this needs a rewrite.

Skycache is not a full mapping service. You're just going to upload an MBTiles and get a tile URL back.

The baselayer will come in only a few flavors, and updates to OSM will be slow to appear.

I don't know what Skycache costs or how it'll scale. It might be better for you to run your own Skycache server.

The idea is to store the MBTiles on the server until it's actually requested, and then it'll be cached in a faster form. Your first walkthrough will be slow. But for many high-traffic projects, people are looking at the same areas, which will load quickly. For global map tiles, like the OSM layers, unexplored areas like Timbuktu will stay in an MBTiles file until someone is using them. It's more efficient that way.

Install Instructions

Install How-To

skycache's People

Contributors

mapmeld avatar

Stargazers

Elijah Wright avatar Antoine GIRARD avatar

Watchers

 avatar James Cloos 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.