Skip to main content

geojsonio CLI - Python.

Project description

Open GeoJSON data on geojson.io. This is a python port of geojsonio-cli.

Send data to geojson.io and open a browser within python

..code-block:: python

from geojsonio import display

with open(‘map.geojson’) as f:

contents = f.read()

display(contents)

To easily embed geojson.io in an iframe in a Jupyter/IPython notebook, use the embed() method

embed(contents)

It can also be used on the command line. Read or pipe a file

geojsonio map.geojson geojsonio < run.geojson

Options:

–print prints the url rather than opening it –domain=”http://custominstancedomain.com/

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

geojsonio-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file geojsonio-0.0.1.tar.gz.

File metadata

  • Download URL: geojsonio-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for geojsonio-0.0.1.tar.gz
Algorithm Hash digest
SHA256 51611f9eaaaa73ef69de408d4f6ff55b4243bf54a97bc5188918b67c92aa6d87
MD5 ea2da268e5fefd1865581f065eae22ff
BLAKE2b-256 25c348b90e25879828c9e5138520b27b3361ad1e81decf3762368df919ef5446

See more details on using hashes here.

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