
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@eniromaps/tile-workers
Advanced tools
This project contains workers for both live rendering and seeding of map tiles.
The following third-party software are required and must be installed for the tile workers to function:
$ npm install -g @eniromaps/tile-workers
Start a live rendering worker for nautical tiles:
$ live-worker \
--layer nautical \
--data /data/nautical \
--graphics /data/graphics/nautical \
--layout /data/layout/wcm_nautical_layout.xml
Start a live rendering worker for retina map tiles:
$ live-worker \
--layer map2x \
--data /data/map \
--graphics /data/graphics/map2x \
--layout /data/layout/wcm_layout.xml \
--dpr 2 \
--linescale 0.75 \
--tilesize 512
Start a worker for seeding of nautical tiles:
$ seed-worker \
--layer nautical
--data /data/nautical \
--graphics /data/graphics/nautical \
--layout /data/layout/wcm_nautical_layout.xml \
--aws_bucket <aws_bucket> \
--aws_key <aws_key> \
--aws_secret <aws_secret>
Name | Type | Description | Default value | Required |
---|---|---|---|---|
data | String | Path to data dir | - | yes |
graphics | String | Path to graphis dir | - | yes |
layout | String | Path to layout file | - | yes |
layer | String | Map layer to render | - | yes |
redis | String | Redis URL | redis://localhost:6379 | No |
port | Integer | Mapserver port | 4567 | No |
threads | Integer | Number of mapserver threads | No | |
quantize | Integer | Number of colors | 128 | No |
tilesize | Integer | Tile size in pixels | 256 | No |
dpr | Decimal | Device pixel ratio | 1.0 | No |
linescale | Decimal | Line scale | 1.0 | No |
debug | Bool | Should debug info be drawn on map | false | No |
debugclipping | Bool | Should debug clipping be drawn on map | false | No |
Additional options for seed-worker
Name | Type | Description | Default value | Required |
---|---|---|---|---|
aws_bucket | String | aws s3 bucket name | - | yes |
aws_key | String | aws api key | - | yes |
aws_bucket | String | aws api secret | - | yes |
FAQs
Workers for live rendering and seeding
We found that @eniromaps/tile-workers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.