Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat/frechet-in-var…
Browse files Browse the repository at this point in the history
…ious-spaces
  • Loading branch information
grevgeny committed Jan 7, 2025
2 parents 314c0e2 + e5dddd6 commit dbdafdf
Show file tree
Hide file tree
Showing 69 changed files with 2,535 additions and 637 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- geo_postgis
- geo_fuzz
- bench
- docs
if: success()
steps:
- name: Mark the job as a success
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
matrix:
container_image:
# Use the latest stable version. No need for older versions.
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -79,8 +80,8 @@ jobs:
# Minimum supported rust version (MSRV)
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.75"
# Two most recent releases - we omit older ones for expedient CI
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.78"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.82"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -107,8 +108,8 @@ jobs:
# Minimum supported rust version (MSRV)
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.75"
# Two most recent releases - we omit older ones for expedient CI
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.78"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.82"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -134,8 +135,8 @@ jobs:
# Minimum supported rust version (MSRV)
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.75"
# Two most recent releases - we omit older ones for expedient CI
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.78"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.82"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -160,8 +161,8 @@ jobs:
# Minimum supported rust version (MSRV)
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.75"
# Two most recent releases - we omit older ones for expedient CI
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.78"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.82"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -181,7 +182,7 @@ jobs:
matrix:
container_image:
# Fuzz only on latest
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79"
- "ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83"
container:
image: ${{ matrix.container_image }}
steps:
Expand All @@ -194,7 +195,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
container:
image: ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79
image: ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -205,7 +206,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
container:
image: ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.79
image: ghcr.io/georust/geo-ci:proj-9.4.0-rust-1.83
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions geo-test-fixtures/fixtures/nl_plots_epsg_28992.wkt

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion geo-test-fixtures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,21 @@ where
}

// From https://afnemers.ruimtelijkeplannen.nl/afnemers/services?request=GetFeature&service=WFS&srsName=EPSG:4326&typeName=Enkelbestemming&version=2.0.0&bbox=165618,480983,166149,481542";
pub fn nl_plots<T>() -> MultiPolygon<T>
pub fn nl_plots_wgs84<T>() -> MultiPolygon<T>
where
T: WktFloat + Default + FromStr,
{
multi_polygon("nl_plots.wkt")
}

pub fn nl_plots_epsg_28992<T>() -> MultiPolygon<T>
where
T: WktFloat + Default + FromStr,
{
// https://epsg.io/28992
multi_polygon("nl_plots_epsg_28992.wkt")
}

fn line_string<T>(name: &str) -> LineString<T>
where
T: WktFloat + Default + FromStr,
Expand Down
Loading

0 comments on commit dbdafdf

Please sign in to comment.