Skip to content

feat: new geo spatial functions#797

Merged
lvca merged 1 commit intomainfrom
geo-spatial-polygons
Jan 24, 2023
Merged

feat: new geo spatial functions#797
lvca merged 1 commit intomainfrom
geo-spatial-polygons

Conversation

@lvca
Copy link
Copy Markdown
Member

@lvca lvca commented Jan 24, 2023

Issue #796

New functions to create shapes:

  • point(<x>,<y>). Example: select point(10,10,20,20) as point
  • circle(<center-x>,<center-y>,<distance>). Example: select circle(10,10,10) as circle
  • rectangle(<top-x>,<top-y>,<bottom-x>,<bottom-y>). Example: select rectangle(10,10,20,20) as rectangle
  • lineString([ <point>* ]). Example: linestring( [ [10,10], [20,10], [20,20], [10,20], [10,10] ] )
  • polygon([ <point>* ]). Example: select polygon( [ point(10,10), point(20,10), point(20,20), point(10,20), point(10,10) ] ) as polygon and select polygon( [ [10,10], [20,10], [20,20], [10,20], [10,10] ] ) as polygon

New methods that work with shapes:

  • isWithin(). Example: select point(11,11).isWithin( circle(10,10,10) ) as isWithin
  • intersectsWith(). Example: select linestring( [ [10,10], [20,10], [20,20], [10,20], [10,10] ] ).intersectsWith( rectangle(10,10,20,20) ) as intersectsWith

@lvca lvca self-assigned this Jan 24, 2023
@lvca lvca added the enhancement New feature or request label Jan 24, 2023
@lvca lvca added this to the 23.1.2 milestone Jan 24, 2023
@lvca lvca merged commit 56eb3b9 into main Jan 24, 2023
@lvca lvca deleted the geo-spatial-polygons branch January 24, 2023 00:21
mergify Bot added a commit that referenced this pull request Oct 11, 2025
…/studio [skip ci]

