We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Observe:
import json import topojson # load topojson file into dict with open("/Users/mattijnvanhoek/Downloads/gm.topo.json", 'r') as f: data = json.load(f) print(data['objects'].keys()) # read as topojson and as geojson topo_0 = topojson.Topology(data, object_name="gm_features") topo_1 = topojson.Topology(topo_0.to_geojson(), object_name="out") topo_0.toposimplify(10).to_gdf().plot() topo_1.toposimplify(10).to_gdf().plot()
dict_keys(['nl_features', 'gm_features'])
topo_0 is going wrong, where topo_1 is going right
topo_0
topo_1
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Observe:
topo_0
is going wrong, wheretopo_1
is going rightThe text was updated successfully, but these errors were encountered: