Fix starlette get_config route in Admin API - #1946
Merged
Merged
Conversation
tomkralidis
self-requested a review
February 28, 2025 11:25
jwallace94
added a commit
to GeoscienceAustralia/pygeoapi
that referenced
this pull request
May 9, 2025
commit bea6ac7c2f84896f519f486e6fda69e2ec4b1c5c
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Thu Mar 27 21:17:03 2025 +0200
update release version
commit c976bd7f61d60a50536c84a2663e506328749789
Author: Jo <doublebyte@hushmail.com>
Date: Wed Mar 26 22:13:46 2025 +0100
Return 204 for tiles that are within the tile matrix set limits (#1959)
commit 17d1a6ff8292705ff580601a83a26bcb70733a19
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Mar 25 14:10:41 2025 -0400
fix schema geometry definition (#1938) (#1976)
* fix schema geometry definition (#1938)
* fix test
commit f9d9b2a870e77f0efbd3d91b6400936c242d7957
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Mar 25 13:00:03 2025 -0400
handle PostgreSQL JSON types as JSON Schema objects (#1975)
commit ee370fb706ca209799aa0009b06f1abc4e25dd73
Author: Sarah Jordan <smjordan329@gmail.com>
Date: Thu Mar 20 05:31:33 2025 -0500
explicitly define init of BaseProvider (#1972)
XarrayEDRProvider was initializing XarrayProvider twice- once through the BaseEDRProvider due to MRO and once explicitly. this slowed down the initialization since the XarrayProvider was called twice (which causes all datasets to be lazy loaded twice).
commit 94b0b3d57eeb19199ecf584ce2c0e75c35b8c2a7
Author: Even Rouault <even.rouault@spatialys.com>
Date: Tue Mar 18 13:17:28 2025 +0100
Fix conformance class URIs (#1967)
* Fix conformance class URIs
Fix them to match table 2 of https://docs.ogc.org/is/17-069r4/17-069r4.html (
http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30)
and
https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/schemas/standard/clause_2_conformance.adoc
(http://www.opengis.net/spec/{standard}/{m_n}/conf/core-roles-features)
* Update itemtypes.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 24dc072dd5a81b9709f277956aae97d9bf6f083f
Author: Even Rouault <even.rouault@spatialys.com>
Date: Tue Mar 18 13:06:12 2025 +0100
Fix 'type' member of the rel=http://www.opengis.net/def/rel/ogc/1.0/schema link (#1968)
According to Requirement 17 /req/returnables-and-receivables/op of OGC
API Features Part 5, the media type shall be application/schema+json.
commit 00b1445a683725b31fc01bae5bfd43a66983bd13
Author: vvmruder <vvmruder@users.noreply.github.com>
Date: Sat Mar 15 12:28:56 2025 +0100
Update openapi.py (#1966)
* Update openapi.py
* fix indentation
* fix flake
commit b616fb023a24e59eee4e4b8769247af64e74bc7d
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Mar 12 12:03:23 2025 -0400
Include JSON-LD documents in manifest (#1963)
commit 9d6095083c31323406ad813d7635d539c20ff25c
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Mar 10 20:54:17 2025 -0400
Support GeoJSON-LD templating (#1927)
* Support JSON-LD template for items
* Create `item_list.jsonld` template
Create `item_list.jsonld` template to backport current /items json-ld content offerings
* Reduce number of times templated geojsonld is serialized
* Add test for linked_data.py
* Use json serializer in test
* Run test in CI
* Add test for single item
* Use single quotes
* Fix flake8
* Use collection level template for GeoJSON-LD
* Un-nest JSON-LD context from resource config
* Respond to PR feedback
* Update test_linked_data.py
* Revert "Un-nest JSON-LD context from resource config"
This reverts commit 5b371b26166c320174459627625e57cf497aaab6.
* Update documentation
commit 3a9d8532898f849d96e1c3cab5b048a9fad2ddbb
Author: Jo <doublebyte@hushmail.com>
Date: Mon Mar 10 23:32:35 2025 +0100
- gracefully catch missing tiles in wmts facade (#1960)
commit 7168828801db154eb86c7f0009a17bb7af2070d0
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Mar 6 15:44:34 2025 -0500
Directly render EDR JSON in HTML (#1955)
commit 4f90235778c96b88317c9ee43fec3583b2a8f4f7
Author: vvmruder <vvmruder@users.noreply.github.com>
Date: Thu Mar 6 21:19:16 2025 +0100
Allow storage projections other than 4326 for Postgres Provider (#1953)
* Update postgresql.py
* fix lint
commit f794d6721a6d2a4c2995b5a1d2fd0761ba379c04
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Mar 6 04:07:41 2025 -0500
Gracefully catch tile not found (#1937)
* Gracefully catch tile not found
* Fix flake8
commit 70b33f0b352ff9a63c2ae7b44b38480335b2d3e1
Author: Jo <doublebyte@hushmail.com>
Date: Mon Mar 3 21:20:24 2025 +0100
- filtering collections by provider to create a fcm['tile'] that can be passed to Jinja (#1950)
- showing the TMS endpoints on the landing page, only when fcm['tile'] exists
commit d78a8f39e783098163d956e13a82042b1d7fa387
Author: JohannesSchnell <108523161+JohannesSchnell@users.noreply.github.com>
Date: Fri Feb 28 15:43:31 2025 +0100
fix `KeyError: 'updated'` when jobs are started but haven't been updated yet (#1947)
[2025-02-28T12:42:14Z] {/usr/local/lib/python3.10/dist-packages/flask/app.py:875} ERROR - Exception on /jobs [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask_cors/extension.py", line 194, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/pygeoapi/pygeoapi/flask_app.py", line 425, in get_jobs
return execute_from_flask(processes_api.get_jobs, request)
File "/pygeoapi/pygeoapi/flask_app.py", line 148, in execute_from_flask
headers, status, content = api_function(actual_api, api_request, *args)
File "/pygeoapi/pygeoapi/api/processes.py", line 314, in get_jobs
'updated': job_['updated']
KeyError: 'updated'
commit a7f7e63cce9d12dcbad8dd17c3fb08ffc02cfadc
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Fri Feb 28 06:25:57 2025 -0500
Fix Flask Admin with API rules (#1945)
commit 8db5d9a45bccca33d2d3e113b10e3ca7fee271d7
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Fri Feb 28 06:25:17 2025 -0500
Fix starlette get_admin (#1946)
commit 107f776ea2df89c4aee7851fe62d1ba4c53ccf7f
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Feb 27 22:31:28 2025 -0500
prevent HTML templating override persistence (#1943)
* prevent HTML templating override persistence
* use self.tpl_config
commit b1d4e94b7778e75c4f75c4c6fe2e53c5a4ddac58
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Feb 27 20:04:36 2025 -0500
update Docker image links in docs (#1944)
commit fa735ec7c57212d20007c66aa413f328e2721111
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Feb 27 09:40:14 2025 -0500
Add hot-reload option to docker entrypoint (#1880)
* Add hot-reload to entrypoint
* Move gunicorn exec to bash function
* Create WSGI_APP for gunicorn entrypoint
Create WSGI_APP for gunicorn entrypoint with default value of `pygeoapi.flask_app:APP`
* Respond to PR feedback
commit 511578a81277e46080ff6bab654a43a6e4a0e810
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Feb 26 06:50:11 2025 -0500
Fix pygeofilter reprojection tests (#1940)
* Fix reprojection geom
* Update test_util.py
commit d7c71221ab3c9bee2af92a8ad1096759992f30d5
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Feb 17 06:24:31 2025 -0500
Add SensorThings API EDR Provider (#1928)
* Port SensorthingsEDR provider
* Fix flake8
* Respond to PR feedback
* Implement PR feedback
* Remove noqa lines
Formate STA EDR provider such that it does not require #noqa to pass CI
* Fix CoverageJSON capitalization
commit d8096476440153625d5fe88ab94e819f1665737f
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Feb 12 06:18:24 2025 -0500
Fix API Tile Metadata JSON response (#1934)
* Add test for Tile metadata
* Serialize tile metadata response to json
* Update test_tiles.py
commit 75f87393365b17245d8dd6ba88196636f922b445
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Feb 12 06:14:00 2025 -0500
Fix Parquet Provider (#1935)
* Add parquet provider to CI test
* Fix parquet get_fields logic
commit 22648b17559a7e67fba4a32920d4755264815b31
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Feb 9 11:53:03 2025 -0500
support process output schemas in OpenAPI if exists (#1933)
commit 1d592ae037b22b1f9ad3e673f08b870a2020758d
Author: Mike Mahoney <mjmahoney@usgs.gov>
Date: Sat Feb 8 11:49:59 2025 -0500
Assign nil geometries to obs with malformed coordinates (#1922) (#1923)
* Assign nil geometries to obs with malformed coordinates
Fixes #1922
* Update test_csv__provider.py
* Update test_csv__provider.py
* Update test_csv__provider.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 7096af25557c916ec478906ad5108b1eba3af6f0
Author: Jo <doublebyte@hushmail.com>
Date: Sat Feb 8 17:46:31 2025 +0100
Added support to tileindexing on MapScript provider (#1931)
* - Added support to tileindexing on MapScript provider
* - updated MapScript provider to use str2bool to extract boolean from string
* - remove comment
* - fixed typos and styling in MapScript documentation
* - simplified condition
* - removed brackets on import
commit fb390984a8c6f1cd5d169e4a0d37eb4c0e6f857d
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Feb 8 06:50:15 2025 -0500
Feature property fixes (#1932)
commit cafddc860caa4d6eda620a61b48d929027055f85
Author: Jo <doublebyte@hushmail.com>
Date: Fri Feb 7 16:44:25 2025 +0100
- Added information about projection of mapscript provider (#1929)
commit cd6d88f5bc0560d3efa4e001297b4d91ed98971d
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Feb 5 13:41:44 2025 -0500
Fix SensorThings URI field retention (#1924)
commit 49bbf78da30a16db85d22eb30167a76b0c73abe0
Author: Jo <doublebyte@hushmail.com>
Date: Mon Feb 3 22:36:56 2025 +0100
- add processing directive for raster layers on mapscript/OAMaps (#1920)
commit 26263c88138ac9e430974e11f67bc0cc215beb7c
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Jan 29 08:07:42 2025 -0700
Add outputs to pygeoapi processes in core (#1902)
* Add outputs to OAProc
* Use **kwargs
cc https://github.com/geopython/pygeoapi/pull/1899
* Use named function arguments
commit 967dcf640642c3f3c0307e1e635670e68b8d202c
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Jan 29 04:46:57 2025 -0700
Use existing key for Admin OAS Patch (#1913)
* Use global key in admin oas patch
* rm deepcopy
* Use Patch example
commit a192aa6d4263702265092853f7a2836068153385
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Wed Jan 29 12:46:04 2025 +0100
Remove duplicated/unused 'get_manager' function (#1915)
commit 269c7859261ffb551595cf85e63a95235b35e7ef
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jan 26 06:44:11 2025 -0500
update Elasticsearch and MongoDB in CI to match pygeoapi-examples (#1914)
commit f93246e59c6cc02be974c1c98362777b4fe7a65d
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jan 23 09:55:19 2025 -0500
enhance support for limits (RFC5) (#1856) (#1892)
* add enhanced support for limits (RFC5) (#1856)
* update GitHub actions
* update GitHub actions
* update GitHub actions
* update GitHub actions
commit 86e5b78873834f6a32f87af015eb3e5000288155
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Jan 23 06:44:03 2025 -0700
Implement OGC API Features Part 4 transactions for Senosorthings provider (#1911)
* Support OGC API - Features Part 4 for SensorThings API Provider
* Use configured scheme and netloc
* Fix flake8
Update test_sensorthings_provider.py
* Add graceful failure on startup
* Update copyright year
* Use PUT
commit 2472fc3359ee8f663fbcdc5827cdb27af401ac38
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jan 22 12:16:41 2025 -0500
add OARec autodiscovery to HTML collections template (#1910)
commit d9dceac204897dfaead5072b3687db7d9815b8a9
Author: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com>
Date: Wed Jan 22 17:58:33 2025 +0100
Fix Oracle Provider different count query and feature query when a sql_manipulator is used, Issue #1831 (#1909)
* Adjusted Query Function to include SQL Manipulation in the Count Query for numberMatched retrieval. Now there queries should be the same in any case. Added a function for less repetitions and added a Test.
* Made process_query_with_sql_manipulator_sup more concise and removed duplications
commit 51c6a95bc17b61b63d9c3948ae1feb82fe4a6363
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jan 22 06:35:20 2025 -0500
OARec: add autodiscovery link relation (#1908)
commit 29b507fb1f033e4a54d00a5e87b31b569aaab23e
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Tue Jan 21 14:58:00 2025 +0100
Add created/updated job fields (#1907)
commit 3d88f7def67bb0259cc12f58a9c8619d5aaab611
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Tue Jan 21 12:39:42 2025 +0100
Use started/finished instead of job_start/end_datetime (#1906)
commit fb642dd404238852409978d6045c0d96b235eef2
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Jan 18 15:26:27 2025 -0500
TinyDB: fix query data type casting (#1904)
commit 86c81c61bcc7c0c704fe845810aa09393528b0e9
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jan 14 19:39:28 2025 -0500
normalize all feature/record CQL filtering to CQL2 using pygeofilter (#1889)
* use pygeofilter and CQL2 for all CQL handling (#1557)
* docs
commit 5aa75d9e4d3a12fd4903e9b82d7d400ef459ed7b
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jan 14 18:56:05 2025 -0500
OACov: add support for UAD, override temporal extents from provider if exists (#1903)
commit b4d3535032e04b6ca44797d011c9f71239a8bd8e
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jan 14 05:00:34 2025 -0500
lazy load admin api for Starlette and Django (#1886) (#1900)
commit 2402fe03da01bd73950ed391ca457f5525f8deff
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Mon Jan 13 12:53:48 2025 +0100
update starlette documentation (#1898)
commit 921fb20e4211f24e6e23d4920b5299561d444899
Author: Mike Mahoney <mjmahoney@usgs.gov>
Date: Mon Jan 6 13:54:02 2025 -0500
Fix typo (#1897)
commit fad44bde75a91b3688836b103b6bfbec108bcbb5
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jan 5 12:42:19 2025 -0500
update EDR compliance (#1896)
commit 84908c9535f3be64c9ed470477660bd745c2c712
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jan 5 10:30:55 2025 -0500
add support for EDR instances (#1893)
commit 96c019ae364a6844a71199e158bbabd00ab81dab
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jan 5 07:40:45 2025 -0500
remove lakes feature provider for CITE testing (#1895)
commit 854435124ba511de5110e904b923b81755eb35b0
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Fri Jan 3 16:26:04 2025 +0200
back to dev
commit b48f3526c9f81edc2ff5a320818190380c3f3041
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Fri Jan 3 15:39:53 2025 +0200
update release version
commit f0aa94d5496ac6e4ae0ac686f1f1752e4860dfbf
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jan 1 08:17:44 2025 -0500
update copyright year (#1894)
* Happy New Year! 🎉
* Happy New Year! 🎉
commit 56285299e272d3a28f88ee805ec7aa9efac79901
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Mon Dec 30 16:30:09 2024 +0100
Implement OGC API Features Part 4 transactions for the postgres provider (#1891)
* Implement OGC API Features Part 4 for the postgres provider
* Mark transactions as supported in PostgreSQL
commit 6aa67b4e30b86a632591dd3982e456832cee05a0
Author: Sarah Jordan <smjordan329@gmail.com>
Date: Tue Dec 24 13:51:33 2024 -0600
updates for parsing with stac browser (#1890)
change type to application/json and parse id from jsondata
commit c379f228f65479f4f4adf661b1d83f7985e03fbc
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Mon Dec 23 19:44:30 2024 +0100
Admin tests without live server (#1888)
* Don't run admin live tests in CI
* Add exemplary test to demonstrate admin api test style without live server
* Also add resource admin test without live server
* Fix a typo
* Update test_admin_api.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 125a1b45117fa2d7c3c1fbed920a125283347ddd
Author: Mafaldarc <38542491+Mafaldarc@users.noreply.github.com>
Date: Sun Dec 22 13:17:39 2024 +0000
Get all nested fields in Elasticsearch (#1882)
* Get all nested fields in Elasticsearch
When using the Elasticsearch provider for a collection, the only queryables returned are the first-level properties of its features. With this change, all nested properties are returned as fields and it's possible to filter items using those nested properties (e.g. /items?prop1.prop2=example )
* Remove whitespace from blank lines
* Fix indentation
commit 88bfa5fe07c1c06d60004e13178d96861d46f6ad
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Dec 21 11:27:05 2024 -0500
Update elasticsearch_.py
commit 202933a9bf7587119138b76a72973272591c7c9e
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Dec 21 11:21:47 2024 -0500
Elasticsearch: relax properties query for indexes with varying mappings
commit 77f3a55e20b58886251ad1487ce810e40e26e223
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Dec 20 09:43:16 2024 -0500
lazy import admin API based on config (#1886)
commit f181d99b5756c258a7429d0fb45989e1917679c9
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Dec 18 19:01:43 2024 -0700
Ensure STA only uses configured netloc (#1883)
* Ensure STA only uses configured netloc
Address edgecase where SensorthingsAPI returns a network location inaccessible by pygeoapi by ensuring any backfill requests we make use the configured network location instead of the response network location
* fix flake8
commit 475c567f677d67c14415c62faeb61367cc4c3ce0
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Wed Dec 18 17:22:41 2024 +0100
Continue refactoring of API #1405 in remaining files (#1842)
* Refactor landing_page api to new style
* Refactor openapi view to new style
* Refactor remaining core api views
* Update tests which reference core apis
* Refactor get_config_ from admin api to new style
* Refactor remaining admin api views to new style
* Remove reference to api function which does not exist
This is necessary for subsequent refactorings
* Remove now unsed api helper code
* Remove APIRequest.with_data
* Update APIRequest documentation
commit caafad4bddba87aac26a73b5e2db532f0bf3e14b
Author: Jo <doublebyte@hushmail.com>
Date: Tue Dec 17 15:30:03 2024 +0000
Added payload examples and other default values in the Open API definition of the admin API (#1878)
* - Added example payload in the Open API definition of the admin API
* - fixed flake8 error
* - removed test on extents key, when creating admin patch payload example
* - added obs collection in pygeoapi config test admin
* - switched order of obs collection in resources
* - simplify payload example for admin api post resource
* - removed processes collection from test admin configuration files
commit c91719e136b3c57ee74f6c9f4acdcfb3c4355fd3
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Tue Dec 17 12:18:42 2024 +0100
Add mock data tests for the socrata provider (#1881)
* Skip soda live tests by default
* Test socrata against a mock implementation
* Add socrata live test to github action, but commented
* Add copyright line for me in test file
commit a1c94fa7e7f6a6b68c740b469b7122cde9049ac1
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Sun Dec 15 15:07:40 2024 -0500
Allow configurable expand to SensorThings provider (#1879)
* Allow configurable expand to SensorThings provider
* Update license year
commit f032628b218d1c920e68f82447ad67a22adaf918
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Sun Dec 15 11:56:29 2024 -0500
Serialize string to bool (#1876)
* Serialize string to bool
* Update per feedback
commit 21d8ce9407c9ef8b7209f51b43fabe4d35c008ec
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Dec 15 11:49:12 2024 -0500
Admin: coerce resource temporal extents into datetime objects (#1877)
* coerce resource temporal extents into datetime objects
* fix ref
* fix test
* fix test
* fix test
* fix test
* fix ref
commit 8b1a9870e509d8e9858f0d12410cda2ec04227c6
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Sat Dec 14 06:55:59 2024 -0500
Support enviornment vars in base Docker image (#1873)
* Support enviornment vars in base Docker image
* Update running with docker documentation
* s/PYGEOAPI_URL/PYGEOAPI_SERVER_URL/g
* s/PYGEOAPI_ADMIN_API/PYGEOAPI_SERVER_ADMIN/g
commit cbbd0eb9c144585f01170a19e616ba3aff66e6a5
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Wed Dec 11 14:25:48 2024 +0100
Fix rendering of job results in html (#1870)
* Fix rendering of job results in html
This is basically the same fix as 42f833485b45e92b8ab0a8f86562b81aae05c723 ,
but in a different template.
* Use pygeoapi.util.to_json instead of jinja tojson
commit e27318fc1d0ca7e1eb66b4d3c067fbe41c6818e4
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Dec 9 20:48:53 2024 -0500
Respected linkrel from provider (#1868)
commit a0867d09f2cdaf1c6a4dac457f824b0f95d728eb
Author: Jo <doublebyte@hushmail.com>
Date: Mon Dec 9 15:45:44 2024 +0000
- add admin key to pygeoapi template configuration (#1866)
commit 69987349d65895a9dc6affb81bdc109bd532ae68
Author: Jo <doublebyte@hushmail.com>
Date: Mon Dec 9 15:45:10 2024 +0000
- added checks to test the data type of tiles (#1867)
commit 627be58a7ef03fc43a16bb22f57b883a085dcd28
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Dec 9 04:52:33 2024 -0500
safeguard contact info (#1835) (#1862)
commit 22626964329613c215395797bb2ab63d41b6fb1d
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Dec 8 09:18:15 2024 -0500
minor doc sweep (#1864)
commit 0cf470a0e205292798c5b808c6aa5f335dbf5e84
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Dec 8 04:09:53 2024 -0500
fix operationId values for Tiles requirements (#1728) (#1863)
commit a795620ce928c1d6595961360766e717399c498c
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Dec 7 23:03:58 2024 -0500
support dataset specific templates (#1857) (#1858)
* support dataset specific templates (#1857)
* add example to docs
commit 47fc390da783a3f0efd2bb57fc6f13e0a7142762
Author: Sarah Jordan <smjordan329@gmail.com>
Date: Fri Dec 6 10:49:22 2024 -0600
Add License and Extent information to Collections (#1861)
commit 569393afe0117ad15fe57994af150da02c653e60
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Dec 4 13:14:14 2024 -0500
add PDF output for docs (#1860)
commit 2662a3a0ea6f05a241d90e42b62be9e2d432b877
Author: Jo <doublebyte@hushmail.com>
Date: Tue Nov 26 12:32:16 2024 +0000
Updated documentation about OGC API - Tiles Providers (#1859)
* - added information on whether the OATiles providers support raster and vector tiles
* - updated information about MVT-Proxy supported properties
commit 0235bba4e5a4b8446062b911aad3a01e4afa5edc
Author: Youssef Harby <youssef_harby@yahoo.com>
Date: Thu Nov 21 19:47:12 2024 +0300
Add Arabic Translation and RTL Support (#1854)
* Update HTML template to support dynamic text direction and improve layout styling
* add translation for arabic
* Improve header layout in base HTML template for better alignment and spacing with RTL and LTR
* Add language attribute to HTML tag
* Update Arabic translations to include "STAC" in SpatioTemporal asset terminology
* Add "text_direction" to be "ltr" translation for bs, de, en, es, fr, sr languages
commit e1fec87d6f7a0115f7ff2a1b1878367e558f5519
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Nov 20 18:49:04 2024 -0500
add support for OpenSearch provider (#1844)
commit 065ef3a4954fbe3ab11c1dcef30902f3c74d10d6
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Nov 19 20:53:28 2024 -0500
Support empty default environment variable values (#1822)
* Add default env variable
Add env variable test
Co-Authored-By: Sarah Gammon <91751417+sarahg-579462@users.noreply.github.com>
* Update test for empty env variable
* Remove pygeoapi env variable from config
---------
Co-authored-by: Sarah Gammon <91751417+sarahg-579462@users.noreply.github.com>
commit 3188db91da7b555a039f420d57a337762845b18a
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Nov 19 17:39:16 2024 -0500
update pygeoapi-auth info to security page (#1852)
commit acc3b9ae93255fb0a914c011c3d7b0fdd711a260
Author: FritzHoing <100765498+FritzHoing@users.noreply.github.com>
Date: Mon Nov 18 18:35:14 2024 +0100
Unused requested_outputs in execute_process (#1834)
* fix: adds requested_outputs to execute function
* Update dummy.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 183caacff41297667b17ca63ceb38d2ae8544b6b
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Nov 18 12:12:22 2024 -0500
Support EDR single item locations for Starlette (#1827)
* Support EDR single item locations for starlette
* Model behavior after flask app handler
commit a3b42ba0ed0af8c321451d9030fea7d495069377
Author: Martin Pontius <46755352+MartinPontius@users.noreply.github.com>
Date: Mon Nov 18 17:54:12 2024 +0100
Fix bug when trying to get job result in binary format (#1798)
commit 2e4ff714f6ca090d6cc294d5d03e7ad550d38608
Author: Jo <doublebyte@hushmail.com>
Date: Sun Nov 17 08:19:36 2024 +0000
Improved documentation about admin api (#1846)
* - added note about admin api routes
* - fixed openapi path
* - open api -> OpenAPI, admin api -> admin API
---------
Co-authored-by: doublebyte1 <info@doublebyte.net>
commit 9e87184fbf19cb783f917ba7a56de62debf7a9da
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Nov 8 03:36:10 2024 -0500
fix trivy error on vulnerability testing (#1843)
commit 09423fb4bedfbb8b72df609c65ae6b11ae3e6fee
Author: Ricardo Garcia Silva <ricardo.garcia.silva@gmail.com>
Date: Thu Nov 7 23:09:09 2024 +0000
Lifted pin on sqlalchemy in order to be able to use v2+ (#1832)
commit e4beaf758ea43617adb80766010495536bafa371
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Nov 4 05:37:51 2024 -0500
add service contact to OpenAPI (#1835) (#1839)
commit b6c38b66eec2cd66b954a238496269f5a4993dff
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Nov 4 05:37:13 2024 -0500
fix HEAD requests for items (#1836) (#1838)
commit d2f38dea07dc9905c7abf6324cb928728d6225d2
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Nov 3 11:21:32 2024 -0500
Update FUNDING.yml
commit 3bdeefe4e778ff5a0fd55637fc82a57a00bd0326
Author: Leo Ghignone <leo.ghignone@utas.edu.au>
Date: Wed Oct 16 06:49:15 2024 +1100
Properly support int variables of any width (#1829)
commit 179c90ff31261c4dedeeda103a85e839ceef20f2
Author: Alex <94073946+Alex-NRCan@users.noreply.github.com>
Date: Thu Oct 3 09:21:05 2024 -0400
Fixes a memoryfile issue with rasterio. When using f=json, it doesn't need to use the MemoryFile. (#1824)
commit e736fa3b2fa7cb168ecd4736aa80de215245dc5f
Author: Colin Henderson <colin.henderson@atkinsglobal.com>
Date: Tue Oct 1 15:53:39 2024 +0100
Custom esri token service (#1813)
* Added ability for self-hosted token service to be specified.
* Update documentation to show the available parameters
* Update pygeoapi/provider/esri.py
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* Update pygeoapi/provider/esri.py
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* Update pygeoapi/provider/esri.py
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* Update pygeoapi/provider/esri.py
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* Update pygeoapi/provider/esri.py
* Update ogcapi-features.rst
---------
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit d240a8210e0ea35540030152529892dd70651aa2
Author: Leo Ghignone <leo.ghignone@utas.edu.au>
Date: Mon Sep 30 19:40:31 2024 +1000
Improvements for xarray provider (#1800)
* Manage non-cf-compliant time dimension
* Manage datasets without a time dimension
* Allow reversed slices also for axes
* Convert also metadata to float64 for json output
* Use named temporary file to enable netcdf4 engine
* Make float64 conversion faster
* Add netcdf output to xarray provider
* Flake8 fixes
* Fix bug when no time axis in data
* Use new xarray interface
* Add test for zarr dataset without time dimension
* Avoid errors if missing long_name
* Manage zarr and netcdf output in the same way
* Revert "Manage zarr and netcdf output in the same way"
This reverts commit 0b09281b608da95221951d05004f213379da168d.
* Revert "Add netcdf output to xarray provider"
This reverts commit 9f72bf7614775b418f53f4808fcaeab567c7024a.
commit 474cb60d823f1986d9d463bb17e1c661eb91ea5a
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Sep 29 12:07:24 2024 -0400
fix item queryables provider handling (#1820)
* fix queryables provider handling
* fix test
commit b3a70719a2f2de6f0327989cde533b17322a1bdc
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Fri Sep 27 20:39:45 2024 +0300
back to dev
commit 83ef1ac1743f5c62d2c73ca5dc5eae50d96173ea
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Fri Sep 27 20:15:05 2024 +0300
update release version
commit 6b91024aa53422e7377399100a6b04235ab96dc5
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Sep 26 19:23:18 2024 -0400
Zoom to first layer on EDR (#1819)
commit 52bec0fa8905c0ed03c9c810dc9f3c577211cd66
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Sep 21 14:19:43 2024 -0400
docs: update compliance for OGC API - Processes (#1817)
* Update compliance for OGC API - Processes
* Update introduction.rst
commit 76fd1304938f4b01e59b9d867bbb00840afd9f18
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Sat Sep 21 06:06:18 2024 +0300
Update Ubuntu Jammy docker base image to 20240911.1 (#1815)
commit 6682b44928d36e19d54a8edadbe39cc40ca0991a
Author: Sarah Jordan <smjordan329@gmail.com>
Date: Thu Sep 12 11:22:25 2024 -0500
CRS handling in xarray provider properties (#1641)
* update crs handling
* fix epsg code
* config parsing, lean on pyproj
* consolidate code and leverage prior crs work
* update crs handling
* fix epsg code
* config parsing, lean on pyproj
* consolidate code and leverage prior crs work
* fix function call
* bug and flake8 fixes
* documentation updates
* flake8
* Update ogcapi-coverages.rst
* update crs handling
* fix epsg code
* config parsing, lean on pyproj
* consolidate code and leverage prior crs work
* update crs handling
* fix epsg code
* config parsing, lean on pyproj
* consolidate code and leverage prior crs work
* fix function call
* bug and flake8 fixes
* documentation updates
* flake8
* Update ogcapi-coverages.rst
* flake8 fix
* rebase issues
* update import formatting
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* update conditional logic
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* update error handling
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
* parse storage crs in init
---------
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
commit deb043f928076aa37b4bb7efbee114f9245c9b0c
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Thu Sep 12 13:37:11 2024 +0200
Jobs pagination (#1779)
* Add pagination for job list
Adds limit and offset parameter to `get_jobs`.
Process manager `get_jobs` now also returns the number of matched jobs
additionally to the jobs themselves so we can calculate whether we need
a next link.
Note that this is a breaking change.
* Add pagination support to jobs UI
This works exactly the same way as for itemtypes
* Add note regarding job sorting
* Formatting fixes
commit 0677c2e646a6eef43da2e5d9a7f88f6e76c91131
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Sep 11 15:29:40 2024 -0400
SensorThings API provider cleanup (#1807)
* Add support for ObservedProperties OAF and custom expand of entities
* Update sensorthings.py
* Respond to feedback
* Use `pygeoapi.get_config` for SensorThings Intralinking
commit 28618034b8ce05730b2adeb5023554b7e8c03dce
Author: Simon Seyock <8100558+simonseyock@users.noreply.github.com>
Date: Wed Sep 11 18:24:26 2024 +0200
feat: add version parameter to WMSFacade provider (#1806)
commit 6ad14a6d54c6b0d913ea701439f203f16c85ff31
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Sep 9 12:02:33 2024 -0400
drop unicodecsv package (#1805)
* remove unicodecsv (#1804)
* add test
commit 1429a81887095ede715eab3e2e831a3992371a97
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Aug 22 16:59:10 2024 -0800
Always use MarkerCluster to display items (#1799)
For a FeatureCollection of mixed geometry types Marker Cluster is able to put all features on the map and make clusters for all Point features
commit 15be1dcd4fc533250dfa691fd01314a01fe8d351
Author: James Varndell <36902610+JamesVarndell@users.noreply.github.com>
Date: Thu Aug 22 03:15:29 2024 +0100
OGC API - Coverages: Propagate selected fields into covjson conversion (#1788)
* Propagate selected fields into covjson conversion
* Update xarray_.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 33b4ff73a43cdfa2244ccd6a7ca9d76a7de7f2dc
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Aug 21 16:23:11 2024 -0800
Display numberMatched in HTML view (#1797)
* Display numberMatched in HTML view
* Fix display on no numberMatched
* Amend based on feedback
commit 7a3d8a824e47990cfe1e4c4b01458f8d2ff49494
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Aug 21 02:47:09 2024 -0800
Check if query is implemented before validating params (#1796)
* Check if query is implemented before validating params
* fix flake8
commit 067b1587b91d47108efc1d7efbc26faba389561e
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Aug 20 02:42:11 2024 -0800
Skip resources with no providers in STA intralink (#1793)
commit 08876b5843d1e0f4245b8ead761d7e341f0c7799
Author: PascalLike <antonio.cerciello@gmail.com>
Date: Tue Aug 20 12:41:12 2024 +0200
Fix indentation in yaml example (#1794)
commit 7e734348dadba0cce5cb0dfb5e941645771ebd95
Author: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com>
Date: Mon Aug 19 14:17:13 2024 +0200
Extra params fixes #1667 (#1673)
* Added changes for extra_params to itemtypes, oracle provider and the according tests.
* Add extra params to properties
Oracle provider still needs to be adapted to this change
* Adapt oracle provider for new extra params behavior
* Fix logging calls for additional properties
* Remove trailing comma
* Fix grammar in test message
* Use f-string instead of plus for string manipulation
---------
Co-authored-by: Bernhard Mallinger <bernhard.mallinger@eox.at>
commit 44c589c1a41e97bc01a3435e74d00c2231ec2220
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Aug 19 06:55:53 2024 -0400
fix CI (#1791)
* fix CI
* fix
* remove elasticsearch upgrade in CI
commit 54b9be44638864f28dab5824d280f8804ad183c5
Author: Leo Ghignone <leo.ghignone@gmail.com>
Date: Mon Aug 19 12:39:53 2024 +1000
Pyarrow parquet provider (#1722)
* Pyarrow parquet provider
* Defer crs management to pygeoapi
* Add parquet provider docs
* Fix flake8 errors
* Remove extra .parquet
* Address reviews
commit bc1e8a6566c24e99644fbbf8591d591029efb479
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Aug 16 22:27:40 2024 -0400
do not echo query parameter values on exceptions (#1789) (#1790)
commit 7d1028cf114fbcde987f688af3b00a61bcfd36f8
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Aug 15 16:45:33 2024 -0400
Show map on all CovJSON data (#1786)
* Show map on all CovJSON data
* Show map on all CovJSON data
* Update query.html
commit 501bc6e839e49544542a79eede7556b77ec93274
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Aug 15 12:18:25 2024 -0400
Center pygeoapi footer (#1785)
* Center pygeoapi footer and stick to bottom of window
* Revert sticky bottom for the footer
commit 4e77d75ea37584c5763376f38ba13b309080fc22
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Aug 15 12:15:31 2024 -0400
Remove extra parameters from OAS-EDR for locations (#1776)
* Remove extra parameters from OAS-EDR for locations
* Revert "Remove extra parameters from OAS-EDR for locations"
This reverts commit cd84a3ce5ebdaea0e8b90f20f2ec63bb027d10c7.
commit 60bd40385e5e83673c80b70f0878e89a75b6af72
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Aug 15 12:06:36 2024 -0400
Add C3 plotting to EDR HTML view (#1784)
* Add C3 plotting to EDR HTML view
* Remove unused function
commit 2a131c51311ad8c00bad475675abcb5cb3709fdc
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Aug 13 11:12:44 2024 -0400
update docstrings for base provider fields functionality (#1783)
* update docstrings for base provider fields functionality
* fix flake8
commit 71ce03e5486221389b3d133adf2b89f4e9121e39
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Aug 13 10:55:17 2024 -0400
Add validation check to EDR query registration (#1774)
* Add validation check to EDR query registration
* Fix flake8
* fix edr query types
commit c1b90dc3acaa2534ae8997dc64ce4c477eef3fc8
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Aug 9 09:56:02 2024 -0400
update basemap URL across all configurations (#1777) (#1778)
* update basemap URL across all configurations (#1777)
* update basemap URL across all configurations (#1777)
commit 9ad870622352ba798426e40c5cf0c6d344111047
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Aug 6 06:03:27 2024 -0400
fix item id breadcrumb (#1772)
commit d4063f360e156dae4a0f8d8e399b8a0e5059632c
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Aug 6 06:03:00 2024 -0400
fix EDR HTML breadcrumbs (#1764)
* fix EDR HTML breadcrumbs
* add translations
* do not include CoverageJSON to format types
* set JSON-LD link for HTML templating
* add Locations and Instances to translations
commit 4b28de6d42aa125dfe0ee2c546976821bf08c877
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Aug 5 08:13:44 2024 -0400
fix breadcrumbs again (follow on of #1769) (#1770)
commit 491ceaff48caeed0e5533d7df37140b3cce9bba8
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Aug 2 09:07:47 2024 -0400
fix collection breadcrumbs on queryables and schemas HTML Jinja2 templates (#1769)
commit d1dfa179b32d69c024dda75c97a741f1ca6b7f52
Author: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com>
Date: Wed Jul 31 17:04:02 2024 +0200
Add Wallet for Session pool connections in oracle.py (#1768)
* Added Wallet to Connection Pool
* Flake8 changes
* Flake8 changes
* Feedback from Pull Request
* Flake8
commit a806f89a313f6ed07ee33171f746876b29df1697
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Jul 27 07:50:17 2024 -0400
add installation note about Python version support (#1644) (#1760)
commit 0a7bb7f5f497c5f00a0439614cf299054c7eeabe
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jul 25 14:13:20 2024 -0400
fix various deprecation warnings (#1761)
commit b712cb2695d35064835bfbd4fdf9b60663a0f759
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Thu Jul 25 14:06:51 2024 -0400
Fix typo in docs (#1762)
* Fix typo in docs
* Fix doc x/y fields
commit b8dcf6a8855b20870c4859b76e94bd0562786106
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Thu Jul 25 18:20:08 2024 +0200
Fixed typo (#1763)
commit 86390a6f12ff51f6b3f0947a82e14bca1166c7ac
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 21:27:04 2024 -0400
OAProc: fix response: document encoding for results (#1579) (#1759)
commit b2a8e0678d95969feab2118cc2467bbffde5f94b
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 18:26:00 2024 -0400
safeguard OpenAPI detection on startup (#1650) (#1758)
commit 3adfdb2341fe70e790011dfe3bdc9de63e777820
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Wed Jul 24 18:25:23 2024 -0400
Describe required collection level metadata about EDR Queries (#1744)
* Add data_queries to describe EDR Queries
* Fix flake8
* Use covjson media type
* Update pygeoapi-config-0.x.yml
Update schema definition to match https://schemas.opengis.net/ogcapi/edr/1.1/openapi/schemas/collections/extent.yaml
* Add data_queries to describe EDR Queries
* Fix flake8
* Use covjson media type
* Update pygeoapi-config-0.x.yml
Update schema definition to match https://schemas.opengis.net/ogcapi/edr/1.1/openapi/schemas/collections/extent.yaml
* Enable query type registration
* Update base_edr.py
* Add GeoJSON as a valid response type
* Preserve query_types as list
* Revert changes to min required by EDR spec
commit 6c538ca33008bcf618597a96dbe930f0525c7be4
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 16:11:44 2024 -0400
raise error for collections without queryables (#1757)
commit af8483a25b8c680b662dfe45fde14d7ae0fc4842
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 14:58:27 2024 -0400
OAProc: handle binary data when response: document (#1285) (#1756)
commit 0281732c5c1a04d6f698223f62d83697e6bd0ea6
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 11:08:15 2024 -0400
add CORS expose headers setting (#1689) (#1755)
commit 7bb7b380160b541f718fbabd1f1a9b66ac4affdf
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 24 08:56:50 2024 -0400
fix pagination for features/records (#1658) (#1754)
* fix pagination for features/records (#1658)
* remove given tests already existing
commit d600f552145a2388189140ee1b707a48949d7906
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Wed Jul 24 12:12:43 2024 +0200
Update test_postgresql_manager.py (#1751)
* Update test_postgresql_manager.py
Test issue #1750 is fixed
* Update test_postgresql_manager.py
* Update test_postgresql_manager.py
* Update postgresql.py
* Update requirements-manager.txt
* Update postgresql.py
* Update test_postgresql_manager.py
* Update test_postgresql_manager.py
* Update test_postgresql_manager.py
* Update postgresql.py
Initialization problem with search path in case of exception.
* Update requirements-manager.txt
commit bbb5035508e8c0aae1a793dc47e358b1fab85563
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Jul 22 18:06:23 2024 -0400
Render covjson and geojson in EDR HTML view (#1749)
commit 31480af845dd770b22f2e5616f7fd1f67b65938a
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Jul 22 17:58:06 2024 -0400
Use consistent get_field ref in providers (#1727)
* Use consistent get_field ref in providers
* Fix flake8
* Update remaining providers
* Fix recursive call
* Fix recursive call
* Fix tinydb_.py
* Refresh TinyDB catalog fields
* s/self.fields_/self._fields/g
* Update BaseProvider.fields based on feedback
* Fix flake8
commit e2676bdc56770237af9052c410269c69e2d50f45
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Mon Jul 22 22:59:11 2024 +0200
Document PostgreSQL process manager (#1746)
* Document PostgreSQL process manager
* Update ogcapi-processes.rst
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit f55aa875c25b895dbccca909d9bef83f3cf8065b
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Mon Jul 22 16:52:42 2024 -0400
Remove spatial parameter from OAS for single location (#1747)
commit b6c00b0cff1397c23f3945bdd7c6146bd49aa493
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jul 21 16:39:08 2024 -0400
update CITE setup (#1728) (#1731)
commit 274646b6ae538467f8709e20f663b8b289acc345
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Sun Jul 21 11:05:56 2024 -0400
Add TRS to pygeoapi config schema (#1743)
* Add TRS to pygeoapi config schema
* Update configuration.rst
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit a000fe558fa5638d5b502e65eab9005644dcb97b
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Jul 20 07:19:08 2024 -0400
port PostgreSQL process manager to SQLAlchemy (#1745)
commit 298f069ffa4a2fd1c837441ded6e656317afc941
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Jul 19 12:34:58 2024 -0400
update jobs endpoint link title (#1739) (#1742)
commit 9d53f1b8f74727db6648ac63f48c2749b1e1040d
Author: Paul Tomasula <31142705+ptomasula@users.noreply.github.com>
Date: Fri Jul 19 12:12:57 2024 -0400
Fix for Starlette CORS (#1741)
* Fix for Starlette CORS
The Starlette app with setting cors=true enables all origins, but only permits requests with the GET method. The CORSMiddleware for Starlette requires specifying `allow_methods=['*']` to enable all common request methods.
* Add noqa to break line break
This line was flagged by flake 8 for being 81 characters. I think that this line it more readable as is rather than splitting up into multiple lines.
* Revise indentation on CORS middleware
commit 05a7de433d6f73fe5b8d8c69d9deeb62032993be
Author: pgValero <67552686+pgValero@users.noreply.github.com>
Date: Fri Jul 19 15:14:10 2024 +0200
Update setup.py to restrict python version >= 3.9 (#1725)
* Update setup.py
Release 0.17.0 is incompatible with Python < 3.8
"python_requires" added to only install this version with python >= 3.9
* Update setup.py
commit c322d3fb40d53eb332cca89f5f42057dc206fd1c
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Fri Jul 19 15:10:21 2024 +0200
Release Process Manager backed by Postgresql (#1730)
* Release Process Manager backed by Postgresql
* Update postgresdb_.py
* Changes as for Tom comment on 16.7
* Update postgresql.py
* Included further Tom suggestions
* Renamed Manager requirements file
* renamed table job_info -> jobs
* Update postgres_manager_full_structure.backup.sql
* Update postgresql.py
* Update requirements-manager.txt
Accepted @Tom requirement.
I found the issue about compiling psycopg2:
it was a bug in my configuration.
* Modified to adhere to CI
* Update postgresql.py
---------
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
commit e91f051ea06507c41e3e3e2ef807b9e59027bae5
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Fri Jul 19 12:00:59 2024 +0200
Update processes.py (#1738)
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
commit 510875027e8483ce2916e7cf315fb6a7f6105807
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 17 10:13:17 2024 -0400
EDR: add HTML table of parameters for collections with EDR support (#1733) (#1736)
commit 3d81115b1cc3208a52b83a9613ad34694e7a8d68
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Jul 16 13:27:06 2024 -0400
Allow setting docker repository via repository secret (#1734)
commit 0be6de01b84d146b69c91cae5284e99c87daf327
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Jul 16 12:51:03 2024 -0400
Update default docker bbox extents (#1732)
commit 533151831cac3790de0c478a9e009a6ec517dc1c
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Tue Jul 16 12:42:33 2024 -0400
Add CRS transform to remaining providers (#1729)
* Add CRS transform to remaining providers
* Update tinydb_.py
---------
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit d9adbbd817cc8651cc8f9e56ca096c63921d8ff2
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jul 16 11:40:50 2024 -0400
add support for TinyDB feature provider (#1724)
* add support for TinyDB as a feature provider (#1723)
* add tests
* update CITE setup
* add/update docs
* update sample CITE config
* update copyright year
* reorder imports
* fix formatting
* delineate features/records via overloading
* remove now unused test data
* move CITE data to tests/data
* fix ref
* remove HYDAT from GitHub Actions
* remove print statement
commit e8ce02167fd670bb515f8216d699a3e9abca21d4
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jul 15 21:17:51 2024 -0400
OAProc: fix response type on delete_job (#1721) (#1726)
commit 0169e433297f6e5a6c630e3937e3d5b43515d1cc
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Fri Jul 12 11:45:24 2024 +0200
Update test_tinydb_manager_for_parallel_requests.py (#1720)
* Update test_tinydb_manager_for_parallel_requests.py
Updated the call to execute_process
and now checks the expected number of process results are present.
* Update test_tinydb_manager_for_parallel_requests.py
---------
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 6d4237a7f6a5ae62f9004807c169966ce88dfb0f
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jul 9 01:01:35 2024 -0400
use identification.url as about link on landing page (#1716)
commit 5e48308ba22545c81f14bd27a023dec95b990eda
Author: Colton Loftus <70598503+C-Loftus@users.noreply.github.com>
Date: Mon Jul 8 02:47:20 2024 -0400
Fix typo in ogcapi-processes.rst (#1715)
commit b30465c14706e777ac5599ba3442b25372b39cf4
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Jul 6 15:15:03 2024 -0400
OAProc: test hello-world process evaluation of None and empty dict (#1714)
commit f6c33d7a3c08f92ab72927ab444671c46de7eca9
Author: Piotr Zaborowski <pzb@bixbite.eu>
Date: Fri Jul 5 12:17:34 2024 +0200
EDR generic layers UI (#1713)
default template supports only SST parameter, this change allow to present any property and several at once.
commit afd29f28d87eb6bd3cedef73babb07d392e97bb5
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri Jul 5 05:38:38 2024 -0400
docs: add section on security (#1712)
commit 11b9480204cfac3da80cd05f1b10b1b6b305ff26
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Thu Jul 4 11:50:48 2024 +0300
switch back to dev
commit 2575c03aa50d3605f49f0721f828fb2cec92dad7
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Thu Jul 4 11:29:45 2024 +0300
update release version
commit e39e7232a08c147af6c50a2946ee737ee14de3c6
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Date: Thu Jul 4 11:16:15 2024 +0300
Upgrade docker base image for CVE-2024-6387 (#1711)
commit 0af1df9a6278b85ef9cfbc8f6d381532eb43f0c5
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jul 4 04:15:12 2024 -0400
fix CSV provider paging (#1703) (#1710)
* fix CSV provider paging (#1703)
* update tests
commit 2b00cf2eafe059782d58add49cb8661216556084
Author: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Thu Jul 4 08:53:28 2024 +0200
Disable generic format check for collection_coverage (#1705)
* Disable generic format check for collection_coverage
This view can and must handle custom format
* Remove trailing comma
commit bcc5b79c9fbb6e0f3e94bab2d725353aaaf184cd
Author: Colton Loftus <70598503+C-Loftus@users.noreply.github.com>
Date: Thu Jul 4 02:21:16 2024 -0400
Fix bullet points in docs (#1709)
commit cd066a0ab2dbb531308e154b711560b820878dd4
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 3 11:50:29 2024 -0400
add Spanish translations (#1707)
commit d5bf314288f68a1739d9ee0cbbc82b5ff195ab90
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jul 3 11:38:28 2024 -0400
update translation labels (#1704) (#1706)
* update translation labels (#1704)
* fix
commit cbab803c0da0c5cd4c02090bb8c5c89950372283
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Tue Jul 2 08:28:13 2024 +0200
Fix typos (#1701)
commit db0dc5053db122c574ef7131e975e032ea03c20e
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Fri Jun 28 12:15:26 2024 +0200
Fix 'proceses' typo (#1699)
commit accb8199db12b0746173b6e9a3356075a3d40125
Author: Vincent Privat <146961743+vprivat-ads@users.noreply.github.com>
Date: Fri Jun 28 12:12:06 2024 +0200
Add missing backslash in documentation (#1700)
commit 47f529361e456274e7d9c6353d25c7598080904e
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jun 27 08:30:58 2024 -0400
PostgreSQL: support numeric types (#1695) (#1696)
* PostgreSQL: support numeric types (#1695)
* improve string format error
* add tests/test data
* remove unused test data
commit 7a7ee09577268e1804b3e1a347426d19dde3436b
Merge: 722f846 61bc84c
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jun 27 06:01:17 2024 -0400
Merge pull request #1697 from geopython/tomkralidis-patch-1
fix items collection link href
commit 61bc84c532f08bffca07f28103cf00f9b4f24172
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Wed Jun 26 22:13:30 2024 -0400
fix items collection link href
commit 722f846b64ed4ed361afd1bd3a24653b091bd8af
Merge: d36ee2a b19960b
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 20:51:49 2024 -0400
Merge pull request #1694 from Boren/uuid-id
Support UUID serialization
commit b19960bdf5d359224f79799eae76a2eb60849494
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 19:22:23 2024 -0400
reorder imports
commit d36ee2af86734326a7ba2ba0958e8f6d8b5534ed
Merge: c607be7 3790b45
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 12:48:53 2024 -0400
Merge pull request #1692 from geopython/item-schema-format
add support for item schema string format (#1691)
commit 5a7cf637550cc4c2ddfdb426e2b54f8014e3a67a
Author: Fredrik Bore <fredrik.bore@kartverket.no>
Date: Mon Jun 24 13:37:29 2024 +0200
Tests
commit e7050b633db24738ac1dae5036e2c225f2038046
Author: Fredrik Bore <fredrik.bore@kartverket.no>
Date: Mon Jun 24 13:16:58 2024 +0200
Support using UUID as id
commit 3790b45b90a2868aadeb229cd815f2ac85714770
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 07:20:39 2024 -0400
fix ref
commit b14baafd0c2aba640a3b6a213b11f0d732561a13
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 06:47:32 2024 -0400
fix OpenAPI
commit 0ee956bc0c7edac0a2647ed985b7daaa0a3ca21e
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Mon Jun 24 06:29:17 2024 -0400
docs: update as Reference Implementation for OGC API - Tiles
commit dd1658f68f3a032f787c0dc1e3619860b6555472
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jun 23 12:34:29 2024 -0400
update tests
commit 58fd68cf965810e5b9f7c3f377185f25c857305d
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sun Jun 23 12:11:36 2024 -0400
add support for item schema string format (#1691)
commit c607be7ed2a35fe2bc9b2718dc70c2b028a38ae8
Author: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com>
Date: Fri Jun 21 13:15:34 2024 +0200
Oracle Connection Pooling implementation of issues/1655 (#1688)
* Implemented Connection Pooling
First part of collection pooling, improve by making pool size and other params configurable in YAML file of pygeoapi
* updated session pooling with more robust creation of dsn
* Further changes for releasing connections
* further little tweaks
* Added Thread Lock and building of DSN
* Session Pooling now only happens when ENV VAR ORACLE_POOL_MIN and ORACLE_POOL_MAX are set. Else usual behaviour is restored and single connections are opened and closed. Added a Lock for avoiding race conditions and threat safety.
* Flake8 changes
* More Flake8
* Added integer type to env variables
* Added Tests for Session Pooling
* Flake 8 changes for tests
* More Flake8 fun
* Fixed typo for env vars
* Fixed typo for env var and added noqa for variables
* More Typos
* More Flake8
* Added documentation to the oracle section for session pooling
* Review and Feedback with @totycro
* Update oracle.py
Added Author
* Added feedback from review
---------
Co-authored-by: root <root@els01entw.ama.at>
Co-authored-by: xlanger <moritz.langer@ama.gv.at>
commit fef8df120ec52121236be0c07022490803a47b92
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jun 18 17:37:19 2024 -0400
add translation markers (#1681) (#1687)
commit 7aca472b4f4093f93633fa077d16abc6df050237
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue Jun 18 17:36:49 2024 -0400
fix Django routes (#1685) (#1686)
commit 9394790a09c21a80be954035323608c5bd3b8f1e
Author: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
Date: Fri Jun 14 10:33:39 2024 -0400
Update main.yml (#1683)
commit 7218d95feb5e003f0b270648ca996ce9f9d53f72
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Fri Jun 14 13:35:50 2024 +0200
1676 Manager pass job_id to processor (#1680)
* Allow the processor to know the process_id
Solve issue #1676
* Update base.py
* Cleared blanc lines
* Added set_job_id() function description
* Update base.py
* Update base.py
---------
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
commit 50ad801acbce605a33534ac27ae456798fbe10be
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Jun 13 09:37:42 2024 -0400
support lists as output (#1674) (#1675)
commit eb321aa2761b565a68dd3418142de447343a645a
Author: Pascal Bourgault <bourgault.pascal@ouranos.ca>
Date: Mon Jun 10 08:32:17 2024 -0400
Add job before returning any response (#1672)
commit e32ac85eeb188516d71ceb7765f8867a810bf20a
Author: 8luewater <62834192+8luewater@users.noreply.github.com>
Date: Fri May 31 04:50:34 2024 +1000
Oracle: add pagination (#1669)
* version-pinned oracledb in requirements.txt
* return numberMatched to fix Oracle pagination on Items page level
* version-pinned oracledb in requirements-provider.txt
* Update requirements-provider.txt unpinned oracledb
---------
Co-authored-by: Sayaka Sandin <Sayaka.Sandin@ga.gov.au>
commit 01e1b6bcd85bee6498bcaf05937220f20bef3405
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri May 17 03:24:41 2024 -0400
CI: split docs into separate GitHub Action (#1660)
commit 6c31a8e371d10750f265357bab62b45bfa9abc8f
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Tue May 14 21:49:49 2024 -0400
docs: point to combined plugins and themes wiki page (#1659)
commit 51976acc3de28144dad1bda13509bda92ad04a69
Author: Ricardo Garcia Silva <ricardo.garcia.silva@gmail.com>
Date: Wed May 15 02:23:13 2024 +0100
Refactor postgresql provider to allow exposing cached engine and table models to other providers (#1643)
* refactored in order to allow other postgresql-based providers to make use of cached engine and table models
* Replaced lru_cache with cache
commit dcabbb956f31daac1742fd4964758607ace23912
Author: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com>
Date: Wed May 15 03:13:49 2024 +0200
fixed issue 1652 by removing the staticmethod decorators infront of function defintion (#1653)
commit 0b61464bb10da22840592de63d18c4476006179b
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Wed May 15 03:06:05 2024 +0200
Fix bug #1656 (#1657)
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
commit c4611b08dc07ac7a3d89e74584916c5573750448
Author: Paul van Genuchten <genuchten@yahoo.com>
Date: Wed May 15 03:04:28 2024 +0200
add map-layer to map (#1649)
commit fd928618569abca898967f992359cdbf678c476f
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Fri May 10 21:25:43 2024 -0400
EDR: fix parameter-name parameter (#1642) (#1647)
commit 737b1bdb1c1a3e5a8b71d77a6ac7bc8631e1d58b
Author: Jo <doublebyte@hushmail.com>
Date: Sat May 11 00:07:01 2024 +0200
Retrieve properties from elasticsearch on get tile request (#1646)
commit 6a6ec9cb9315e12492f9fb6350d0a78e9fcc1a2f
Author: francescoingv <9592487+francescoingv@users.noreply.github.com>
Date: Fri May 10 14:41:47 2024 +0200
Add support for parameter Outputs of OGC API Processes (#1602)
* Solve issue #1420
Add support for OGC API Processes Outputs
* Resolve Jan, 3 2024 totycro comments
* Solve issue 1420 with full backward compatibility for Processors.
* changed formattings
* Some additional formatting changes
* Update api.py
missing line in api
* Update base.py
To resolve conflict with #1603
* Update base.py
Added subscriber inline doc
* After Ricardo Silva comments on 13 Apr.
Included all the suggested changes on code format andparams name.
* Changed line length
* fixed trailing spaces.
* Update formatting base.py
* Update base.py
---------
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
commit 17080d88b0cc10bc8114d7373a43326da4cea163
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Sat Apr 20 03:56:36 2024 -0400
update Jinja HTML item template (#1634)
commit 3e14893e327a7f66eccf9f0f2d254f8fd3b688b2
Author: Tom Kralidis <tomkralidis@gmail.com>
Date: Thu Apr 18 11:36:21 2024 -0400
add striptags to properties rendering (#1631)
commit 66bbd8546374d67a5f7ee6492bbaacf2de375fa5
Author: Sarah Jordan <smjordan329@gmail.com>
Date: Mon Apr 15 19:01:42 2024 -0500
add cftime to requirements-provide…
glennlaughlin
added a commit
to glennlaughlin/pygeoapi
that referenced
this pull request
Jul 22, 2026
* Add SensorThings API EDR Provider (geopython#1928) * Port SensorthingsEDR provider * Fix flake8 * Respond to PR feedback * Implement PR feedback * Remove noqa lines Formate STA EDR provider such that it does not require #noqa to pass CI * Fix CoverageJSON capitalization * Fix pygeofilter reprojection tests (geopython#1940) * Fix reprojection geom * Update test_util.py * Add hot-reload option to docker entrypoint (geopython#1880) * Add hot-reload to entrypoint * Move gunicorn exec to bash function * Create WSGI_APP for gunicorn entrypoint Create WSGI_APP for gunicorn entrypoint with default value of `pygeoapi.flask_app:APP` * Respond to PR feedback * update Docker image links in docs (geopython#1944) * prevent HTML templating override persistence (geopython#1943) * prevent HTML templating override persistence * use self.tpl_config * Fix starlette get_admin (geopython#1946) * Fix Flask Admin with API rules (geopython#1945) * fix `KeyError: 'updated'` when jobs are started but haven't been updated yet (geopython#1947) [2025-02-28T12:42:14Z] {/usr/local/lib/python3.10/dist-packages/flask/app.py:875} ERROR - Exception on /jobs [GET] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 919, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/dist-packages/flask_cors/extension.py", line 194, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 917, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] File "/pygeoapi/pygeoapi/flask_app.py", line 425, in get_jobs return execute_from_flask(processes_api.get_jobs, request) File "/pygeoapi/pygeoapi/flask_app.py", line 148, in execute_from_flask headers, status, content = api_function(actual_api, api_request, *args) File "/pygeoapi/pygeoapi/api/processes.py", line 314, in get_jobs 'updated': job_['updated'] KeyError: 'updated' * - filtering collections by provider to create a fcm['tile'] that can be passed to Jinja (geopython#1950) - showing the TMS endpoints on the landing page, only when fcm['tile'] exists * Gracefully catch tile not found (geopython#1937) * Gracefully catch tile not found * Fix flake8 * Allow storage projections other than 4326 for Postgres Provider (geopython#1953) * Update postgresql.py * fix lint * Directly render EDR JSON in HTML (geopython#1955) * - gracefully catch missing tiles in wmts facade (geopython#1960) * Support GeoJSON-LD templating (geopython#1927) * Support JSON-LD template for items * Create `item_list.jsonld` template Create `item_list.jsonld` template to backport current /items json-ld content offerings * Reduce number of times templated geojsonld is serialized * Add test for linked_data.py * Use json serializer in test * Run test in CI * Add test for single item * Use single quotes * Fix flake8 * Use collection level template for GeoJSON-LD * Un-nest JSON-LD context from resource config * Respond to PR feedback * Update test_linked_data.py * Revert "Un-nest JSON-LD context from resource config" This reverts commit 5b371b2. * Update documentation * Include JSON-LD documents in manifest (geopython#1963) * Update openapi.py (geopython#1966) * Update openapi.py * fix indentation * fix flake * Fix 'type' member of the rel=http://www.opengis.net/def/rel/ogc/1.0/schema link (geopython#1968) According to Requirement 17 /req/returnables-and-receivables/op of OGC API Features Part 5, the media type shall be application/schema+json. * Fix conformance class URIs (geopython#1967) * Fix conformance class URIs Fix them to match table 2 of https://docs.ogc.org/is/17-069r4/17-069r4.html ( http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30) and https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/schemas/standard/clause_2_conformance.adoc (http://www.opengis.net/spec/{standard}/{m_n}/conf/core-roles-features) * Update itemtypes.py --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> * explicitly define init of BaseProvider (geopython#1972) XarrayEDRProvider was initializing XarrayProvider twice- once through the BaseEDRProvider due to MRO and once explicitly. this slowed down the initialization since the XarrayProvider was called twice (which causes all datasets to be lazy loaded twice). * handle PostgreSQL JSON types as JSON Schema objects (geopython#1975) * fix schema geometry definition (geopython#1938) (geopython#1976) * fix schema geometry definition (geopython#1938) * fix test * Return 204 for tiles that are within the tile matrix set limits (geopython#1959) * update release version * back to dev * Add missing parameters to BaseEDR docstring (geopython#1983) * Update copyright's year and fix spaces * Update pydantic syntax to v2 * Update missing copyright lines * Clean up spaces, tabs and indentations * Clean feature properties regarding resource setting for OGR provider (geopython#1986) * add support for feature/record domain queries (geopython#1988) * add support for feature/record domain queries * update parameter values based on OGC discussion * add ES test * OAProc: add Prefer header to OpenAPI document * fix WKT in test * Correct MVT tile indices when fetching tiles from providers + fix tile indices in MVT UI preview (geopython#1989) * Corrected tile indices in `MVTElasticProvider` when fetching tiles from Elastic - Elastic by default serves vector tiles in the `/z/x/y` index order * Correct tile indices in `MVTProxyProvider` when fetching tiles from the proxied Martin/pg_tileserv server - Both Martin and pg_tileserv by default serve tiles in the `/z/x/y` index order * Correct tile indices in `MVTTippecanoeProvider` when fetching tiles generated by Tippecanoe - Tippecanoe generates tiles in `z/x/y` index directory order * Fix incorrect tile index order in MVT tile HTML preview The wrong index order in the preview + using `/{z}/{y}/{x}` when fetching tiles from existing MVT providers made tiles visible on the pygeoapi UI, but external clients needed to use `/{z}/{x}/{y}` to fetch tiles, which is contrary to the OGC Tiles specification of `/{z}/{y}/{x}` This commit along with commits 5b8b179, 3f35fd3, c24cf56 fixes the issue * use mimetype instead of format_type in response header * Update OGC Features documentation - remove note about EPSG:4326 requirement for PostgreSQL provider - Related to PR geopython#1953, this just updates the documentation * Don't generate paging links if provider created them (geopython#1982) * Don't generate paging links if provider created them * Update itemtypes.py --------- Co-authored-by: Benjamin Webb <benjamin.miller.webb@gmail.com> * update CoverageJSON compliance (geopython#2012) * CoverageJSON: update compliance * remove extra None check * Add provider for MVT tile generation from Postgres (geopython#1979) * Initial commit for adding MVT Postgres provider - `/tiles` and `/tiles/{TMS}` APIs are working * Added get_tile method for MVT-postgres for on-the-fly tile generation - Supports properties - Supports both WebMercatorQuad, WorldCRS84Quad Co-authored-by: PRAJWAL S <praju18299@gmail.com> Co-authored-by: Tanvi Prasad <tanvi.prasad@datakaveri.org> * Added documentation for the MVTPostgresProvider class * Updates to MVT postgres provider - Fixed flake8 issues - Corrected tile indices in `ST_TileEnvelope` - Previous indices worked when tile URL was `/z/x/y`. Current ones work for `/z/y/x`, which is OGC-compliant - Used `ST_CurveToLine` when querying for features during tile generation to potentially speed up queries - Martin also uses it (https://maplibre.org/martin/sources-pg-functions.html#simple-function) - Used EWKT representation of `ST_MakeEnvelope(-180,-90,180,90,4326)` for WorldCRS84Quad tiles * Fix flake8 issues in `base_mvt.py` * Fix MVT-postgres documentation - fix example config * Changed name of MVT-postgres plugin to MVT-postgresql - Updated all necessary files to change postgres -> postgresql related to the plugin - Updated documentation - Added authors to plugin file and organized imports * MVT-postgresql : Add check if the indices are not in limits of the TMS, return ProviderTileNotFound error - Otherwise error was thrown from PostgreSQL `ST_MakeTileEnvelope` function * Fix flake8 errors --------- Co-authored-by: PRAJWAL S <praju18299@gmail.com> Co-authored-by: Tanvi Prasad <tanvi.prasad@datakaveri.org> * Add tests to BaseProvider class (geopython#2024) * Add tests to the base provider class * Fix flake8 * fix: use spec conform storage crs notation (geopython#2021) * typo (geopython#2034) * Allow unset crs (geopython#2031) * allow unset crs in the spirit of the comment on the above line https://github.com/geopython/pygeoapi/blob/75f87393365b17245d8dd6ba88196636f922b445/pygeoapi/provider/parquet.py#L127 , allow 'crs' to be unset and set default. * set the correct default CRS per the geoparquet standard * add test for parquet file with no crs in metadata * Update HTML templates to new limits structure (geopython#2036) * update OpenAPI document with configured collection limits (geopython#2037) * update OpenAPI document with configured collection limits * update OpenAPI document with configured collection limits * MySQL OAF provider (geopython#2004) * Mysql Provider (geopython#6) - mysql provider and associated tests - refactor postgres and mysql to use a shared base class that they both inherit from - handle geometry / encoding necessary to use mysql wity sqlalchemy --------- Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> * keep postgis instructions * Apply suggestions from code review Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> * Update pygeoapi/provider/sql.py Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> * Update pygeoapi/provider/sql.py Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> * Fix MVT_postgres import * Set default port for Postgres and MySQL provider * Add MySQL documentation * Fix typo --------- Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Co-authored-by: Benjamin Webb <benjamin.miller.webb@gmail.com> * Pre-pull docker images in CI (geopython#2035) Pre-pull docker images in CI Update main.yml * add support for custom logo/icon to default HTML (geopython#2038) * fix ref for icon/logo (geopython#2039) * Fix bbox crs for OAMaps (geopython#1999) * Fix bbox crs for wms_face - project the bbox in the API code, not the provider - add tests * fix flake8 (geopython#4) * fix quote syntax for old python versions to pass flake8 * Small stylistic changes --------- Co-authored-by: Benjamin Webb <benjamin.miller.webb@gmail.com> * Pydantic v1/2 compatibility (geopython#2014) * Update pydantic v1/2 compatibility * Fix flake8 and code styling * Handle Pydantic v1/v2 compatibility in openapi.py * OARec: update TinyDB record generator and sample data (geopython#2043) * OARec: update TinyDB record generator and sample data * nit: `pre-commit run --all-files` result (geopython#2044) * Added note about setuptools on the install section of the documentation (geopython#2041) * - Added note about setuptools on the install documentation * - updated instructions of setuptools to include external references * - small tweaks * add support to provider z_field for EDR queries with vertical level (geopython#2046) * Docs update to reflect other environmental variables available in the docker image (geopython#2047) * - Added information about other environmental variables that are available in the docker image * - added missing backticks * - capitalised Gunicorn and put link on the first reference. * - fixed backticks - added backticks to 4 --------- Co-authored-by: doublebyte1 <info@doublebyte.net> * Implement native SQL Alchemy MVT (geopython#2022) * Implement SQLAlchemy native MVT query Fix typo Rename base tile provider Fix Tile HTML highlighting Fix missing tile rename Update CRS conversion Change fallback for vector tile id Undo rename tile provider Reduce diff Cleanup mvt-postgres provider Re-add ST_CurveToLine geopython@97ba024 * Add ST_CurveToLine for output geom * Set id field for vector files * Add MVT Postgres Provider test Fix Flake8 * Fix indentation in MVT-Postgres docs * Fix get_metadata() - Fix get_metadata function - Add unit test for get_metadata * Fix MVT feature properties - Fix MVT field selection - Add test for vector tile properties * Fix flake8 * Add storage_crs information to docs * Add test_postgresql_mvt_provider to GitHub CI * Bump GitHub Action Postgis version Bump GitHub Postgis engine to >3 * Filter SQL connection options Prevent passing dict to SQL connection which throws an error because it cannot be cached * Use geoalchemy2 functions * Amend WorldCRS84Quad Tile bbox Align with WorldCRS84Quad spec using geopython#2042 * Support WorldCRS84Quad in default tile html Add minimal support stretching EPSG3857 TileLayer to EPSG4326. Really should be a CRS84 based layer like: L.tileLayer.wms("https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi", { layers: "BlueMarble_ShadedRelief_Bathymetry", attribution: "NASA GIBS", }) .addTo(map); * Fix PostgreSQL bbox query (geopython#2051) * Add test for PostgreSQL bbox * Fix PostgreSQL bbox query Prefer using `ST_Intersects` and specify the storage_crs when creating a SQL envelope * Do not share query_types between subclasses of BaseEDRProvider (geopython#2049) * Add test for shared edr query_type inheritance * Fix test_load_and_prepare_item_missing_geojson_parts * Auto-register subclasses EDR query types - Automatically register EDR query types - Ensure subclasses of `BaseEDRProvider` does not share query_types between instances of its subclass * update contributor guidelines and dev docs (geopython#2032) (geopython#2052) * update contributor guidelines (geopython#2032) * fix PR comments * fix typo * Proper handling of query parameter q with multiple search terms for TinyDB provider. (geopython#2053) * fix format (geopython#2057) * add bbox support for CSV and GeoJSON feature providers (geopython#2058) * add bbox support for CSV and GeoJSON providers * update API tests * updates based on OAFeat Req 24C * OARec: update ES q= support per Req 27 (geopython#2059) * Pydantic v1/2 compatibility for provider models (geopython#2056) * Pydantic v1/2 compatibility for provier models cc: @doublebyte1 * Update mvt.py * Update base.py --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> * safeguard shapely geometry (geopython#2061) * safeguard shapely geometry * safeguard * Implement q priority of request headers (geopython#1952) * Implement q priority sorting of requests * Update l10n.py Co-authored-by: Sander Schaminee <sander.schaminee@geocat.net> --------- Co-authored-by: Sander Schaminee <sander.schaminee@geocat.net> * Change default language to string, not list (geopython#2062) * docs: provider updates (geopython#2063) * check if time data is iterable, make list if not (geopython#2064) * ensure language .mo files are compiled in Docker image (geopython#2065) * Handle exceeding the limit gracefully (geopython#2067) * feat: Handle exceeding the limit gracefully Will now return a 400 to the user with info what the limit was that caused the error. * fix: fix test for evaluate_limit --------- Co-authored-by: Matt Aschmann <maschmann@igsftr116lwmas2.gs.doi.net> * Fix NaN values for JSON output (geopython#2068) * OATiles: remove popup and id_field (geopython#2066) * OATiles: remove popup for HTML templating and id_field * keep id_field in docs * make support for features/records extra query parameters configurable (geopython#2071) * make features/records extra query parameters configurable * remove debugging statement * set max_items for CITE demo * remove print statement * adjust comment * Update docker image to latest Ubuntu Jammy (geopython#2072) * update release version * back to dev * fix typo (geopython#2073) Co-authored-by: lindakladivova <l.kladivova@seznam.cz> * Documentation for extra_params for the oracle provider. (geopython#2075) * Added documentation for extra_params within the oracle provider * Referenced the necessity of include_extra_query_parameters true for the functioning of extra_params * Update ogcapi-features.rst --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> * EDR: safeguard typing on z query parameter (geopython#2076) * EDR: safeguard typing on z query parameter * fix ref * - moved function that checks the limits of the TMS to the base tile provider (geopython#2082) - check limits of TMS in wmts provider * add annotated example of process metadata (geopython#2081) (geopython#2084) * Ensure tile is within configured zoom (geopython#2083) * Ensure tile is within configured zoom * Clarify log message on invalid x/y/z value * Fix flake8 * Update test_postgresql_mvt_provider.py * Fix flake8 * move admin API tests into test/api (geopython#2086) * move admin API tests into test/api * move admin.py * Externalizing tilematrixsets to resources/tilematrixsets dir (geopython#2077) * externalizing tilematrixsets to resources/tilematrixsets dir * update tiles test - the number of matrices is different for OGC registry * suggestions from review applied --------- Co-authored-by: lindakladivova <l.kladivova@seznam.cz> * maintain order of PostgreSQL table columns (geopython#2078) (geopython#2085) * maintain order of PostgreSQL table columns (geopython#2078) * alias item dict, add docstring * Fix multiple SQL schema paths (geopython#2089) * Test for multiple schemas in search path * Search multiple schemas * Fix flake8 * housekeeping (tests, docs) (geopython#2091) * housekeeping (tests, docs) * fix ref * enable custom tile matrix sets (geopython#2074) (geopython#2092) * leverage custom tiling schemes in MVT tile providers * use tile schemes if exists * fix ref, docstrings/comments (thanks @lindakarlovska) * fix doc ref * First version of pt_BR translation, as described in docs (geopython#2087) * Make PyGeoAPI to run rootless (Tested in Openshift) (geopython#2088) * Allowed to modify PYGEOAPI_CONFIG and PYGEOAPI_OPENAPI envs on container start. * commented chmod command. This is useless on rootless container and could be switched back on root * Update entrypoint.sh Add condition to chmod python files when running pygeoapi as root * update docker env var information (geopython#2093) * Fix additional context inclusion (geopython#2095) * Update test_linked_data.py * Update linked_data.py * - added a paragraph about the pygeoapi HTML encoding on the template section of the documentation (geopython#2097) Co-authored-by: doublebyte1 <info@doublebyte.net> * Raise ProviderTileNotFoundError instead of returning (geopython#2101) * Raise provider error Fix typo that returned ProviderTileNotFoundError instead of raising it * Fix tests * Add support for CORS with Django (geopython#2090) * Add support for CORS with Django * Update settings.py per https://pypi.org/project/django-cors-headers/ * Do not remove id_field from properties (geopython#2100) * don't remove id property * Preserve id_field col in properties * Fix tests to include id_field in properties * Fix flake8 * Fix tests --------- Co-authored-by: Benjamin Webb <benjamin.miller.webb@gmail.com> * OAProc: return statusInfo object on async (geopython#2105) (geopython#2106) * OAProc: return statusInfo object on async (geopython#2105) * fix ref * Make sure 204 status responses have no body in accordance with HTTP spec (geopython#2094) * Fix provider no data error * fix flake8 * address feedback * fix gzip issue which adds a header and deviates from the spec * Add Russian translations (geopython#2108) * OpenAPI: add POST for items endpoints (geopython#2003) (geopython#2113) * run Dockerfile from Python venv and update to Ubuntu Noble (geopython#2107) * update noble distro in Dockerfile (geopython#2115) * add csrf_exempt in view.py (Django) (geopython#2119) * Fix error on the test_tilematrixsets test (geopython#2121) * - Make test_tilematrixsets search for tms in either position of the array * - fixed flake8 error --------- Co-authored-by: doublebyte1 <info@doublebyte.net> * Clarify OAProc configuration in docs (geopython#2127) * docs: rename publishing section (geopython#2128) * docs: rename publishing section * fix ref * add search controls for records-based items HTML (geopython#2130) * add search controls for records-based items HTML * add STAC API support (geopython#221) (geopython#2129) * update MapScript map provider output formats (geopython#2131) * update MapScript map provider output formats * fix syntax in docs * update STAC API documentation with conformance links (geopython#2132) Added links to STAC API conformance classes in documentation. * Catch EDR `AttributeError` errors more fine grained (geopython#2118) * fix EDR error handling * test commit * use is None and remove detail from error * change wording * make it on one linegs * remove typing * remove import * linked data: safeguard crs typing (geopython#2134) * OpenAPI: fix i10n for EDR descriptions (geopython#2137) (geopython#2139) * use ogcapi leaflet plugin, instead of wms (geopython#2145) * use ogcapi leaflet plugin, instead of wms * Refactor map link rendering in collection.html --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> * Fix missing types to core pygeoapi (geopython#2143) * Fix API types * Fix more signatures * Normalize CRS handling (geopython#2116) * Normalize CRS handling * Normalize storage_crs * Update crs.py * Cleanup * Use CrsTransformSpec for all CRS conversion * Create `get_transform_from_spec` * Add additional tests * Reduce diff * Revert transform_bbox changes * Update documentation * Update CRS docs * Update plugins.rst * Fix comment spacing in configuration docs * Incorporate PR review feedback * Small change to verbiage * Fix STAC API endpoints on Starlette (geopython#2153) Without the `await`, we get the following error: TypeError: 'coroutine' object is not callable * CI: remove pip3 global-option flags (geopython#2154) Remove global options from GDAL installation command. * update release version * back to dev * update process manager documentation (geopython#2155) (geopython#2156) * - replaced broken redoc link by working link (geopython#2163) Co-authored-by: doublebyte1 <info@doublebyte.net> * fix HTML tag in items HTML template (geopython#2178) * Fix WMTSFacade provider (geopython#2167) * Fix WMTSFacade provider 'style' query parameter is mandatory according to WMTS 1.0.0 standard. For backwards compatibility, empty string remains as default value. * Update wmts_style description for clarity Clarified wmts_style description in ogcapi-tiles.rst. --------- Co-authored-by: Jo <doublebyte@hushmail.com> * Fix datetime method deprecation (geopython#2182) Fix datetime method deprecation * Fix image builds for tags (geopython#2183) * Fix index error for empty sortby parameter (geopython#2185) * Fix error for CSV/GeoJSON provider when the bbox parameter has 6 coordinates (geopython#2187) * Fix error for CSV provider when the bbox parameter has 6 coordinates * Fix error for GeoJSON provider when the bbox parameter has 6 coordinates Fix error for GeoJSON provider when the bbox parameter has 6 coordinates * Add one more test for the CSW provider that uses the same function giving error * Docker: add env var to enable building OpenAPI document with invalid collections (geopython#2188) (geopython#2192) * Update ubuntu noble base image (geopython#2193) * add datetime representer and allow unicode characters (geopython#2191) * Fix urllib3 vulnerabilities CVE-2025-66418 CVE-2025-66471 (geopython#2194) * Fix urllib3 vulnerabilities CVE-2025-66418 CVE-2025-66471 * Fix urllib3 vulnerabilities CVE-2025-66418 CVE-2025-66471 * Update botocore version to unblock urllib3 version * Happy New Year! 🎉 * Fix config validation for OGC Processes connection field (geopython#2159) * fix validation issue * fix validation issue * Update formatting * Use returned links if found for HTML (geopython#1954) * Use JSON-LD link if found in HTML template * Use found link * Revert "Use found link" This reverts commit 36e1841. * Add CRS parameter support to EDR API (geopython#2170) * Add CRS parameter support to EDR API * Added EDR CRS support to the documentation * OAProc: fix/update statusInfo responses (geopython#2197) (geopython#2198) * fix support for custom formatters (geopython#1997) (geopython#2144) * fix support for custom formatters (geopython#1997) * fix typo * add formatters for EDR * add guidelines for AI based contributions (geopython#2199) * ES: fix property evaluation (geopython#2189) (geopython#2200) * set f= in next/prev links (geopython#2175) (geopython#2201) * Revert "add guidelines for AI based contributions (geopython#2199)" This reverts commit 92fdcb9. * Docs: update / centralize OGC Compliance links (geopython#2204) * OpenSearch: fix property evaluation (geopython#2189) (geopython#2202) * OpenSearch: fix property evaluation (geopython#2189) * fix refs * TinyDB: fix spatial queries against null geometries * fix test * update EDR and Maps to support MetOcean access and visualization workflows (geopython#2213) (geopython#2214) * update EDR and Maps to support MetOcean access and visualization workflows (geopython#2213) * add EDR plugin documentation (geopython#2162) * Fix admin with empty resources (geopython#2208) * Fix admin with empty resources * Update test_openapi.py * fix flake8 --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> * Docs: fix typos and clarify get_srid docstring (geopython#2219) * pin gunicorn (geopython#2221) (geopython#2222) * Update ESRI Provider (geopython#2225) - Allow for alternate id_field - Do native CRS conversion - Safe handle empty responses on get_fields * Cleanup xarray provider (geopython#2224) * Cleanup xarray provider * Respond to PR feedback * Fix xarray tests * HTML: set clear opacity if collection has a map (geopython#2226) * add support for OGC API Publish-Subscribe Workflow - Part 1: Core (geopython#2146) (geopython#2220) * add support for OGC API Publish-Subscribe Workflow - Part 1: Core (geopython#2146) * update docs * update docs * fix API deletion on not found items in backend * fix ref * fix docs * add AsyncAPI support * fix tests * add exception handling * update docs * fix AsyncAPI handling on Docker startup (geopython#2227) * Filtering Geospatial Data (geopython#2165) - filters out any non-geospatial data fields (i.e. crs, lat_bounds) - fixes the UI position query issue caused by attempting to query timeseries data on the crs field - still need to test compatibility with the builder * fix missing flake8 * Revert "fix missing flake8" This reverts commit e01111e. * Revert "Filtering Geospatial Data (geopython#2165)" This reverts commit e5d79cb. * move provider utils to pygeoapi.provider (geopython#2228) * OAProc: do not pretty print JSON results when document=raw (geopython#2212) (geopython#2230) * Implement OGC API - Processes, Requirement 25, for jobControlOptions async-execute only, and no user preference (Issue geopython#2231) (geopython#2232) * Implement OGC API - Processes, Requirement 25, for jobControlOptions async-execute only, and no user preference (Issue geopython#2231) * Minor fix --------- Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com> * EDR: add parameter description if exists (geopython#2233) (geopython#2234) * fix: add fix for slow full count in postgresql (geopython#2174) * feat: implement optional count for postgresql provider This work has been done to allow the result count to be enabled or disabled for the PostgreSQL provider. By disabling the count you can get improved performance on large datasets but on smaller datasets this is unlikely to have any affect. * fix: move count to base provider This work has been done to move count to the base provider. While doing this work I also added a debug log message to state when the count had been disabled in the SQL provider. Also, I removed some tests that were no longer needed after the introduction of the str2bool function, when getting the count value from the configuration file. * fix: convert string true to boolean * Fix to not mutating conformance class list (geopython#2239) * Fix to not mutating conformance class list * Fix flake8 * Move import and update copyright --------- Co-authored-by: Francesco Bartoli <francesco.bartoli@wfp.org> * OAProc: fix gzip compression on async process execution (geopython#2238) (geopython#2240) * OAProc: fix gzip encoding for async process execution (geopython#2238) * support literals for process execution responses * update tests * fix flake8 * update noble to 20260113 in Dockerfile (geopython#2246) Updated copyright year and base image version. * Update Docker API in main GitHub Action (geopython#2248) * fix form reset for records items HTML (geopython#2247) * add resolution/default to collection extents.temporal configuration (geopython#2260) (geopython#2261) * remove deprecated license and fix test cmdclass in setup.py (geopython#2262) * Support SQL connection string (geopython#2251) * Support SQL connection string Modify SQL provider logic to support connection string * Add test for MySQL * Fix flake8 * Remove pg8000 test * Add funcstrings * Synchronize Postgres manager * Update LOGGER statements * PubSub: add support for Kafka (geopython#2259) (geopython#2258) * Fix `transform_bbox` CRS types (geopython#2265) * Fix transform_bbox CRS types * manually fix formatting * manually fix formatting * prevent form fields from being submitted on form click/submit (geopython#2263) * enable skipping of errorneous collections in /collections (geopython#2267) * OAProc: derive process execution mode OpenAPI prefer option from process metadata (geopython#2272) * Use the latest Ubuntu Noble base image (geopython#2275) * update release version * back to dev * update Security Policy (geopython#2277) * update security policy * update security policy * fix openapi generate example in docs (geopython#2276) (geopython#2278) * OAProc: derive jobControlOptions and outputTransmission from plugin (geopython#2257) (geopython#2274) * Geoparquet 1.1 spec compliance update (geopython#2271) * working with geoparquet * tests * flake8 * single quotes * tweak single quptes * tweak single quotes * fix typo * revert log message * single quotes * remove dupe log * fix flake8 * fix failing test * response to feedback * OAProc: safeguard link rel check (geopython#2282) (geopython#2283) * OAProc: safeguard link rel check (geopython#2282) * fix ref * update EDR parameter defs (geopython#2279) (geopython#2284) * Parquet batch configuration and documentation for spec updates (geopython#2281) * parquet documentation and batch configuration * single quotes * fix typo * Remove duplicated word (geopython#2286) * add sanitization to to_json output (geopython#2287) * Safely handle single feature SQL requests (geopython#2288) * Update test_mysql_provider.py * Update sql.py * Fix import order * Update sql.py Fix assertion fix flake8 * emit jobs endpoints only when manager supports async (geopython#2291) (geopython#2292) * emit jobs endpoints only when manager supports async (geopython#2291) * update tests * Pin trivy action version to v0.35.0 (geopython#2293) Pin trivy to a safe version before the incident GHSA-69fq-xp46-6x23 * add path to collection id for map (geopython#2294) * update TinyDB query builder (geopython#2296) * fix TinyDB query handling to use query builder * flake8 * rename base_edr instance functions (geopython#2298) (geopython#2299) * Fix CRS support on WMS Facade (geopython#2302) * - fixed support for crs 3857 on OGC API - Maps and WMS Facade provider * - updated maps documentation for the WMS facade provider * UI: prevent form element names from being passed on user click/search (geopython#2300) * WMS Facade updates (geopython#2303) * WMS Facade updates: - added unit test for wms facade - removed trailing comma - prevent errors with non existing keys * - fixed flak8 errors * - removed bbox validation * - removed invalid bbox test * - fixed flak8 * - fixed bug introduced in previous commit (geopython#2306) * - fixed bug introduced in previous commit * - fixed flake8 * Create test_csw_provider_live.py (geopython#2309) * Create csw_live * Fix flake8 * Fix to_json escape (geopython#2310) * Fix to_json escape * Fix flake8 * OAProc: ensure binary outputs are not UTF-8 decoded (geopython#2304) * OAProc: fix non JSON outputs (geopython#2311) * remove print statements * catch EDR instance queries in Starlette * fix boolean OpenAPI typing in HelloWorld process (geopython#2316) * STAC: secure resource pathing * OAProc: secure subscriber URLs in requests * Migrate to services approach for CI (geopython#2322) * Extend CSV Formatter functionality to CovJSON (geopython#2323) * Port geopython#1926 Port geopython#1926 with updates for CovJSON Formatting * Add CovJSON CSV Formatter * Update EDR Content Type * Add original tests back * Do not throw error on additional keys * Change x,y columns order to be at the start * Fix CI * Respond to PR feedback * docs: update documentation to describe formatters (geopython#2325) * Fix `Access-Control-Expose-Headers` for Flask (geopython#2329) * Fix Flask Expose Headers * add a test * switch to single quotes * Fix visibility hidden edge case (geopython#2330) * fix tiles LinkType type (geopython#2331) (geopython#2332) * Only display configured properties (geopython#2335) * Updates to the OGC API - Maps Support (geopython#2308) * - Introduced guardrails to ensure we dont go outside the limits of the WebMercator bbox - Support defaults for crs, bbox and bbox-crs * - support maps request, even when there are no spatial extents defined in conf * - removed failing tests in wms_facade provider * - fixed flake8 * - Make sure we only show the map preview, when the view is within bounds of the crs * - updated unit tests for the wms_facade provider * - Set input and output coordinates always treated as (x, y) regardless of the axis order defined in the CRS, only for OAM * - Reimplement the logic for default crs and bbox-crs in OAM, according to the Standard - fix typo in bbox-crs par * - updated default_crs code in wms_facade provider - fixed tests for wms_facade * - updated documentation - added Content-Crs and Content-Bbox to OAM * - fixed flake8 errors * - update crs84 code on wms_facade * - improve code readability of query arg * - put back missed transparency arg * - use DEFAULT_CRS from crs.py * - added another alias for crs84 * - put back preview of OAM, in extents greater than the world. * - fixed wms_facade test * - fixed flake8 errors * Implement optional count in Feature Providers (geopython#2215) * Implement optional count in Feature Providers * Revert collection entry * Add count for SQLite.GPKG * Update docs * fix job start / duration rendering (geopython#2328) (geopython#2338) * ensure OpenAPI document metadata supports i18n * remove extra .../maps datetime parameter * Use declarative SQLalchemy Job Table (geopython#2341) * Use declarative SQLalchemy Table Use declarative SQLAlchemy table and create if not present in the schema * Cache get_table_model * add translation support for data elements (geopython#2346) * add translation support for data elements * rename var * HTML: add safe bbox function for dateline crossing (geopython#2352) * EDR: emit data link JSON media type as CoverageJSON (geopython#2357) * Pass content CRS to formatters (geopython#2353) Use Query CRS * normalize CQL text support to CQL2 (geopython#2015) (geopython#2018) * normalize CQL text support to CQL2 (geopython#2015) * fix keyword varname * remove pygeofilter install from main * Pooling (geopython#2345) * Further Fixes for STAC Search (geopython#2340) * Fix STAC search endpoint reference This mistakenly used double slashes in the URL which would break the output. A single slash fixes this. Closes geopython#2354 * Assets should be dict, not list As specified in the STAC spec: https://stacspec.org/en/about/stac-spec/ assets are dicts, not lists. When missing, now they are initialized as the correct empty data structures. Closes geopython#2354 * Correctly initialize temporal instant Previously the `datetime` field was not used to initalize the temporal instant, causing it to be overridden by other approximations. This ensure that the initialization happens correctly, and the overrides only occur in cases when `datetime` is None. Closes geopython#2356 * Correct conformance class URLs (geopython#2360) * Correct conformance class URLs * Revert oas30 * Force a 404 code for tiles out of bounds (geopython#2365) * Create get_parameters in BaseEDRProvider (geopython#2367) * Migrate get_parameters to base_edr * Use get_parameters in xarray * Fix tests * Fix flake8 * Migrate as_list annotation * Improve CRS support in OAMaps (geopython#2358) * - added functions for parsing wms codes from uris and curies, and for transforming wms codes in uris * - fixed flake8 errors * - Remove list of pre-defined crs and enable parsing uris from safe and unsafe curies * - fixed flake8 errors * - updated unit test * - fixed flake8 error * - updated docs * - switched to accept CRS:84 (for compatibility with WMS) and not CRS84 * - capitalised curie and crs * - capitalised crs, curie - replaced "str" variable name by "crs" * - reordered library import * - refactored condition logic for performance and clarity - store strip results directly on variables, since we do not need the full qualified array. * - renamed get_crs_uri and get_crs_curie for consistency with other function names * - added type hints on function arguments * - fixed flake8 errors --------- Co-authored-by: doublebyte1 <info@doublebyte.net> * Small HTML improvements (geopython#2368) * Small improvements to EDR HTML * Conditionally create Data/Record collection sections * Mapscript catchup with changes in base class and crs (geopython#2380) * - catchup with changes in maps api * - Catchup with changes on function names * - removed reprojection of bbox, since that is now handled at the base class. * - fixed flake8 * - updated copyright notice * - simplified code * - update variable name to follow up convention * - updated missed variable name * Minor coverages improvements (geopython#2373) * Minor coverages improvements * Fix tests * Advertise Coverage at collection level HTML * Implement PR feedback * Remove queryables advertisement * Fix capitalization * Add trans * Rename coverage.html * coverages -> coverage * EDR: fix multilingual instance metadata and links (geopython#2389) * EDR: add instance link title (geopython#2390) * OGR: sanitize attribute filter values (geopython#2391) --------- Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Co-authored-by: Tom Kralidis <tomkralidis@gmail.com> Co-authored-by: JohannesSchnell <108523161+JohannesSchnell@users.noreply.github.com> Co-authored-by: Jo <doublebyte@hushmail.com> Co-authored-by: vvmruder <vvmruder@users.noreply.github.com> Co-authored-by: Even Rouault <even.rouault@spatialys.com> Co-authored-by: Sarah Jordan <smjordan329@gmail.com> Co-authored-by: Angelos Tzotsos <gcpp.kalxas@gmail.com> Co-authored-by: Francesco Bartoli <xbartolone@gmail.com> Co-authored-by: ThorodanBrom <bpr_95@hotmail.com> Co-authored-by: Joep Keijsers <joep.keijsers@geodan.nl> Co-authored-by: ThorodanBrom <bryan.robert@datakaveri.org> Co-authored-by: Mike Mahoney <mjmahoney@usgs.gov> Co-authored-by: Benjamin Webb <benjamin.miller.webb@gmail.com> Co-authored-by: PRAJWAL S <praju18299@gmail.com> Co-authored-by: Tanvi Prasad <tanvi.prasad@datakaveri.org> Co-authored-by: Francesco Bartoli <francesco.bartoli@geobeyond.it> Co-authored-by: Sebastian Frey <sebastianfrey@users.noreply.github.com> Co-authored-by: Daniel Sparing <daniel@sparing.nl> Co-authored-by: Colton Loftus <70598503+C-Loftus@users.noreply.github.com> Co-authored-by: doublebyte1 <info@doublebyte.net> Co-authored-by: Ville Mäkinen <ville.p.makinen@nls.fi> Co-authored-by: Jeff McKenna <jmckenna@gatewaygeomatics.com> Co-authored-by: Sander Schaminee <sander.schaminee@geocat.net> Co-authored-by: Matt Aschmann <matt.aschmann@gmail.com> Co-authored-by: Matt Aschmann <maschmann@igsftr116lwmas2.gs.doi.net> Co-authored-by: Seth G <sethg@geographika.co.uk> Co-authored-by: Linda Karlovska <49241681+lindakarlovska@users.noreply.github.com> Co-authored-by: lindakladivova <l.kladivova@seznam.cz> Co-authored-by: Moritz Langer <31667222+Moritz-Langer@users.noreply.github.com> Co-authored-by: Carlos Eduardo Miranda Mota <cmota.dev@gmail.com> Co-authored-by: David Blodgett <dblodgett@usgs.gov> Co-authored-by: Petr Tsymbarovich <petr@tsymbarovich.ru> Co-authored-by: IngenieroGeomatico <84268457+IngenieroGeomatico@users.noreply.github.com> Co-authored-by: Paul van Genuchten <genuchten@yahoo.com> Co-authored-by: Terence Tuhinanshu <terence@tuhinanshu.com> Co-authored-by: Théo Satabin <theo.satabin@ign.fr> Co-authored-by: Henri Kynsilehto <henri.kynsilehto@gmail.com> Co-authored-by: KatKatKateryna <89912278+KatKatKateryna@users.noreply.github.com> Co-authored-by: Niccolò Cantù <niccolocantu@gmail.com> Co-authored-by: Prince Mahar <74172630+Prinxeeee@users.noreply.github.com> Co-authored-by: Kieran Bartels <62659408+kieranbartels@users.noreply.github.com> Co-authored-by: francescoingv <9592487+francescoingv@users.noreply.github.com> Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com> Co-authored-by: Matthew Dear <160152917+mdearos@users.noreply.github.com> Co-authored-by: Francesco Bartoli <francesco.bartoli@wfp.org> Co-authored-by: KoalaGeo <eddlewis85@gmail.com> Co-authored-by: Terence Tuhinanshu <ttuhinanshu@element84.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Starlette incorrectly invokes the
get_configfunction instead of get_config_.Related Issue / discussion
Additional information
Dependency policy (RFC2)
Updates to public demo
Contributions and licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)