Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.