Commit Graph

762 Commits

Author SHA1 Message Date
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
Tom Kralidis 1b508c77cd support antimeridian bbox cases (#837) 2022-01-03 08:25:37 -05:00
Tom Kralidis 30a626ba9d update copyright year 2022-01-01 09:15:32 -05:00
Tom Kralidis c7cf17fa5f update copyright year 2022-01-01 09:13:14 -05:00
Tom Kralidis aa8eee662c fix float detection for ES provider (#836)
* fix float detection for ES provider

* fix float detection for ES provider

* fix typo
2021-12-26 20:14:43 -05:00
Jo f79cd3d963 Adding Type on collections page for tiles and coverages (#834)
* - Adding the 'type' of the collection in the collections endpoint, for 'coverages' and 'tiles'

* - removed support for adding "coverage" keyword, due to failing test

Co-authored-by: doublebyte1 <info@doublebyte.net>
2021-12-17 10:55:30 -05:00
Tom Kralidis 05dfebd7e4 fix list formatting in docs 2021-12-08 21:59:26 -05:00
James Robinson eb891010b7 Add support for materialised views to postgres provider (#827) 2021-12-07 18:00:08 -05:00
James Robinson 3969fc0b19 Add support for config file properties to PostgreSQL provider (#829)
* 🐛 Add support for the properties keyword from the config file

* 🚨 Fixed flake8 errors

*  Added a test for config properties
2021-12-06 07:58:39 -05:00
Tom Kralidis 252bd88bc2 add invalid value to console error (#825) 2021-11-25 16:21:25 -05:00