-
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.
* Make `contains` more geointerfacey * Mean value method for barycentric coordinates On arbitrary polygons * Clean up + improve documentation * Fix chatgpt numbering bug (this is some pretty bad stuff) * Add a method for true polys * Update make.jl * Hormann method works well * Reorder some code and comments * Add tests * Reorder, remove cruft, get this working * Include and export * Add README and logo * Fix tests * Remove MakieThemes * Fix the doctest setup x * Don't use GB and Rasters in the bary example * Don't test on nightly * Fix examples * More doc fixes * Display figure to reset limits in docs * Move doctests to tests file * Test on v1.6 too * Fix syntax for v1.6 in simplify.jl * Literateify * Remove codecov files * Fix the plotted barycentric example * Set the default method to mean value
- Loading branch information
1 parent
2e99d8b
commit 5e41a15
Showing
18 changed files
with
640 additions
and
50 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
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,27 @@ | ||
## GeometryOps.jl | ||
|
||
|
||
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://asinghvi17.github.io/GeometryOps.jl/stable/) | ||
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://asinghvi17.github.io/GeometryOps.jl/dev/) | ||
[![Build Status](https://github.com/asinghvi17/GeometryOps.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/asinghvi17/GeometryOps.jl/actions/workflows/CI.yml?query=branch%3Amain) | ||
|
||
<img src="docs/src/assets/logo.png" alt="GeometryOps logo" width="250"> | ||
|
||
GeometryOps.jl is a package for geometric calculations on (primarily 2D) geometries. | ||
|
||
The driving idea behind this package is to unify all the disparate packages for geometric calculations in Julia, and make them GeoInterface.jl-compatible. We seem to be focusing primarily on 2/2.5D geometries for now. | ||
|
||
Most of the usecases are driven by GIS and similar Earth data workflows, so this might be a bit specialized towards that, but methods should always be general to any coordinate space. | ||
|
||
## Methods | ||
|
||
- Signed area, centroid, distance, etc | ||
- Iteration into geometries (`apply`) | ||
- Line and polygon simplification | ||
- Generalized barycentric coordinates in polygons | ||
|
||
### Planned additions | ||
|
||
- OGC methods (crosses, contains, intersects, etc) | ||
- Polygon union, intersection and clipping | ||
- Arclength interpolation (absolute and relative) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.