Change makes it so that geojson.FeatureCollections with Features that have ids will have those ids passed through to the output of Topology.
A new option ignore_index that allows that behavior to be reverted to what it was before also added. Left off by default
Added three tests.
Checking index is passed through extract
Checking duplicate index raises an error
Checking that ignore_index=True uses the original "feature_0", "feature_0" index
Two tests that counted the number of options were modified to increase the expected count by one.
PR for #219
Change makes it so that
geojson.FeatureCollections
with Features that have ids will have those ids passed through to the output of Topology. A new optionignore_index
that allows that behavior to be reverted to what it was before also added. Left off by defaultAdded three tests.
Two tests that counted the number of options were modified to increase the expected count by one.