Ramer-Douglas-Peucker line simplification: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|zkl}}: Fix link: Perl 6 --> Raku) |
(→{{header|Python}}: add lib header for Shapely) |
||
Line 1,013: | Line 1,013: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
{{libheader|Shapely}} |
|||
An approach using the shapely library: |
An approach using the shapely library: |
||
<lang python>from __future__ import print_function |
<lang python>from __future__ import print_function |
||
from shapely.geometry import LineString |
from shapely.geometry import LineString |