Skip to content

Consumes data values from a latticegrid, then aggregates and inflates triangular geometries.

Notifications You must be signed in to change notification settings

isabella232/trizilla

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trizilla

Build Status Coverage Status

Consumes data values from a latticegrid, then aggregates and inflates triangular geometries.

usage

npm install trizilla

var trizilla = require('trizilla')();

trizilla.inflate(<minZ>) - takes an input stream of stringified {qt: <qt>, attributes: {<attributes>}} objects and returns inflated triangular lattice GeoJSONs to the minZ specified.

trizilla.tile(<delta>) - given a delta (size of triangle relative to rendered tile), arrange stream of GeoJSONs and sorts by tile: {tile: {x:, y: , z:}, features: []}

trizilla.serialize(x) - takes a stream of above tile objects and serialize geometries

trizilla.clean({}) - don't feed your trizilla garbage - send a stream through the cleaner before mealtime

About

Consumes data values from a latticegrid, then aggregates and inflates triangular geometries.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%