What's Changed
- Geojson ids option by @Mr-Ixolate in #220
By default the ids of features from a GeoJSON source will be kept when applying the topology. This only can happen if there are no duplicates of ids in the source file. This feature can be controlled using the newly introduced parameter ignore_index
in the topojson.Topology
class. It has the following description:
ignore_index
:bool
If set toTrue
existing ids/indexes of geojson FeatureCollections will be
ignored and overwritten. Otherwise features with ids will use their existing one.
If indexes are not ignored and a duplicate id exists an exception will be raised.
Default isFalse
.
New Contributors
- @Mr-Ixolate made their first contribution in #220
Full Changelog: v1.8...v1.9