Commit Graph

810 Commits

Author SHA1 Message Date
Paul cc03d1d54d adds twitter and opengraph tags to html encoding, to facilitate display in social media 2022-09-04 22:17:47 +02:00
Tom Kralidis c0c2ba541f Update requirements-django.txt (#972) 2022-08-30 18:00:56 -04:00
Tom Kralidis 199a1fc612 update Django integration (#971)
* update Django integration

* address PR comments
2022-08-30 22:41:48 +02:00
Francesco Bartoli 98bfdd5cf2 Add support for the django framework (#630)
* Add initial support with a django skeleton project

* Start the django server from pygeoapi configuration and push to settings

* Add views to django routes

* fixed flake8 problems

* added jobs endpoints

* added EDR endpoints

* renamed jobs endpoints and functions

* fixed flake8

* Bump django version to support 3 and 4

* Fix api request instance


Fix api request instance

* fixed stac catalog path request

* fixed problem with static

* get parameters from django requests

* Add sample project for django application

* Fix flake8 errors

* added documentation for Django downstream project

Co-authored-by: Luca Delucchi <lucadeluge@gmail.com>
Co-authored-by: Krishna Lodha <krishnaglodha@gmail.com>
2022-08-27 18:01:32 +02:00
Paul van Genuchten 6faad638c2 resolves 968, restore translations after recreating env (#969) 2022-08-27 08:37:59 -04:00
Jorge Martínez Gómez a78e2df8f7 Skip CSV row with invalid coordinates (#967)
* Skip CSV row with invalid coordinates

* Use single quotes and message string in a variable
2022-08-27 06:14:58 -04:00
Jon Duckworth fc4619f1ba Relax click<8 requirement (#952) 2022-08-27 06:08:38 -04:00
ColinAsheGIS c7cc788e46 Corrects 'pip install guvicorn' to 'pip install uvicorn' (#963) 2022-08-27 06:04:02 -04:00
Jorge Martínez Gómez 1e3e50995e Update installation docs to make sure pip is upgraded (#966) 2022-08-27 05:56:30 -04:00
Tom Kralidis b640217900 update OSGeo project status 2022-08-20 22:37:35 -04:00
Tom Kralidis 1adc0cfa56 fix C4 diagram arrows [skip ci] 2022-08-15 10:17:18 -04:00
Benjamin Webb 46f213bff5 Add Socrata provider for OGC API - Features (#955) 2022-08-15 09:44:25 -04:00
Benjamin Webb 5a6fdd2bed Add ESRI Service provider for OGC API - Features (#954) 2022-08-15 09:44:13 -04:00
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