Skip to content

Simplify method #41

@stefanocudini

Description

@stefanocudini

hi!

great lib!

But I don't understood because the simplify method don't support geojson Linestring instead of a geojson array points, why? How can simplify a Geojson linestring? :o
Usually working with geojson data the polyline is defined as a LineString:

{
   "type": "LineString",
   "coordinates": [
       [12.72, 42.23], [12.34, 42.32], ....
   ]
}

gju.simplify = function (source, kink) { /* source[] array of geojson points */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions