Texonom
Texonom
/
Application
Application
/Geology/GIS/Map Service/Map Tools/2D Map/OpenLayers/OpenLayer Geom/OpenLayers LineString/
OpenLayers Smoothing LineString
Search

OpenLayers Smoothing LineString

Smoothing lines using Chaikins algorithm
This example uses the npm package chaikin-smooth which implements Chaikins algorithm to smooth drawn lines. Start by drawing on the map. Once you finish a drawing, the feature's geometry will be smoothed as configured via the form elements.
https://openlayers.org/en/latest/examples/chaikin.html
Smoothing lines using Chaikins algorithm

Recommendations

Texonom
Texonom
/
Application
Application
/Geology/GIS/Map Service/Map Tools/2D Map/OpenLayers/OpenLayer Geom/OpenLayers LineString/
OpenLayers Smoothing LineString
Copyright Seonglae Cho