
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
colonel-mercator
Advanced tools
[](https://travis-ci.org/mapbox/colonel-mercator)[](https://coveralls.io/github/
Gets raster pixel resolutions, and optionally snaps them to mapnik-omnivore
tiling thresholds.
Also, generates "metatile" zooms - the tile sizes at which a given input resolution would be over a size threshold based on an "upzoom" (the resolution of zoom levels "up")
npm install colonel-mercator
npm link
colonel-mercator resolution <raster> --maxres <float> --snap
<raster> [path]
: an input tiff
to get the resolution of
--maxres [float]
: the floor at which to set resolution; if maxres
> the file's resolution, returns maxres
. [DEFAULT=NONE]
--snap [flag]
: snap to mercator tiling thresholds [BETA]
[DEFAULT=FALSE]
colonel-mercator metatile <resolution> --zoombreaks '[<int>, <int>, ...]' --upzoom <int>
<resolution> [float]
: the resolution to evaluate
--zoombreaks [array of ints]
: the metatile sizes to create [DEFAULT=[13, 10, 7, 4]]
--upzoom [int]
: the number of zoom levels up at which to derive threshold from zoombreaks
FAQs
[](https://travis-ci.org/mapbox/colonel-mercator)[](https://coveralls.io/github/
The npm package colonel-mercator receives a total of 16 weekly downloads. As such, colonel-mercator popularity was classified as not popular.
We found that colonel-mercator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 66 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.