Commit Graph

1285 Commits

Author SHA1 Message Date
Benjamin Webb 7d1028cf11 Show map on all CovJSON data (#1786)
* Show map on all CovJSON data

* Show map on all CovJSON data

* Update query.html
2024-08-15 16:45:33 -04:00
Benjamin Webb 501bc6e839 Center pygeoapi footer (#1785)
* Center pygeoapi footer and stick to bottom of window

* Revert sticky bottom for the footer
2024-08-15 12:18:25 -04:00
Benjamin Webb 4e77d75ea3 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.
2024-08-15 12:15:31 -04:00
Benjamin Webb 60bd40385e Add C3 plotting to EDR HTML view (#1784)
* Add C3 plotting to EDR HTML view

* Remove unused function
2024-08-15 12:06:36 -04:00
Tom Kralidis 2a131c5131 update docstrings for base provider fields functionality (#1783)
* update docstrings for base provider fields functionality

* fix flake8
2024-08-13 11:12:44 -04:00
Benjamin Webb 71ce03e548 Add validation check to EDR query registration (#1774)
* Add validation check to EDR query registration

* Fix flake8

* fix edr query types
2024-08-13 10:55:17 -04:00
Tom Kralidis c1b90dc3ac update basemap URL across all configurations (#1777) (#1778)
* update basemap URL across all configurations (#1777)

* update basemap URL across all configurations (#1777)
2024-08-09 09:56:02 -04:00
Tom Kralidis 9ad8706223 fix item id breadcrumb (#1772) 2024-08-06 06:03:27 -04:00
Tom Kralidis d4063f360e 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
2024-08-06 06:03:00 -04:00
Tom Kralidis 4b28de6d42 fix breadcrumbs again (follow on of #1769) (#1770) 2024-08-05 13:13:44 +01:00
Tom Kralidis 491ceaff48 fix collection breadcrumbs on queryables and schemas HTML Jinja2 templates (#1769) 2024-08-02 09:07:47 -04:00
Moritz Langer d1dfa179b3 Add Wallet for Session pool connections in oracle.py (#1768)
* Added Wallet to Connection Pool

* Flake8 changes

* Flake8 changes

* Feedback from Pull Request

* Flake8
2024-07-31 11:04:02 -04:00
Tom Kralidis a806f89a31 add installation note about Python version support (#1644) (#1760) 2024-07-27 07:50:17 -04:00
Tom Kralidis 0a7bb7f5f4 fix various deprecation warnings (#1761) 2024-07-25 14:13:20 -04:00
Benjamin Webb b712cb2695 Fix typo in docs (#1762)
* Fix typo in docs

* Fix doc x/y fields
2024-07-25 14:06:51 -04:00
francescoingv b8dcf6a885 Fixed typo (#1763) 2024-07-25 12:20:08 -04:00
Tom Kralidis 86390a6f12 OAProc: fix response: document encoding for results (#1579) (#1759) 2024-07-24 21:27:04 -04:00
Tom Kralidis b2a8e0678d safeguard OpenAPI detection on startup (#1650) (#1758) 2024-07-24 18:26:00 -04:00
Benjamin Webb 3adfdb2341 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
2024-07-24 18:25:23 -04:00
Tom Kralidis 6c538ca330 raise error for collections without queryables (#1757) 2024-07-24 16:11:44 -04:00
Tom Kralidis af8483a25b OAProc: handle binary data when response: document (#1285) (#1756) 2024-07-24 14:58:27 -04:00
Tom Kralidis 0281732c5c add CORS expose headers setting (#1689) (#1755) 2024-07-24 11:08:15 -04:00
Tom Kralidis 7bb7b38016 fix pagination for features/records (#1658) (#1754)
* fix pagination for features/records (#1658)

* remove given tests already existing
2024-07-24 08:56:50 -04:00
francescoingv d600f55214 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
2024-07-24 06:12:43 -04:00
Benjamin Webb bbb5035508 Render covjson and geojson in EDR HTML view (#1749) 2024-07-22 18:06:23 -04:00
Benjamin Webb 31480af845 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
2024-07-22 17:58:06 -04:00
Vincent Privat e2676bdc56 Document PostgreSQL process manager (#1746)
* Document PostgreSQL process manager

* Update ogcapi-processes.rst

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-22 16:59:11 -04:00
Benjamin Webb f55aa875c2 Remove spatial parameter from OAS for single location (#1747) 2024-07-22 16:52:42 -04:00
Tom Kralidis b6c00b0cff update CITE setup (#1728) (#1731) 2024-07-21 16:39:08 -04:00
Benjamin Webb 274646b6ae Add TRS to pygeoapi config schema (#1743)
* Add TRS to pygeoapi config schema

* Update configuration.rst

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-21 11:05:56 -04:00
Tom Kralidis a000fe558f port PostgreSQL process manager to SQLAlchemy (#1745) 2024-07-20 13:19:08 +02:00
Tom Kralidis 298f069ffa update jobs endpoint link title (#1739) (#1742) 2024-07-19 12:34:58 -04:00
Paul Tomasula 9d53f1b8f7 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
2024-07-19 18:12:57 +02:00
pgValero 05a7de433d 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
2024-07-19 09:14:10 -04:00
francescoingv c322d3fb40 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>
2024-07-19 09:10:21 -04:00
francescoingv e91f051ea0 Update processes.py (#1738)
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
2024-07-19 06:00:59 -04:00
Tom Kralidis 510875027e EDR: add HTML table of parameters for collections with EDR support (#1733) (#1736) 2024-07-17 10:13:17 -04:00
Benjamin Webb 3d81115b1c Allow setting docker repository via repository secret (#1734) 2024-07-16 13:27:06 -04:00
Benjamin Webb 0be6de01b8 Update default docker bbox extents (#1732) 2024-07-16 12:51:03 -04:00
Benjamin Webb 533151831c Add CRS transform to remaining providers (#1729)
* Add CRS transform to remaining providers

* Update tinydb_.py

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-16 12:42:33 -04:00
Tom Kralidis d9adbbd817 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
2024-07-16 11:40:50 -04:00
Tom Kralidis e8ce02167f OAProc: fix response type on delete_job (#1721) (#1726) 2024-07-15 21:17:51 -04:00
francescoingv 0169e43329 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>
2024-07-12 05:45:24 -04:00
Tom Kralidis 6d4237a7f6 use identification.url as about link on landing page (#1716) 2024-07-09 01:01:35 -04:00
Colton Loftus 5e48308ba2 Fix typo in ogcapi-processes.rst (#1715) 2024-07-08 02:47:20 -04:00
Tom Kralidis b30465c147 OAProc: test hello-world process evaluation of None and empty dict (#1714) 2024-07-06 15:15:03 -04:00
Piotr Zaborowski f6c33d7a3c EDR generic layers UI (#1713)
default template supports only SST parameter, this change allow to present any property and several at once.
2024-07-05 06:17:34 -04:00
Tom Kralidis afd29f28d8 docs: add section on security (#1712) 2024-07-05 11:38:38 +02:00
Angelos Tzotsos 11b9480204 switch back to dev 2024-07-04 11:50:48 +03:00
Angelos Tzotsos 2575c03aa5 update release version 2024-07-04 11:29:45 +03:00