| Version 2 (modified by mwalker, 11 months ago) |
|---|
Construction tools for digitizing
Add new digitizing tools for geometric construction of features.
Development branch on GitHub: https://github.com/sourcepole/openlayers/tree/construction_tools
Arc Intersection
Construction
- select two points P1, P2 and a distance d1, d2 for each point
- get intersection point(s) of the circle with radius d1 centered on P1 and the circle with radius d2 centered on P2
Implementation
Orthogonal Lines
Construction
- select two points P1, P2 defining a base line l
- select distance x along the base line (abscissa)
- select distance y perpendicular to the base line (ordinate)
- get linestring starting at P1 along l of length x, then y units perpendicular from that point
