Skip to main content

Create simple map viewer from TileJSON URL

Project description

tilejson

Create simple map viewer from TileJSON URL.

Test Coverage Package version Downloads

Install

You can install tilejson using pip

$ pip install tilejson

Build from source

$ git clone https://github.com/developmentseed/tilejson.git
$ cd tilejson
$ pip install -e .

CLI

$ tilejson --help
Usage: tilejson [OPTIONS] URL

  tilejson cli.

Options:
  --no-geo           Create Map viewer for non-geo image.
  -o, --output PATH  Output file name.
  --help             Show this message and exit.

How it works

The tilejson CLI will create simple map viewer (using MapLibre) with a reference to the input tilejson URL.

By default the HTML code will be saved in a system temporary directory but user can pass an --output option to store the HTML file in a custom place.

Once the HTML document is created, click will launch the page, opening it with the user's default browser.

Contribution & Development

See CONTRIBUTING.md

Authors

Created by Development Seed

Changes

See CHANGES.md.

License

See LICENSE.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tilejson-0.1.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

tilejson-0.1.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page