Versions in this module Expand all Collapse all v1 v1.0.0 Aug 22, 2018 Changes in this version + type Geometry struct + BoundingBox []float64 + Geometries []*Geometry + ID string + LineString []int + MultiLineString [][]int + MultiPoint [][]float64 + MultiPolygon [][][]int + Point []float64 + Polygon [][]int + Properties map[string]interface{} + Type geojson.GeometryType + func (g *Geometry) MarshalJSON() ([]byte, error) + func (g *Geometry) UnmarshalJSON(data []byte) error + type Topology struct + Arcs [][][]float64 + BoundingBox []float64 + Objects map[string]*Geometry + Transform *Transform + Type string + func NewTopology(fc *geojson.FeatureCollection, opts *TopologyOptions) *Topology + func UnmarshalTopology(data []byte) (*Topology, error) + func (t *Topology) Filter(ids []string) *Topology + func (t *Topology) MarshalJSON() ([]byte, error) + func (t *Topology) ToGeoJSON() *geojson.FeatureCollection + type TopologyOptions struct + IDProperty string + PostQuantize float64 + PreQuantize float64 + Simplify float64 + type Transform struct + Scale [2]float64 + Translate [2]float64 Other modules containing this package github.com/munenari/topojson/v2