Skip to content
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

Features #8

Merged
merged 6 commits into from
Aug 9, 2023
Merged

Features #8

merged 6 commits into from
Aug 9, 2023

Conversation

code-akki
Copy link
Collaborator

  • Added Features API endpoint
    • Supports limit, offset, bbox, datetime and additional filters in query parameters for filtering results
  • Updated OGCException class to include status code

* Added /collections/items and /collections/items/:itemId API endpoints
* /items can have query parameters viz. limit, bbox, datetime and additional parameters
* Updated pom.xml
* Added FeatureQueryBuilder class to build SQL queries related to Features API in database package
* Added id to include id in the response.
* Updated queries to use geography type column to geometry type column.
* Updated geometry column to convert geojson text to geojson object.
* Added code to include offset values in the feature API endpoint
* Currently the offset values supports values upto 1000
* Deleted unnecessary comments
* Added code to include datetime as query parameter in Features API endpoint
* Datetime Query now supports matching exact datetime and interval values in ISO-8601 format
* Updated OGCException class to include status code while throwing exception
@code-akki code-akki requested a review from kailash July 26, 2023 05:11
@code-akki code-akki added the enhancement New feature or request label Aug 2, 2023
* Added total_number_of_features_matched based on the query and added the result in the Feature response
* Added total_number_of_features_returned result in the Feature response based on the query
* Updated openapi spec to fix array type in bbox parameter
* Minor updates and fixes
@code-akki code-akki merged commit e779fef into datakaveri:main Aug 9, 2023
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.

2 participants