Generate tiles pyramid for an image.
Last updated a month ago by geopan .
ISC · Original npm · Tarball · package.json
$ cnpm install @geopan.io/pyramid 
SYNC missed versions from official npm registry.


Generate tiles pyramid for an image.

alt text


This assumes that Node.js has already been installed.

npm update @geopan.io/pyramid -g


pyramid <image>


  • The image tiling happens in parallel for a given level. This could be improved to both speed up the process as well as limiting the risk for spike in CPU consumption.
  • There is risk that for really big images, like orthophoto, the memory suffers with this approach and I would concider using node stream interface instead.
  • I would add unit testing. Currently a single one to illustrate how to deal with Jest.


pyramid -h

# Return

Usage: pyramid [options] <image>

Create a pyramid of tiles from an image

  -V, --version              output the version number
  -o, --output <output>      destination folder. Default is ./{image}_tiles
  -t, --tilesize <tilesize>  tile size. Default is 256px
  -h, --help                 display help for command

Current Tags

  • 0.2.0                                ...           latest (a month ago)

6 Versions

  • 0.2.0                                ...           a month ago
  • 0.1.4                                ...           2 months ago
  • 0.1.3                                ...           2 months ago
  • 0.1.2                                ...           2 months ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |