[PROJ] Geodesic buffers/offsets?
Lesparre, Jochem
Jochem.Lesparre at kadaster.nl
Wed May 5 00:20:40 PDT 2021
Would this be a solution for a ellipsoidal buffer at geodesic distance around a very large polygon?:
1. Create points at a regular small distance along the polygon contour;
2. For each point: use PROJ's geod function to compute a large number of points on a "circle" at the preferred buffer distance, by taking regular small azimuth increments;
3. Connect the outer points with a concave hull.
Step 1 and 2 are straightforward but computational expensive, as the number of points you need grows with the product of the perimeter of the polygon and the buffer distance. Step 3 is a bit tricky, but if you compute points close enough, this is possible e.g. with a morphological closing (using conventional buffers).
Jochem
Disclaimer:
De inhoud van dit bericht is uitsluitend bestemd voor geadresseerde.
Gebruik van de inhoud van dit bericht door anderen zonder toestemming van het Kadaster
is onrechtmatig. Mocht dit bericht ten onrechte bij u terecht komen, dan verzoeken wij u
dit direct te melden aan de verzender en het bericht te vernietigen.
Aan de inhoud van dit bericht kunnen geen rechten worden ontleend.
Disclaimer:
The content of this message is meant to be received by the addressee only.
Use of the content of this message by anyone other than the addressee without the consent
of the Kadaster is unlawful. If you have received this message, but are not the addressee,
please contact the sender immediately and destroy the message.
No rights can be derived from the content of this message.
More information about the PROJ
mailing list