GeoJSON

../../../../_images/geojson.svg

Import a dict of GeoJSON data and show on a map.

In order to use this node an account at mapbox <https://www.mapbox.com/> is required (it is free). Create an access token and use it in the environment variable MAPBOX_API_KEY when starting Sympathy in order to see the map properly.

Linux and OSX:

MAPBOX_API_KEY="<TOKEN>" python -m sympathy_app gui

Windows:

set MAPBOX_API_KEY=<TOKEN>
python -m sympathy_app gui
Input ports:
dict:

{json}

Dict of JSON

Output ports:
geojson:

geojson

GeoJSON

class node_html.GeoJSONNode[source]

Example flows