-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor documentation improvements (#181)
* Use NaturalEarth in benchmarks to get data Less of a pain * Add a geodesic-path tutorial * use NaturalEarth in simplify examples too * add backticks to `within` Literate docs
- Loading branch information
1 parent
2da44be
commit b95d3e5
Showing
4 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Geodesic paths | ||
|
||
Geodesic paths are paths computed on an ellipsoid, as opposed to a plane. | ||
|
||
```@example geodesic | ||
import GeometryOps as GO, GeoInterface as GI | ||
using CairoMakie, GeoMakie | ||
IAH = (-95.358421, 29.749907) | ||
AMS = (4.897070, 52.377956) | ||
fig, ga, _cp = lines(GeoMakie.coastlines(); axis = (; type = GeoAxis)) | ||
lines!(ga, GO.segmentize(GO.GeodesicSegments(; max_distance = 100_000), GI.LineString([IAH, AMS])); color = Makie.wong_colors()[2]) | ||
fig | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters