Topojson

Latest version: v1.9

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.3

- include propagation of `transform` info in Topojson loaded data 135.
- make sure FeatureCollection data is not modified 137
- accept GeoJSON from file as json-dict as input data 137, see [docs](https://mattijn.github.io/topojson/example/input-types.html#geojson-data-from-file)
- make sure `bbox` is in pre-transformed coordinates 138
- guess `quant_factor` based on input data if none is given 140
- topojson is on conda-forge! 134 `conda install -c conda-forge topojson` 🎉🥳
- this version is made possible with sponsors🙏

What's Changed
* meta recipe by mattijn in https://github.com/mattijn/topojson/pull/132
* Add conda recipe by mattijn in https://github.com/mattijn/topojson/pull/133
* check if transform exists and include if so by mattijn in https://github.com/mattijn/topojson/pull/136
* Do not modify source data, include geojson from file and compute bbox consistently by mattijn in https://github.com/mattijn/topojson/pull/139
* Guess quantize factor from input data by mattijn in https://github.com/mattijn/topojson/pull/141
* update docs to include conda-forge install by mattijn in https://github.com/mattijn/topojson/pull/134


**Full Changelog**: https://github.com/mattijn/topojson/compare/v1.2...v1.3

1.2

- enhance to compute bbox during toposimplify and topoquantize 117
- fix to circumvent the attribute error for pyshp and unnecessary deep-copy 120, thanks llimllib, karimbahgat
- enhance to include loading topojson data, see https://mattijn.github.io/topojson/example/input-types.html#topojson-file-loaded-as-json-dict 124, thanks karimbahgat
- fix to allow nested lists in properties and allow bbox key for a geometry, 125 thanks jpotter

What's Changed
* filter nan before converting array to int64 by mattijn in https://github.com/mattijn/topojson/pull/126
* Move deep-copy from top-level to dict-level by mattijn in https://github.com/mattijn/topojson/pull/127
* Allow Topojson dicts to be parsed into Topology by mattijn in https://github.com/mattijn/topojson/pull/128
* Skip properties and bbox in resolve objects by mattijn in https://github.com/mattijn/topojson/pull/129
* Update topology bbox when applying toposimplify or topoquantize by mattijn in https://github.com/mattijn/topojson/pull/130
* rename objects_name to object_name by mattijn in https://github.com/mattijn/topojson/pull/131


**Full Changelog**: https://github.com/mattijn/topojson/compare/v1.1...v1.2

1.1

fix repeating coords during quantization 116
update warnings and formatting 121

What's Changed
* Fix case surround repeating coords during quantization by mattijn in https://github.com/mattijn/topojson/pull/116
* fix syntaxwarning and apply black style formatting by mattijn in https://github.com/mattijn/topojson/pull/121


**Full Changelog**: https://github.com/mattijn/topojson/compare/v1.0...v1.1

1.0

- fix duplicate coordinates in geojson export 112
- add docs [how-it-works](https://mattijn.github.io/topojson/how-it-works.html)
- replace dispatcher with if-else statments 114

1.0rc11

- support for `fiona` Collections, using the optional `geojson` module 100
- improvements on popping of merged linestrings 105, 107
- the `to_gdf()` funtion is serialized through GeoJSON features and not through Fiona/OGR 108
- documentation updates 101 and 103

1.0rc10

- introduced `shared_coords` as new default strategy to detect junctions 76 (thanks martinfleis!)
- optimize reading geopandas objects 77
- add `prevent_oversimplify` as parameter 86
- fix `serialize_as_json()` to dump correct json to file 87 (thanks olenhb!)
- store linestrings internally as numpy arrays instead of shapely geometries 90 - 97
- generate a speedup of ~20X for larger geographical objects

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.