Bumps [semver](https://github.com/npm/node-semver) from 7.7.2 to 7.7.3.
Release notes

*Sourced from [semver's releases](https://github.com/npm/node-semver/releases).*

> v7.7.3
> ------
>
> [7.7.3](npm/node-semver@v7.7.2...v7.7.3) (2025-10-06)
> --------------------------------------------------------------------------------
>
> ### Bug Fixes
>
> * [`e37e0ca`](npm/node-semver@e37e0ca) [#813](https://redirect.github.com/npm/node-semver/pull/813) faster paths for compare ([#813](https://redirect.github.com/npm/node-semver/issues/813)) ([`@​H4ad`](https://github.com/H4ad))
> * [`2471d75`](npm/node-semver@2471d75) [#811](https://redirect.github.com/npm/node-semver/pull/811) x-range build metadata support (i529015)
>
> ### Chores
>
> * [`8f05c87`](npm/node-semver@8f05c87) [#807](https://redirect.github.com/npm/node-semver/pull/807) bump `@​npmcli/template-oss` from 4.25.0 to 4.25.1 ([#807](https://redirect.github.com/npm/node-semver/issues/807)) ([`@​dependabot`](https://github.com/dependabot)[bot], [`@​owlstronaut`](https://github.com/owlstronaut))


Changelog

*Sourced from [semver's changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md).*

> [7.7.3](npm/node-semver@v7.7.2...v7.7.3) (2025-10-06)
> --------------------------------------------------------------------------------
>
> ### Bug Fixes
>
> * [`e37e0ca`](npm/node-semver@e37e0ca) [#813](https://redirect.github.com/npm/node-semver/pull/813) faster paths for compare ([#813](https://redirect.github.com/npm/node-semver/issues/813)) ([`@​H4ad`](https://github.com/H4ad))
> * [`2471d75`](npm/node-semver@2471d75) [#811](https://redirect.github.com/npm/node-semver/pull/811) x-range build metadata support (i529015)
>
> ### Chores
>
> * [`8f05c87`](npm/node-semver@8f05c87) [#807](https://redirect.github.com/npm/node-semver/pull/807) bump `@​npmcli/template-oss` from 4.25.0 to 4.25.1 ([#807](https://redirect.github.com/npm/node-semver/issues/807)) ([`@​dependabot`](https://github.com/dependabot)[bot], [`@​owlstronaut`](https://github.com/owlstronaut))


Commits

* [`a25789b`](npm/node-semver@a25789b) chore: release 7.7.3 ([#812](https://redirect.github.com/npm/node-semver/issues/812))
* [`e37e0ca`](npm/node-semver@e37e0ca) fix: faster paths for compare ([#813](https://redirect.github.com/npm/node-semver/issues/813))
* [`2471d75`](npm/node-semver@2471d75) fix: x-range build metadata support
* [`8f05c87`](npm/node-semver@8f05c87) chore: bump `@​npmcli/template-oss` from 4.25.0 to 4.25.1 ([#807](https://redirect.github.com/npm/node-semver/issues/807))
* [`d17aebf`](npm/node-semver@d17aebf) chore: bump `@​npmcli/template-oss` from 4.24.4 to 4.25.0 ([#797](https://redirect.github.com/npm/node-semver/issues/797))
* [`3b03e3b`](npm/node-semver@3b03e3b) chore: bump `@​npmcli/template-oss` from 4.24.3 to 4.24.4 ([#790](https://redirect.github.com/npm/node-semver/issues/790))
* See full diff in [compare view](npm/node-semver@v7.7.2...v7.7.3)

Maintainer changes

This version was pushed to npm by [GitHub Actions](<https://www.npmjs.com/~GitHub> Actions), a new releaser for semver since your current version.

  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=semver&package-manager=npm\_and\_yarn&previous-version=7.7.2&new-version=7.7.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot added a commit that referenced this pull request Apr 13, 2026
Bumps the github-actions group with 2 updates: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) and [actions/upload-artifact](https://github.com/actions/upload-artifact).
Updates `anthropics/claude-code-action` from 1.0.88 to 1.0.93
Release notes

*Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).*

> v1.0.93
> -------
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.93>
>
> v1.0.92
> -------
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.92>
>
> v1.0.91
> -------
>
> What's Changed
> --------------
>
> * Use pinned bun binary for post-steps when allowed\_non\_write\_users is set by [`@​OctavianGuzu`](https://github.com/OctavianGuzu) in [anthropics/claude-code-action#1190](https://redirect.github.com/anthropics/claude-code-action/pull/1190)
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.91>
>
> v1.0.90
> -------
>
> What's Changed
> --------------
>
> * fix: forward MCP\_TIMEOUT, MCP\_TOOL\_TIMEOUT, MAX\_MCP\_OUTPUT\_TOKENS to action step by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1162](https://redirect.github.com/anthropics/claude-code-action/pull/1162)
> * security: reject PATH\_TO\_CLAUDE\_CODE\_EXECUTABLE with control characters by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1185](https://redirect.github.com/anthropics/claude-code-action/pull/1185)
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.90>
>
> v1.0.89
> -------
>
> What's Changed
> --------------
>
> * fix: skip token revocation when no token was acquired by [`@​Dave-London`](https://github.com/Dave-London) in [anthropics/claude-code-action#918](https://redirect.github.com/anthropics/claude-code-action/pull/918)
> * Use env vars for workflow\_run context values in example workflows by [`@​ddworken`](https://github.com/ddworken) in [anthropics/claude-code-action#1125](https://redirect.github.com/anthropics/claude-code-action/pull/1125)
> * docs: document include/exclude\_comments\_by\_actor inputs by [`@​yuribodo`](https://github.com/yuribodo) in [anthropics/claude-code-action#1130](https://redirect.github.com/anthropics/claude-code-action/pull/1130)
> * fix: use correct fallback type for reviewData in fetcher by [`@​MaxwellCalkin`](https://github.com/MaxwellCalkin) in [anthropics/claude-code-action#1034](https://redirect.github.com/anthropics/claude-code-action/pull/1034)
> * Strip OIDC token request env vars from Claude session by [`@​chyipin`](https://github.com/chyipin) in [anthropics/claude-code-action#1011](https://redirect.github.com/anthropics/claude-code-action/pull/1011)
> * fix: skip retries for non-retryable errors in retryWithBackoff by [`@​ei-grad`](https://github.com/ei-grad) in [anthropics/claude-code-action#1082](https://redirect.github.com/anthropics/claude-code-action/pull/1082)
> * fix: restore ripgrep execute bits after bun install --production by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1163](https://redirect.github.com/anthropics/claude-code-action/pull/1163)
> * fix: allow # in branch names for PR checkout and base restore by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1167](https://redirect.github.com/anthropics/claude-code-action/pull/1167)
> * fix: prevent hang in restoreConfigFromBase on repos with .gitmodules by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1166](https://redirect.github.com/anthropics/claude-code-action/pull/1166)
> * fix: strip shell comment lines before parsing claude\_args by [`@​VoidChecksum`](https://github.com/VoidChecksum) in [anthropics/claude-code-action#1055](https://redirect.github.com/anthropics/claude-code-action/pull/1055)
> * fix: snapshot PR's .claude/ to .claude-pr/ before security restore by [`@​qozle`](https://github.com/qozle) in [anthropics/claude-code-action#1172](https://redirect.github.com/anthropics/claude-code-action/pull/1172)
> * chore: fix prettier formatting by [`@​ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#1171](https://redirect.github.com/anthropics/claude-code-action/pull/1171)
> * chore: fix prettier formatting in parse-sdk-options.test.ts by [`@​ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#1176](https://redirect.github.com/anthropics/claude-code-action/pull/1176)
> * fix: pin bun runtime config and improve log hygiene by [`@​ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#1174](https://redirect.github.com/anthropics/claude-code-action/pull/1174)
>
> New Contributors
> ----------------
>
> * [`@​yuribodo`](https://github.com/yuribodo) made their first contribution in [anthropics/claude-code-action#1130](https://redirect.github.com/anthropics/claude-code-action/pull/1130)
> * [`@​MaxwellCalkin`](https://github.com/MaxwellCalkin) made their first contribution in [anthropics/claude-code-action#1034](https://redirect.github.com/anthropics/claude-code-action/pull/1034)
> * [`@​chyipin`](https://github.com/chyipin) made their first contribution in [anthropics/claude-code-action#1011](https://redirect.github.com/anthropics/claude-code-action/pull/1011)
> * [`@​ei-grad`](https://github.com/ei-grad) made their first contribution in [anthropics/claude-code-action#1082](https://redirect.github.com/anthropics/claude-code-action/pull/1082)
> * [`@​qozle`](https://github.com/qozle) made their first contribution in [anthropics/claude-code-action#1163](https://redirect.github.com/anthropics/claude-code-action/pull/1163)
> * [`@​VoidChecksum`](https://github.com/VoidChecksum) made their first contribution in [anthropics/claude-code-action#1055](https://redirect.github.com/anthropics/claude-code-action/pull/1055)
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.89>


Commits

* [`b47fd72`](anthropics/claude-code-action@b47fd72) chore: bump Claude Code to 2.1.101 and Agent SDK to 0.2.101
* [`c26cb64`](anthropics/claude-code-action@c26cb64) chore: bump Claude Code to 2.1.100 and Agent SDK to 0.2.98
* [`657fb7c`](anthropics/claude-code-action@657fb7c) chore: bump Claude Code to 2.1.98 and Agent SDK to 0.2.98
* [`2ff1acb`](anthropics/claude-code-action@2ff1acb) chore: bump Claude Code to 2.1.97 and Agent SDK to 0.2.97
* [`b2fdd80`](anthropics/claude-code-action@b2fdd80) Use pinned bun binary for post-steps when allowed\_non\_write\_users is set ([#1190](https://redirect.github.com/anthropics/claude-code-action/issues/1190))
* [`26ddc35`](anthropics/claude-code-action@26ddc35) chore: bump Claude Code to 2.1.96 and Agent SDK to 0.2.96
* [`3983706`](anthropics/claude-code-action@3983706) chore: bump Claude Code to 2.1.94 and Agent SDK to 0.2.94
* [`6cad158`](anthropics/claude-code-action@6cad158) security: reject PATH\_TO\_CLAUDE\_CODE\_EXECUTABLE with control characters ([#1185](https://redirect.github.com/anthropics/claude-code-action/issues/1185))
* [`0f1fe5e`](anthropics/claude-code-action@0f1fe5e) fix: forward MCP\_TIMEOUT, MCP\_TOOL\_TIMEOUT, MAX\_MCP\_OUTPUT\_TOKENS to action s...
* [`6e2bd52`](anthropics/claude-code-action@6e2bd52) fix: pin bun runtime config and improve log hygiene ([#1174](https://redirect.github.com/anthropics/claude-code-action/issues/1174))
* Additional commits viewable in [compare view](anthropics/claude-code-action@1eddb33...b47fd72)
  
Updates `actions/upload-artifact` from 7.0.0 to 7.0.1
Release notes

*Sourced from [actions/upload-artifact's releases](https://github.com/actions/upload-artifact/releases).*

> v7.0.1
> ------
>
> What's Changed
> --------------
>
> * Update the readme with direct upload details by [`@​danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#795](https://redirect.github.com/actions/upload-artifact/pull/795)
> * Readme: bump all the example versions to v7 by [`@​danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#796](https://redirect.github.com/actions/upload-artifact/pull/796)
> * Include changes in typespec/ts-http-runtime 0.3.5 by [`@​yacaovsnc`](https://github.com/yacaovsnc) in [actions/upload-artifact#797](https://redirect.github.com/actions/upload-artifact/pull/797)
>
> **Full Changelog**: <actions/upload-artifact@v7...v7.0.1>


Commits

* [`043fb46`](actions/upload-artifact@043fb46) Merge pull request [#797](https://redirect.github.com/actions/upload-artifact/issues/797) from actions/yacaovsnc/update-dependency
* [`634250c`](actions/upload-artifact@634250c) Include changes in typespec/ts-http-runtime 0.3.5
* [`e454baa`](actions/upload-artifact@e454baa) Readme: bump all the example versions to v7 ([#796](https://redirect.github.com/actions/upload-artifact/issues/796))
* [`74fad66`](actions/upload-artifact@74fad66) Update the readme with direct upload details ([#795](https://redirect.github.com/actions/upload-artifact/issues/795))
* See full diff in [compare view](actions/upload-artifact@bbbca2d...043fb46)
  
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant