{"id":13516728,"url":"https://github.com/graphile-contrib/postgraphile-plugin-connection-filter-postgis","last_synced_at":"2025-10-09T20:35:51.564Z","repository":{"id":34307682,"uuid":"151730130","full_name":"graphile-contrib/postgraphile-plugin-connection-filter-postgis","owner":"graphile-contrib","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-18T21:57:26.000Z","size":402,"stargazers_count":18,"open_issues_count":10,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T17:05:13.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphile-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T14:07:59.000Z","updated_at":"2023-02-06T03:24:14.000Z","dependencies_parsed_at":"2024-06-02T03:31:20.612Z","dependency_job_id":"55c421c2-8b82-4d21-96f0-63562fe4bd5e","html_url":"https://github.com/graphile-contrib/postgraphile-plugin-connection-filter-postgis","commit_stats":null,"previous_names":["mattbretl/postgraphile-plugin-connection-filter-postgis"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphile-contrib","download_url":"https://codeload.github.com/graphile-contrib/postgraphile-plugin-connection-filter-postgis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253784908,"owners_count":21963899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:25.302Z","updated_at":"2025-10-09T20:35:46.544Z","avatar_url":"https://github.com/graphile-contrib.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"[![Package on npm](https://img.shields.io/npm/v/postgraphile-plugin-connection-filter-postgis.svg)](https://www.npmjs.com/package/postgraphile-plugin-connection-filter-postgis) [![CircleCI](https://circleci.com/gh/graphile-contrib/postgraphile-plugin-connection-filter-postgis.svg?style=svg)](https://circleci.com/gh/graphile-contrib/postgraphile-plugin-connection-filter-postgis)\n\n# postgraphile-plugin-connection-filter-postgis\nThis plugin exposes additional PostGIS-related fields on the `filter` argument of Connections.\n\n## Usage\n\nRequires `postgraphile@^4.5.0` and the following plugins appended prior to this plugin:\n\n- `@graphile/postgis@0.1.0`\n- `postgraphile-plugin-connection-filter@^2.0.0`\n\n## Operators\n\n| PostGIS function | Types | GraphQL field name |\n| --- | --- | --- |\n| ST_3DIntersects | geometry | intersects3D |\n| ST_Contains | geometry | contains |\n| ST_ContainsProperly | geometry | containsProperly |\n| ST_CoveredBy | geometry, geography | coveredBy |\n| ST_Covers | geometry, geography | covers |\n| ST_Crosses | geometry | crosses |\n| ST_Disjoint | geometry | disjoint |\n| ST_Equals | geometry | equals |\n| ST_Intersects | geometry, geography | intersects |\n| ST_OrderingEquals | geometry | orderingEquals |\n| ST_Overlaps | geometry | overlaps |\n| ST_Touches | geometry | touches |\n| ST_Within | geometry | within |\n\n| PostGIS operator | Types | GraphQL field name |\n| --- | --- | --- |\n| = | geometry, geography | exactlyEquals |\n| \u0026\u0026 | geometry, geography | bboxIntersects2D |\n| \u0026\u0026\u0026 | geometry | bboxIntersectsND |\n| \u0026\u003c | geometry | bboxOverlapsOrLeftOf |\n| \u0026\u003c\\| | geometry | bboxOverlapsOrBelow |\n| \u0026\u003e | geometry | bboxOverlapsOrRightOf |\n| \\|\u0026\u003e | geometry | bboxOverlapsOrAbove |\n| \u003c\u003c | geometry | bboxLeftOf |\n| \u003c\u003c\\| | geometry | bboxBelow |\n| \u003e\u003e | geometry | bboxRightOf |\n| \\|\u003e\u003e | geometry | bboxAbove |\n| ~ | geometry | bboxContains |\n| ~= | geometry | bboxEquals |\n\n## Development\n\nTo establish a test environment, create an empty PostgreSQL database and set a `TEST_DATABASE_URL` environment variable with your database connection string.\n\n```bash\ncreatedb graphile_test\nexport TEST_DATABASE_URL=postgres://localhost:5432/graphile_test\nyarn\nyarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphile-contrib%2Fpostgraphile-plugin-connection-filter-postgis/lists"}