mapbox / tilelive-decorator Goto Github PK
View Code? Open in Web Editor NEWLoad vector tiles from a tilelive source and decorate them with properties from redis.
License: ISC License
Load vector tiles from a tilelive source and decorate them with properties from redis.
License: ISC License
I think it's time we look at the requiredKeys / keepKeys
and requiredKeysRedis / keepKeysRedis
options and consider what effects we actually want to achieve by filtering and selecting data.
I'm mentally breaking down decoration processing into 3 stages:
We can think of our two levers as filtering (via required keys) and selecting (via keep keys) for each stage. Here's a layout of the levers in each stage and what I think they let us do:
source:
redis:
output:
Features with the same properties within a tile should be joined to avoid the overhead of having distinct geometries. Ideally this is exposed as an option that is passed to the decorator.
For example: { linejoin: true, linejoinUniqueBy: [ 'speedClass', 'FRC' ] }
@mourner - Can you grab this?
cc @yhahn
All number values are encoded as floats. This has two consequences:
Instead integers should be encoded as either uint
or sint
depending on sign.
cc @aaronlidman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.