Commit Graph

771 Commits

Author SHA1 Message Date
Paul van Genuchten be5efadc90 when title-field has a multilingual configuration, use it
resolves #921
2022-06-13 09:18:23 +02:00
Paul van Genuchten c53fafab7c emtpy fields-object if file does not exist
log a warning if file does not exist

resolves #908
2022-06-10 23:28:54 +02:00
Tom Kralidis 92525050af re-order STAC HTML columns (#917) 2022-06-02 15:33:13 -04:00
Tom Kralidis 427c46de7f update OARec links based on latest updates in specification (#915) 2022-05-30 09:46:40 -04:00
Paul van genuchteG 8180b345b0 - sets canonical url to xxx?f=html to prevent issues when json is default encoding (#905)
- remove canonical link from ogc-api features config

resolves #900
2022-05-25 01:35:33 -04:00
Kevin Ngai f78b506240 Allow translations of link title, href and hreflang for collection metadata (#904)
* Allow translations for link.title, link.href and link.hreflang in collection metadata

* flake8 and syntax fix

Co-authored-by: Kevin Ngai <asptken@geomet-dev-03.cmc.ec.gc.ca>
2022-05-25 01:34:19 -04:00
Tom Kralidis b8b835e2ea Merge pull request #903 from kngai/template-render-locale
Pass the locale value into jinja templates for improved language handling
2022-05-25 01:33:52 -04:00
Tom Kralidis 29b798e7bc Merge pull request #911 from pvgenuchten/readonly-tinydb
readonly access to tinydb
2022-05-25 01:32:55 -04:00
Paul van Genuchten b64882d65c this sets access mode to readonly, it is required if filesystem is readonly, else tynidb provider will throw an error. if at some point pygeoapi allows transactions, we should make a more advanced check here (verify if readonly file first)
resolves #909
2022-05-24 22:41:23 +02:00
Kevin Ngai 0aeec00b4d Pass the locale value into jinja templates for improved language content handling 2022-05-20 16:17:53 +00:00
Abdulazeez Abdulazeez Adeshina ce425887d0 Update requirement.txt (#894)
* Update click requirement.The fastgeoapi safety test fails as click <8 have a security issue

Signed-off-by: Abdulazeez Abdulazeez Adeshina <youngestdev@gmail.com>

* Update requirements.txt

* Fix requirements syntax


Fix requirements syntax

Co-authored-by: Francesco Bartoli <francesco.bartoli@geobeyond.it>
2022-05-15 14:30:19 +03:00
Tom Kralidis 65e243134b Merge pull request #899 from francbartoli/patch-broken-tiles
Fix broken tiles collection uri
2022-05-13 20:45:06 -04:00
Francesco Bartoli 095a74fb05 Fix broken tiles collection uri 2022-05-13 20:14:51 +02:00
Tom Kralidis 347dac4a46 Merge pull request #898 from tomkralidis/misc-fixes-2022-05-13
fix MIME types and OpenAPI datetime specification from OGR
2022-05-13 10:31:06 -04:00
Tom Kralidis 645c2e4284 fix OpenAPI OGR datetime handling 2022-05-13 13:48:45 +00:00
Tom Kralidis 3ebdbded9a fix JSON MIME types 2022-05-13 13:48:15 +00:00
Abdulazeez Abdulazeez Adeshina 2b994b8384 Update starlette route path to accomodate hierarchy (#893)
* Update starlette route path to accomodate hierachy

Signed-off-by: Abdulazeez Abdulazeez Adeshina <youngestdev@gmail.com>

* Update broken routes

* Fix formatting

Signed-off-by: Abdulazeez Abdulazeez Adeshina <youngestdev@gmail.com>

* Add author details and fix flake8 issues

Signed-off-by: Abdulazeez Abdulazeez Adeshina <youngestdev@gmail.com>
2022-05-06 08:29:33 -04:00
Tom Kralidis 9ed4d36acb allow vendor specific parameters on .../items queries (#891) 2022-04-30 08:27:23 +02:00
David Bitner 15e7deabed Fix SQL injection vulnerability. Fix bug with schema prefixed tables. (#889)
* Do not use str.format() for database queries. Ensure that pg columns returned respect schema prefix.

* quotes not needed with %s

* use sorted on test array comparison

* linting
2022-04-25 20:37:02 -04:00
Tom Kralidis b132882513 display conformance based on configuration (#888) 2022-04-19 21:37:21 +02:00
Tom Kralidis 356fe1280c add skip_geometry to remaining feature providers (#887)
* skip geometry for SQLite/GPKG backends (#886)

* simplify GKPG

* add for remaining providers, add to doc
2022-04-19 13:44:56 -04:00
Tom Kralidis 36b88e0719 fix map ref for CITE setup 2022-04-16 18:34:23 -04:00
Tom Kralidis 09ad6f8fce Hierarchical collections (#885)
* add support for hierarchical collections

* fix JSON rendering in docs

* fix JSON rendering in docs

* fix tests

* update docs

* update HTML templates with collections path

* fix template error

* add test
2022-04-16 18:26:55 -04:00
Michael Lane e19bf5529d 882: Added default parameter values for coverage endpoint handlers. (#883) 2022-04-14 12:50:08 +02:00
Benjamin Webb 8b0123c4a5 Derive collections path URI once (#881) 2022-04-11 10:01:34 -04:00
Angelos Tzotsos ebeba62301 Adding visual studio code workspaces in gitignore 2022-04-03 12:46:53 +03:00
Tom Kralidis 7e8496d999 fix ES GeoJSON response when properties= is detected (#878)
* fix ES GeoJSON response when properties= is detected

* ES: use keywords arguments

* fix tests

* fix

* fix
2022-03-31 03:54:52 -04:00
Francesco Bartoli a29dbeb28d Pin jinja2 to fix buggy version (#876) 2022-03-29 01:48:14 -04:00
Martin Pontius 12abb81227 Add unit test for tinydb job manager with parallel requests (#872)
* Add unit test for tinydb job manager with parallel requests

* Add source code header

* Fix flake8 issues
2022-03-14 06:25:03 -04:00
Tom Kralidis affa3d520d OAProc: add file locking for TinyDB transactions (#871) 2022-03-11 11:05:32 -05:00
Tom Kralidis f17c6936a0 OACov: change coverage range-subset to properties, update conformance classes (#870)
* OACov: change coverage range-subset to properties, update conformance classes

* fix conformance tests
2022-03-10 16:23:49 -05:00
Tom Kralidis 87de3cf4d1 Merge pull request #864 from geopython/items-offset 2022-03-08 17:51:35 -05:00
Tom Kralidis 5d0dbd0857 fix docs 2022-03-08 16:05:08 -05:00
Tom Kralidis 228897289a remove 2022-03-08 15:42:41 -05:00
Tom Kralidis 14154f36de make CovJSON output safe 2022-03-08 14:52:15 -05:00
Tom Kralidis 1c87e0005b move items startindex to offset 2022-03-08 14:51:53 -05:00
Jo 87fa6b5f90 Hardcoded version of ES client python library (#862)
* - hardcoded version of ES python library

* - Pin down dependency versions

* - updated package number syntax

* - updated package syntax

* - updated package number

Co-authored-by: doublebyte1 <info@doublebyte.net>
2022-03-08 13:19:43 -05:00
ychoquet bd2177674c Creation of a STAC HATEOAS Provider. (#857) 2022-02-23 17:27:43 -05:00
Tom Kralidis 30f0399282 fix Shapely ref deprecation (#858) 2022-02-21 21:44:22 -05:00
Tom Kralidis c0a1d56f99 add latex engine/url footer settings (#856) 2022-02-11 13:14:33 -05:00
Benjamin Webb 80eb570601 Fix ElasticsearchCatalogue provider (#853)
* Update elasticsearch_.py

* fix flake8

* Update elasticsearch_.py

* Update elasticsearch_.py
2022-02-10 16:15:32 -05:00
Angelos Tzotsos e28d0cbd47 back to dev 2022-02-07 22:10:53 +02:00
Angelos Tzotsos 2989756a21 update release version 2022-02-07 22:05:13 +02:00
Tom Kralidis 3f8fa1506c fix OGC API doc refs (#852) 2022-02-06 09:14:52 -05:00
KoalaGeo 23fc76b6ff Update ogcapi-features.rst (#847) 2022-01-29 17:37:31 -05:00
Tom Kralidis 76fd56a671 fix OAProc relation types (#846)
* [OAProc]: fix relation types (#845)

* [OAProc]: fix relation types (#845)
2022-01-25 06:42:09 -05:00
Tom Kralidis 300be49a58 allow providers to specify custom filename for query output (#841) 2022-01-15 07:30:20 -05:00
Tom Kralidis 5d072f4efa OAProc updates (#840)
* update OAProc jobs as a top-level resource (#838)

* update config

* update copyright year
2022-01-04 08:43:39 -05:00
Benjamin Webb 6271e41bc7 SensorthingsAPI Provider Fixes (#830)
* Use pygeoapi url_join

* Use Requests Session for virtual scrolling of STA endpoint

* Simplify relationships between STA entities

* Use url_join on for making STA entity data URL
2022-01-03 13:26:39 -05:00
Tom Kralidis 3e6ac1eea9 fix off by one error in ES provider (#839)
* fix off by one error in ES provider

* fix tests
2022-01-03 09:57:49 -05:00