peterstace / simplefeatures

Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification
MIT License
134 stars 19 forks source link

Implement Densify methods #588

Closed peterstace closed 10 months ago

peterstace commented 10 months ago

Description

These methods return copies of the input geometry that have additional control points inserted such that adjacent control points are at most a fixed distance apart.

This is useful when transforming geometries from one projection to another, since straight lines in one projection are not necessarily straight lines in other projections. The additional control points can help to retain the true shape of curves when they are transformed.

Check List

Have you:

Related Issue

peterstace commented 10 months ago

Thanks for reviewing @albertteoh , really appreciate it!