Commit Graph

1314 Commits

Author SHA1 Message Date
Ricardo Garcia Silva 09423fb4be Lifted pin on sqlalchemy in order to be able to use v2+ (#1832) 2024-11-07 18:09:09 -05:00
Tom Kralidis e4beaf758e add service contact to OpenAPI (#1835) (#1839) 2024-11-04 05:37:51 -05:00
Tom Kralidis b6c38b66ee fix HEAD requests for items (#1836) (#1838) 2024-11-04 05:37:13 -05:00
Tom Kralidis d2f38dea07 Update FUNDING.yml 2024-11-03 11:21:32 -05:00
Leo Ghignone 3bdeefe4e7 Properly support int variables of any width (#1829) 2024-10-15 15:49:15 -04:00
Alex 179c90ff31 Fixes a memoryfile issue with rasterio. When using f=json, it doesn't need to use the MemoryFile. (#1824) 2024-10-03 09:21:05 -04:00
Colin Henderson e736fa3b2f 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>
2024-10-01 10:53:39 -04:00
Leo Ghignone d240a8210e 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.
2024-09-30 05:40:31 -04:00
Tom Kralidis 474cb60d82 fix item queryables provider handling (#1820)
* fix queryables provider handling

* fix test
2024-09-29 12:07:24 -04:00
Angelos Tzotsos b3a70719a2 back to dev 2024-09-27 20:39:45 +03:00
Angelos Tzotsos 83ef1ac174 update release version 2024-09-27 20:15:05 +03:00
Benjamin Webb 6b91024aa5 Zoom to first layer on EDR (#1819) 2024-09-26 19:23:18 -04:00
Tom Kralidis 52bec0fa89 docs: update compliance for OGC API - Processes (#1817)
* Update compliance for OGC API - Processes

* Update introduction.rst
2024-09-21 20:19:43 +02:00
Angelos Tzotsos 76fd130493 Update Ubuntu Jammy docker base image to 20240911.1 (#1815) 2024-09-20 23:06:18 -04:00
Sarah Jordan 6682b44928 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>
2024-09-12 12:22:25 -04:00
Bernhard Mallinger deb043f928 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
2024-09-12 07:37:11 -04:00
Benjamin Webb 0677c2e646 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
2024-09-11 15:29:40 -04:00
Simon Seyock 28618034b8 feat: add version parameter to WMSFacade provider (#1806) 2024-09-11 12:24:26 -04:00
Tom Kralidis 6ad14a6d54 drop unicodecsv package (#1805)
* remove unicodecsv (#1804)

* add test
2024-09-09 12:02:33 -04:00
Benjamin Webb 1429a81887 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
2024-08-22 20:59:10 -04:00
James Varndell 15be1dcd4f 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>
2024-08-21 22:15:29 -04:00
Benjamin Webb 33b4ff73a4 Display numberMatched in HTML view (#1797)
* Display numberMatched in HTML view

* Fix display on no numberMatched

* Amend based on feedback
2024-08-21 20:23:11 -04:00
Benjamin Webb 7a3d8a824e Check if query is implemented before validating params (#1796)
* Check if query is implemented before validating params

* fix flake8
2024-08-21 06:47:09 -04:00
Benjamin Webb 067b1587b9 Skip resources with no providers in STA intralink (#1793) 2024-08-20 06:42:11 -04:00
PascalLike 08876b5843 Fix indentation in yaml example (#1794) 2024-08-20 06:41:12 -04:00
Moritz Langer 7e734348da 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>
2024-08-19 08:17:13 -04:00
Tom Kralidis 44c589c1a4 fix CI (#1791)
* fix CI

* fix

* remove elasticsearch upgrade in CI
2024-08-19 06:55:53 -04:00
Leo Ghignone 54b9be4463 Pyarrow parquet provider (#1722)
* Pyarrow parquet provider

* Defer crs management to pygeoapi

* Add parquet provider docs

* Fix flake8 errors

* Remove extra .parquet

* Address reviews
2024-08-18 22:39:53 -04:00
Tom Kralidis bc1e8a6566 do not echo query parameter values on exceptions (#1789) (#1790) 2024-08-16 22:27:40 -04:00
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