CLI to run the NDS MapViewer Docker container for visualizing map data (NDS.Live, GeoJSON, and more)
Project description
NDS MapViewer CLI
Visualize NDS.Live, NDS.Classic, and GeoJSON map data on a deck.gl-based map
with live style editing, feature inspection, and layer management — all from
a single mapviewer command. No container-runtime knowledge required.
Beta — This Python package is in early development. The CLI interface may change between releases. Feedback and bug reports are welcome via the NDS developer portal.
Full documentation: https://developer.nds.live/tools/mapviewer
Features
- Map visualization powered by deck.gl via erdblick
- Multiple data formats — NDS.Live, GeoJSON, NDS.Classic (member edition)
- Live style editing — modify map styles in real time with YAML-based rules
- Feature inspection — click any map feature to explore its attributes and relations
- Local and remote data — view SmartLayer folders, FileStore files, or remote services
- Guided setup — interactive wizard for creating data source configs
- Config management — save, switch, and delete configs from the RunScreen (
c)
Getting Started
The recommended way to set up your NDS.Live environment (credentials, container registry, pip index) is via ndslive-setup:
pip install ndslive-setup
ndslive-setup
This interactive wizard configures everything you need in one step, including installing nds-mapviewer.
Either Docker or Podman works as the container runtime — Podman is a free alternative if you cannot use Docker Desktop's commercial license.
Usage
mapviewer # HomeScreen (or auto-loads ~/.nds/config.yaml)
mapviewer /path/to/data.ndslive # View a local FileStore
mapviewer /path/to/folder # View a local SmartLayer folder
mapviewer /path/to/geojson/ # View a GeoJSON folder
mapviewer https://host/openapi.json # Connect to a remote service (unauthenticated)
mapviewer --demo # Try it with NDS Islands sample data
mapviewer mywork # Load a saved config by name
mapviewer /path/a.ndslive /path/b # Multiple sources at once
mapviewer --demo --debug # Enable debug logging in the container
mapviewer --demo --env KEY=VALUE # Set a custom container env var (repeatable)
mapviewer --demo --network host # Run the container on the host network
All commands accept -e community|member and -i VERSION.
Remote service URLs
A source can be an http(s) service URL (e.g. mapviewer https://my-host/openapi.json),
which is turned into a SmartLayerTileService. The bare-URL form configures no
authentication — for protected services, proxy them through ndslive-server or
declare the service in a config.yaml with an http-settings block (api-key, basic,
bearer, OAuth2, proxy).
For a service running on your own machine, use localhost/127.0.0.1
(e.g. mapviewer http://127.0.0.1:8080/openapi.json) — it is automatically
rewritten to host.docker.internal so the container can reach it. You do not
need --network host for this.
Container environment variables
--debug turns on verbose logging in the MapViewer container (shorthand for
--env HTTP_LOG_LEVEL=debug). Use --env KEY=VALUE (repeatable, short form
-E) to pass arbitrary environment variables into the container; explicit
--env entries override --debug on key collision. The resulting -e flags
appear in the Docker screen's "Copy Command" output.
Container network
--network NAME attaches the container to a specific network (e.g. a custom
bridge or host). With --network host the container binds the host's port
directly, so --port/--bind are ignored and the MapViewer is reached on its
internal port (8089). Host networking behaves differently across platforms and
runtimes — it is intended as a connectivity workaround.
If ~/.nds/config.yaml exists, mapviewer (with no arguments) loads it
automatically and goes straight to the RunScreen.
If you edit ~/.nds/config.yaml manually, use host paths there, not container
paths. The CLI translates them into the correct container mounts when it starts
the container runtime.
The run screen shows, below the info banner, the source you passed (a config
file or a directly-given data-source path such as a *.ndslive filestore) and
the mapped config that was generated and mounted into the container.
Editions
| Edition | Formats | Access |
|---|---|---|
| community | NDS.Live, GeoJSON, open formats | Free — nds.live |
| member | + NDS.Classic | NDS membership |
Open-Source Building Blocks
- mapget — tile-based map data server with caching
- erdblick — deck.gl-based web frontend with live style editing and inspection tools
License
The MapViewer is a proprietary product of the NDS Association. License terms and conditions are governed by the account type used to access the Docker image — registering for a community or member account includes accepting the applicable licensing terms for the MapViewer and its components.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nds_mapviewer-2026.3.1.dev102.tar.gz.
File metadata
- Download URL: nds_mapviewer-2026.3.1.dev102.tar.gz
- Upload date:
- Size: 76.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3223b86b66148d6f23d8df0e4e03dd362e5c2dcd782b4b4413f1b746367b508e
|
|
| MD5 |
82466f425545eb09f1d37c1a07b92c88
|
|
| BLAKE2b-256 |
b9fb903eec52a3c402bb90082709dfb67199a1a4ef721e8e4bc6fa1021a8b7b5
|
Provenance
The following attestation bundles were made for nds_mapviewer-2026.3.1.dev102.tar.gz:
Publisher:
mapviewer_py.yml on ndsev/mapviewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nds_mapviewer-2026.3.1.dev102.tar.gz -
Subject digest:
3223b86b66148d6f23d8df0e4e03dd362e5c2dcd782b4b4413f1b746367b508e - Sigstore transparency entry: 1951214339
- Sigstore integration time:
-
Permalink:
ndsev/mapviewer@c451d4f13a58361de138855732ce9e18b607e1f9 -
Branch / Tag:
refs/pull/110/merge - Owner: https://github.com/ndsev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mapviewer_py.yml@c451d4f13a58361de138855732ce9e18b607e1f9 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file nds_mapviewer-2026.3.1.dev102-py3-none-any.whl.
File metadata
- Download URL: nds_mapviewer-2026.3.1.dev102-py3-none-any.whl
- Upload date:
- Size: 59.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13461b20c620ff3c2e36a3a73919f2b7c430379c810630dd9261b4ef6e4c3904
|
|
| MD5 |
699ab4ddbf3967fd2a320ee036668693
|
|
| BLAKE2b-256 |
c9608f91d97c0ac26b396fe429f765ad1aa83cb6a158cebc7fee12ec4ad7495c
|
Provenance
The following attestation bundles were made for nds_mapviewer-2026.3.1.dev102-py3-none-any.whl:
Publisher:
mapviewer_py.yml on ndsev/mapviewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nds_mapviewer-2026.3.1.dev102-py3-none-any.whl -
Subject digest:
13461b20c620ff3c2e36a3a73919f2b7c430379c810630dd9261b4ef6e4c3904 - Sigstore transparency entry: 1951214445
- Sigstore integration time:
-
Permalink:
ndsev/mapviewer@c451d4f13a58361de138855732ce9e18b607e1f9 -
Branch / Tag:
refs/pull/110/merge - Owner: https://github.com/ndsev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mapviewer_py.yml@c451d4f13a58361de138855732ce9e18b607e1f9 -
Trigger Event:
pull_request
-
Statement type: