Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc edit: GeoJSON format used in Plotly follows the 2008 specification #3829

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/python/choropleth-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Making choropleth maps requires two main types of input:

The GeoJSON data is passed to the `geojson` argument, and the data is passed into the `color` argument of `px.choropleth` (`z` if using `graph_objects`), in the same order as the IDs are passed into the `location` argument.

**Note** the `geojson` attribute can also be the URL to a GeoJSON file, which can speed up map rendering in certain cases.
**Note** the `geojson` attribute can also be the URL to a GeoJSON file, which can speed up map rendering in certain cases. Note also that Plotly requires that the GeoJSON file format follows the 2008 specification, which is **not** the latest one.

### Choropleth Map with plotly.express

Expand Down
2 changes: 1 addition & 1 deletion doc/python/mapbox-county-choropleth.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Making choropleth Mapbox maps requires two main types of input:

The GeoJSON data is passed to the `geojson` argument, and the data is passed into the `color` argument of `px.choropleth_mapbox` (`z` if using `graph_objects`), in the same order as the IDs are passed into the `location` argument.

**Note** the `geojson` attribute can also be the URL to a GeoJSON file, which can speed up map rendering in certain cases.
**Note** the `geojson` attribute can also be the URL to a GeoJSON file, which can speed up map rendering in certain cases. Note also that Plotly requires that the GeoJSON file format follows the 2008 specification, which is **not** the latest one.

#### GeoJSON with `feature.id`

Expand Down