You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two methods by which geojsonio.py gets geojson.io to render the data:
Embedding the GeoJSON contents in the geojson.io URL directly
Creating an anonymous Github gist and embedding the gist id in the geojson.io URL.
geojsonio.py automatically determines which method is used based on the length of the GeoJSON contents.
If the contents are small enough, they will be embedded in the URL. Otherwise geojsonio.py creates an anonymous
Gist on Github with the GeoJSON contents. Note: when an anonymous gist is created, the data is uploaded to Github
and a unique gist ID is created. If anyone else is able to obtain the gist ID, they will be able to see your data.
Goes Great With GeoPandas
geojsonio.py integrates nicely with GeoPandas to
display data in a GeoDataFrame.
Say you have a file containing the borders of all states called states.geojson. Each GeoJSON record has a
property called 'Name'. Quickly display all the states whose names start with 'M'