Commit Graph

412 Commits

Author SHA1 Message Date
Tom Kralidis 39b22d4dd1 optimize test data ES loader (thanks @jvanulde) (#394) 2020-04-12 12:09:56 -04:00
Tom Kralidis c151579991 add STAC catalog functionality (#389)
* add STAC catalog functionality

* add example to config, add sample raster data

* fix tests
2020-04-12 12:08:17 -04:00
Tom Kralidis 799533106f Update README.md 2020-04-10 18:19:30 -04:00
Francesco Bartoli 560fcc9fb1 Fix issue 390 (#391)
* Add decorated utility function to ignore gdal errors

* Replace push and pop error handler with decorated function

* Add docstrings

* Add test for OGR esrijson driver

* Make functions private

* Fix flake8

Co-authored-by: Francesco Bartoli <francesco.bartoli@wfp.org>
2020-04-10 15:23:53 -04:00
Francesco Bartoli 3c69423375 Fix docker build (#388)
* Fix docker build with issue #387


Pin version

* Bump postgres version


Remove pinned version


Add explicit dependency


Fix travis
2020-04-01 10:06:25 +02:00
Jorge Samuel Mendes de Jesus 81f02a1f54 update openapi docs location
previous link to openapi docs was incorrect: http://localhost:5000/ui
2020-03-26 09:49:38 +01:00
Tom Kralidis 2bf9b393e9 add docstrings for new functions 2020-03-25 21:02:44 -04:00
Tom Kralidis 477e07cea7 handle ES backends also generated by GDAL/OGR (#385) 2020-03-25 08:23:47 -04:00
Francesco Bartoli 473e7f1691 Fix issue #371 (#372)
* Fix geojson bigger than 200MB not raising exception

* Log the actual error

* Remove replication of fixtures

* Fix flake8

* Fix flake8

* Add error handler class


Add generic error exception for providers


Fix flake8


Fix output message for geojson object size of collections

* Use popup error handler

Co-authored-by: Francesco Bartoli <francesco.bartoli@wfp.org>
2020-03-22 22:49:01 +01:00
Angelos Tzotsos 1fdf61626d Merge pull request #382 from francbartoli/fix-travis
Fix travis with latest postgis version
2020-03-16 13:26:17 +02:00
Francesco Bartoli da8d2c7e37 Fix travis with latest postgis version
Fix to create postgis extension


Fix postgis 3 package


Add the start of postgresql


Remove standard postgresql from pgdg


Remove all postgresql packages and update


Add autoremove


Declare postgresql version
2020-03-16 10:16:54 +01:00
Jorge Samuel Mendes de Jesus 6be38cee9d implements hit results with filtering on Sqlite/geopackage dataprovier (#373)
* pytest and flake8 check

* review requests

* SQL queries on caps
2020-03-06 07:13:01 -05:00
Francesco Bartoli 72b9a647ff GDAL3 support (#359)
* Bump gdal to v3

* Fix query duplicates with bbox for PG

* Add backward compatibility for axis order

* Move travis to bionic dist


Fix gdal version 3 on travis by pinning latest ubuntu unstable release


Fix ubuntugis sources on travis


Remove pinned python gdal version


Add mongodb start


Enable mongod service


Fix package name


Install mongo from official community repos


Add mongo enable and start commands

* Fix wrong axis mapping strategy


Add author

* Move base image to bullseye for docker build

* Fix remaining unchanged places for #364

* Make image size smaller

* Add docker build and cite tests


Fix python version


Move steps after docker build elsewhere


Fix uppercase characters


Fix internal port


Daemonize the run process

* Check logs and run test command from the entrypoint

* Remove the execution of mongo tests for test command

Remove the execution of mongo tests for test command

Fix failed command

* Add delay and move build to install step

Remove grep command for now


Use single quote
2020-03-03 23:03:14 +01:00
Jorge Samuel Mendes de Jesus 9d6322a973 Merge pull request #369 from jorgejesus/issue-364
Issue 364 -  Missing SQLite plugin with Docker Image
2020-02-27 09:06:22 +01:00
Jorge S. Mendes de Jesus 2287370b8a bug on popping geometry column 2020-02-26 19:47:18 +01:00
Jorge S. Mendes de Jesus 05c91336f5 Merge branch 'master' into issue-364 2020-02-26 19:14:36 +01:00
Jorge Samuel Mendes de Jesus 0ed4e6a336 Merge pull request #368 from jorgejesus/issue-299
where implementation on resulttype=hits
2020-02-25 13:34:17 +01:00
Jorge S. Mendes de Jesus d007eb85cb Revert "distinct records on database"
This reverts commit 3caf4a92a4.

	modified:   pygeoapi/provider/postgresql.py
2020-02-25 08:56:06 +01:00
Jorge S. Mendes de Jesus 5fe4776384 Merge branch 'master' into issue-364 2020-02-25 07:07:48 +01:00
Jorge S. Mendes de Jesus bd988b1da9 removal of pygeoapi.provider.geopackage.GeoPackageProvider from
plugin.py
2020-02-25 07:00:27 +01:00
Richard Law 7f092e4cf9 openapi field type checking (#367) 2020-02-24 19:31:49 -05:00
Jorge S. Mendes de Jesus 3caf4a92a4 distinct records on database 2020-02-24 19:00:36 +01:00
Jorge S. Mendes de Jesus eb2a92de08 Revert "compatible with the commit 0ae2084"
This reverts commit 982166728a.

	modified:   pygeoapi/provider/postgresql.py
	modified:   requirements-provider.txt
2020-02-24 18:49:25 +01:00
Jorge S. Mendes de Jesus 982166728a compatible with the commit 0ae2084 2020-02-24 18:05:35 +01:00
Jorge S. Mendes de Jesus a1308f5b80 update to new SQLITE/GPKD provider 2020-02-23 09:30:06 +01:00
Jorge S. Mendes de Jesus a16ac938cc where implementation on resulttype=hits 2020-02-23 08:34:35 +01:00
Seth G cbf36fc57d Fix LICENSE links (#362) 2020-02-13 18:53:15 -05:00
Dan Hahne d5709d1565 add .gitignore file for serverless framework artifacts (#360) 2020-02-04 20:34:21 -05:00
Jeff McKenna 7d66dbdbe3 change irc notifications to #pygeoapi-activity channel (#357) 2020-02-01 11:11:47 -05:00
Tom Kralidis 28593bd3fb fix OpenAPI parameter exposure (#355) 2020-01-31 09:45:20 -05:00
Tom Kralidis dd7aa3dd1a swap ES envelope query given ES7 changes 2020-01-30 20:53:50 +00:00
Tom Kralidis 1dcf3d5b5b add sortby to list of reserved query parameters (#354) 2020-01-30 15:33:30 -05:00
Jeff McKenna 595b926db6 enable travis.ci IRC notifications (#353) 2020-01-30 15:03:27 -05:00
Tom Kralidis be92619bcd [ES provider] ensure total hits are accurately counted (#352) 2020-01-30 08:36:45 -05:00
Tom Kralidis 0316ee0e05 fix flake8 2020-01-28 18:20:37 -05:00
Francesco Bartoli fda0df9cb4 Fix #349 (#350) 2020-01-28 18:16:09 -05:00
Tom Kralidis d0d7ed48da Implement configurable OGC schema locations (#347) 2020-01-20 14:56:04 -05:00
Tom Kralidis 33a59b87cc fix default test runner from setuptools (#345) 2020-01-16 21:13:09 -05:00
paul van genuchten 01122e7318 Place is a type not a property (#343)
* fix for #342
Place is a type not a property

* fix the build

* test place type in dataset>spatial

* fix line length
2020-01-16 15:07:42 -05:00
Tom Kralidis c49f91b6d2 Update README.md 2020-01-16 06:45:23 -05:00
Angelos Tzotsos e690814ed8 Update version to 0.7.0 2020-01-15 20:06:33 +02:00
Angelos Tzotsos af02b8c535 Update debian changelog for 0.7.0 2020-01-15 20:04:06 +02:00
Tom Kralidis d29e63e129 open configs as UTF8 (#341) 2020-01-15 07:52:16 -05:00
Tom Kralidis c994d47c91 add test for high limits (#340) 2020-01-15 07:22:50 -05:00
Tom Kralidis af9fbb5f74 fix ES paging refs and local zero-based paging (#338) 2020-01-13 16:42:21 -05:00
Tom Kralidis 56500e6155 [Elasticsearch] update to support for ES 7 (#336) 2020-01-12 21:07:21 -05:00
Tom Kralidis 29d119c419 fix timezone aware date parsing (#337)
* fix timezone aware date parsing

* fix ref

* add deps
2020-01-12 20:31:33 -05:00
Tom Kralidis b288e49753 rename test data file 2020-01-10 09:16:08 -05:00
timtuun 0fc8d9502a Initial version of mongo provider (#321) 2020-01-07 07:24:45 -05:00
Tom Kralidis c9abac21d4 CITE fixes and setup (#330)
* add CITE testing setup

* fix item link relations, handle invalid limit/startindex parameters

* ignore all generated OpenAPI files

* update config and steps

* update config
2020-01-06 09:40:33 -05:00