Skip to content

Releases: mattijn/topojson

v1.9

15 May 06:37
Compare
Choose a tag to compare

What's Changed

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 to True 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 is False .

New Contributors

Full Changelog: v1.8...v1.9

v1.8

20 Mar 18:19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7...v1.8

v1.7

20 Oct 15:18
Compare
Choose a tag to compare

What's Changed

  • fix: handling of a single point coordinate in a MultiPoint geometry by @mattijn in #210
  • Fix: duplicates with collinear points sometimes not found with shared_coords=False by @theroggy in #211
  • CI: Run tests also on python 3.11 by @theroggy in #212

Full Changelog: v1.6...v1.7

v1.6

11 Oct 19:27
4ce6e08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5...v1.6

v1.5

10 Sep 19:50
afc2a7b
Compare
Choose a tag to compare

What's Changed

  • fix spelling in the repo by @mattijn in #163
  • extract gdf index and use it during serialization of .to_geojson() and .to_gdf() by @mattijn in #165
  • Lint utils/serialize_as_geodataframe by @Zeroto521 in #166
  • Resolve MultiPolygon with holes by @mattijn in #168
  • Include shapely in matrix GitHub action workflow by @mattijn in #172
  • Set dependency shapely to version >= 1.8.0 by @mattijn in #173
  • update strtree functions by @mattijn in #171
  • Github Action, shapely version overrule from matrix by @mattijn in #176
  • Replaced ShapelyError with GeometryTypeError by @mattijn in #175
  • Update test.yml by @mattijn in #177
  • support for multiple gdf and geojson as input by @mattijn in #169
  • Add support to rotate rings to avoid split by @theroggy in #180
  • Fix: topology for data without junctions and shared_coords=False, prequantize=False gives error by @theroggy in #182
  • Fix find duplicates for rings by @theroggy in #185
  • Fix + improve performance for join with shared coords=false by @theroggy in #179
  • change quantize default from 1e6 to 1e5 by @mattijn in #189
  • change default shared_coords from True to False by @mattijn in #190
  • Catch STRTree warning by @theroggy in #188
  • Improve vscode settings and launch.json by @theroggy in #193
  • Continuous benchmarking by @mattijn in #194
  • Fix: Linestrings that follow the same path but where one contains extra redundant points are not deduplicated by @theroggy in #192
  • Backwards support shapely 1.7.1 by @mattijn in #196

New Contributors

Full Changelog: v1.4...v1.5

v1.4

09 Jun 11:25
a472149
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3...v1.4

v1.3

20 Sep 17:02
3799f19
Compare
Choose a tag to compare

Version 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
  • 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

Full Changelog: v1.2...v1.3

v1.2

07 Sep 21:35
813ebd8
Compare
Choose a tag to compare

Version 1.2:

What's Changed

  • filter nan before converting array to int64 by @mattijn in #126
  • Move deep-copy from top-level to dict-level by @mattijn in #127
  • Allow Topojson dicts to be parsed into Topology by @mattijn in #128
  • Skip properties and bbox in resolve objects by @mattijn in #129
  • Update topology bbox when applying toposimplify or topoquantize by @mattijn in #130
  • rename objects_name to object_name by @mattijn in #131

Full Changelog: v1.1...v1.2

v1.1

20 Apr 21:34
Compare
Choose a tag to compare

Version 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 #116
  • fix syntaxwarning and apply black style formatting by @mattijn in #121

Full Changelog: v1.0...v1.1

v1.0

25 Nov 21:35
1faa804
Compare
Choose a tag to compare

Version 1.0:

  • fix duplicate coordinates in geojson export #112
  • add docs how-it-works
  • replace dispatcher with if-else statments #114

Version 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

Version 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

Version 1.0rc9:

  • include to_geojson() function to return the Topology as an GeoJSON object #71
  • include a __geo_interface__ for the Topology() class #71

Version 1.0rc8:

  • complex shared paths are registered correctly #63
  • new insterted junctions are inserted in right order #64

Version 1.0rc7:

  • major refactoring to include quantization of points
  • and to hash combinations of polygons/linestrings with points #61

Version 1.0rc6:

  • fix linemerging of non-duplicate arcs #50
  • include __geo_interface__ attributed as input #53
  • include travis testing on GitHub (thanks @Casyfill!)
  • migrate from unittests to pytest (thanks @Casyfill!)

Version 1.0rc5:

  • change TopoOptions in to_dict to be serializable #46
  • changed all int to np.int64, since it is platform specific #49, #45

Version 1.0rc4:

  • no linestring key in topojson
  • serialize str of TopoJSON or GeoJSON data
  • add vw as algoritm type and update widget

Version 1.0rc3:

  • changed class object to inherit sequence
  • removed the topojson.topology function
  • introducted the topojson.Topology class
  • speedups and bug fixes, see #15 - #36
  • introduced multiple options see #8

Version 1.0rc2:

  • apply linemerge on non-duplicate arcs
  • fix computing topology without shared boundaries #1, #3
  • use geopandas and geojson solely for tests, but recognize them as type #2, #4
  • use simplification as option to simplify linestrings
  • include option to snap vertices to grid
  • removed rdtree as dependency, use SRTtree from shapely instead

Version 1.0rc1:

  • initial release

What's Changed

New Contributors

Full Changelog: https://github.com/mattijn/topojson/commits/v1.0