Skip to content

developmentseed/tilejson

Repository files navigation

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

About

Use TileJSON in Map

Resources

License

Stars

Watchers

Forks

Packages

No packages published