Link Search Menu Expand Document

topojson.core.dedup

Dedup

Dedup(self, data, options={})

Dedup duplicates and merge contiguous arcs

to_dict

Dedup.to_dict(self)

Convert the Dedup object to a dictionary.

to_svg

Dedup.to_svg(self, separate=False, include_junctions=False)

Display the linestrings and junctions as SVG.

Parameters

  • separate : boolean

    If True, each of the linestrings will be displayed separately. Default is False

  • include_junctions : boolean

    If True, the detected junctions will be displayed as well. Default is False