Skip to content

Releases: topojson/topojson

1.5.3

28 Mar 04:41
Compare
Choose a tag to compare
  • Fix --filter=small-detached; it now correctly detects attached polygons and has better tests.
  • Fix crash when --width or --height is used on non-quantized (-q 0) topologies.
  • Fix vertical flipping when --width or --height is used in conjunction with --projection.
  • Add --invert to control vertical flipping; defaults to "auto".

1.5.2

23 Mar 20:13
Compare
Choose a tag to compare
  • Fix a bug where --projection would never stitch poles, regardless of --stitch-poles.
  • Add --version.

1.5.1

18 Mar 19:04
Compare
Choose a tag to compare
  • Rings are no longer prefiltered before the topology is created. This fixes a bug where small attached rings were incorrectly removed when --filter=small-detached (the default) was specified. It also fixes a bug where large rings were incorrectly removed when --simplify, --projection and --width or --height were used simultaneously.

1.5.0

17 Mar 19:45
Compare
Choose a tag to compare
  • Overhaul shapefile parser to dramatically reduce wasted memory when reading large inputs.
  • Add --filter command-line option for specifying how to remove rings after simplifying. The new default behavior, --filter=small-detached, ensures that small rings that are attached to other rings, such as small municipalities, will not be removed. This fixes small holes in maps with many small polygons.
  • Deprecate --allow-empty; use --filter=none instead.

1.4.9

28 Feb 17:30
Compare
Choose a tag to compare
  • Fix error with --simplify-proportion for inputs that have many arc endpoints.

1.4.8

27 Feb 18:14
Compare
Choose a tag to compare
  • Fix TypeError filtering polygons with no arcs.

1.4.7

27 Feb 15:47
Compare
Choose a tag to compare
  • Fix winding order bug when filtering small polygons with holes (e.g., Bora Bora).

1.4.6

24 Feb 22:15
Compare
Choose a tag to compare
  • Add support for AMD (e.g., RequireJS).

1.4.5

24 Feb 22:14
Compare
Choose a tag to compare
  • Use the largest ring as the polygon exterior, such that the holes of a polygon always have a consistent winding order, opposite the exterior.

1.4.4

24 Feb 22:12
Compare
Choose a tag to compare
  • Fix winding order detection of some polar polygons.