-
Notifications
You must be signed in to change notification settings - Fork 2
OGC API #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…m retrieval Issue #333
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds OGC API - Features support to expose well data through standardized geospatial endpoints, including well purposes, casing materials, and screen information, with property filtering capabilities for relationship-backed fields.
Changes:
- Added OGC API - Features endpoints (
/ogc) with support for wells, springs, and locations collections - Implemented property filtering for relationship-backed fields (well_purposes, well_casing_materials, well_screen_type) using EXISTS subqueries
- Added comprehensive test coverage for OGC endpoints and filtering capabilities
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_ogc.py | New test file with comprehensive OGC API endpoint tests including landing page, conformance, collections, and various filtering scenarios |
| tests/conftest.py | Added database permissions setup for app_read role to support OGC queries |
| core/initializers.py | Registered the new OGC router in the application |
| api/ogc/schemas.py | Defined Pydantic schemas for OGC API responses including collections, features, and conformance |
| api/ogc/router.py | Implemented OGC API router with endpoints for landing page, conformance, collections, and feature items |
| api/ogc/features.py | Core feature query logic with support for bbox, datetime, property, and CQL filters |
| api/ogc/conformance.py | Declared conformance classes for OGC API - Features and CQL2 text support |
| api/ogc/collections.py | Collection metadata and link generation for locations, wells, and springs |
| api/ogc/init.py | Package initialization file |
| README.md | Added documentation and usage examples for OGC API endpoints and filtering options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 973a1099eb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.
…d enhance clause splitting logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.
Why
This PR addresses the following problem / context:
How
Implementation summary - the following was changed / added / removed:
Notes
Any special considerations, workarounds, or follow-up work to note?