Commit Graph

797 Commits

Author SHA1 Message Date
Tom Kralidis eaf11ef7ad update architecture diagram and HTML tables (#962) 2022-08-15 09:26:27 -04:00
Tom Kralidis a4478f817e fix schema imports as HTTPS (#961)
* fix schema imports as HTTPS

* fix schema imports as HTTPS
2022-08-10 10:12:39 -04:00
Tom Kralidis e7957f893f fix linked data ref for geometry objects with varying number of members (#960) 2022-08-09 15:04:19 -04:00
Benjamin Webb 2ad4512008 Fix flake8 (#953) 2022-08-05 13:49:06 -04:00
Tom Kralidis b3e766179f Update README.md 2022-07-28 22:02:58 -04:00
Benjamin Webb ac91bfe9b4 Provide source for items.geojson (#949) 2022-07-28 14:53:50 -04:00
Tom Kralidis a278823ccd add source code header (#929) (#948)
* add source code header (#929)

* Update wsgi.py
2022-07-28 06:55:39 -04:00
Sylvain Brunato 262562022e docs: fixed configuration validation command (#945) 2022-07-27 20:24:33 -04:00
Tom Kralidis 5c9e60f5d6 Update README.md (#946)
* Update README.md

* Update README.md
2022-07-27 14:53:17 -04:00
Just van den Broecke 24c1d6f870 Add Source info Dutch Addresses test data (#947)
As done.
2022-07-27 11:28:22 -04:00
Jo b6bf67b8c8 - Added overview for mongo provider in the documentation (#940) 2022-07-21 20:29:39 -04:00
Jo 5da5c85888 Fixes to display queryables on mongo data provider (#939)
* Fixes to display queryables on mongo data provider:
- Initialize fields on contructor
- Build a dictionary with fields

The field type is set to 'string', as mongoDB is schemaless and it allows queries by any data type.

* - fixed formatting issues

* - fixed formatting issues

* - fixed formatting issues

* - fixed formatting issues

* - fixed formatting issues
2022-07-21 20:29:18 -04:00
Tom Kralidis 34cae57f4e fix refs for default templates (#944) 2022-07-21 19:18:53 -04:00
Tom Kralidis 3490b5e18d [WIP] preserve predefined links for item responses (#941)
* preserve predefined links for item responses

* Update api.py
2022-07-20 13:11:18 -04:00
Tom Kralidis 08f3380b6f update hidden resources concept (#934) 2022-07-11 07:45:10 -04:00
Benjamin Webb cd9e8ba7ee Update test_elasticsearch__provider.py (#936)
Update pytests re: https://github.com/geopython/pygeoapi/pull/935
2022-07-08 21:56:56 -04:00
Benjamin Webb 265f6c4205 Coerce ES type long to number (#935)
Elasticsearch provider casts field with type `long` to type `number` & format `long`.
2022-07-08 08:56:23 -04:00
Jo efdb997801 - reverted to previous version of ES in the Dockerfile (#933)
Co-authored-by: doublebyte1 <info@doublebyte.net>
2022-07-07 06:45:53 -04:00
Tom Kralidis 2d85eb2ac6 add support for non-advertised resources (#927) 2022-07-07 06:32:43 -04:00
Jo 045c458bf6 - added missing curl on pygeoapi container (which was triggering errors) (#932)
* - added missing curl on pygeoapi container (which was triggering errors)

* - upgraded ES to version 8

Co-authored-by: doublebyte1 <info@doublebyte.net>
2022-07-06 15:52:28 -04:00
Tom Kralidis 8286764714 add PR template with contribution agreement 2022-07-05 22:26:14 -04:00
Tom Kralidis 3b231c5fea add OpenAPI generate option to write to file (#919) (#925) 2022-06-21 21:03:19 -04:00
Paul van genuchteG 59e5d26b1d the work replaces mini-css for bootstrap (#920)
mini-css has been abandoned by author

resolves #918
2022-06-21 20:27:11 -04:00
Paul van Genuchten dd7ba418bc restore id-field override if title-field exists 2022-06-13 09:18:23 +02:00
Paul van Genuchten 104980d10c add translated title-field also to item html output 2022-06-13 09:18:23 +02:00
Paul van Genuchten d17f9ec526 rename fieldnames as suggested by @geosander 2022-06-13 09:18:23 +02:00
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