Commit Graph

435 Commits

Author SHA1 Message Date
Tom Kralidis 2b38cdba56 simplify README 2020-04-29 14:49:47 -04:00
Tom Kralidis 8ba09fe450 include local setup of OGC schemas for Docker (#405) 2020-04-28 14:35:19 -04:00
Tom Kralidis 1d576fd752 fix OpenAPI generation (#428)
* fix OpenAPI generation

* fix
2020-04-27 11:15:04 -04:00
Francesco Bartoli fb90adb9fe Fix ascii character encoding (#427) 2020-04-27 07:22:13 -04:00
Francesco Bartoli 4ce12751a5 Fix list out of range (#425) 2020-04-27 07:07:55 -04:00
Tom Kralidis 3debd0c750 update configuration to be resource specific (#393) 2020-04-26 09:57:07 -04:00
Tom Kralidis 11ee7053fc align OGR types to OpenAPI (#423) 2020-04-25 21:37:35 -04:00
Tom Kralidis 6916099315 fix queryables refs from providers, add link relations (#422)
* fix queryables refs from providers, add link relations

* fix tests

* fix tests again
2020-04-25 21:04:21 -04:00
Tom Kralidis 4ec2a79180 remove object inheritence (not needed for py3k) (#418) 2020-04-23 09:43:27 -04:00
Tom Kralidis 54732d26c9 implement queryables endpoint (#417)
* implement queryables endpoint

* fix tests now that CSV provider provides properties

* filter queryables if provider properties are set
2020-04-23 08:59:02 -04:00
Francesco Bartoli b8dbd9673c Catch http errors and item not found (#416)
Change class name


Fix flake8


Fix exceptions order


Add missing class name changes


Fix get function for geojson provider


Fix get function for ES provider


Fix ES tests


Fix ES tests


Change word


Fix get function for csv and mongo providers


Fix import


Fix flake8


Fix get function for sqlite/gpkg provider


Fix get function for PG provider


Fix postgres tests


Fix postgres tests


Fix postgres tests
2020-04-21 14:48:02 -04:00
Tom Kralidis ed6c0d919d simplify macro logic 2020-04-20 17:40:46 -04:00
Francesco Bartoli 0a2097713e Improve strategy to close #406 (#415)
* Improve strategy to close #406

* Fix travis failure

* Fix sphinx error

* Fix typo
2020-04-20 14:49:43 -04:00
Francesco Bartoli 88ac23942f Fix #412 (#413) 2020-04-17 19:58:16 -04:00
Francesco Bartoli c8e535add5 Add csv support via ogr (#410)
Add tests for CSV driver from OGR


Add csv example layer to the OGR test configuration
2020-04-16 12:39:08 +02:00
Francesco Bartoli c99d1ba1ed Fix #406 (#408) 2020-04-16 12:23:02 +02:00
Alexandre Leroux 7d0bf02536 typo (#407)
fixed capitalization to match rest of documentation
2020-04-14 11:14:04 -04:00
paul van genuchten ef5bcd7d10 improves #361 by adding the collection title to Items page (#374) 2020-04-13 19:04:32 -04:00
Tom Kralidis bc651bbb8e add logo to index page 2020-04-13 17:49:02 -04:00
Tom Kralidis 16e6f6e615 update sphinx theme, editorial updates (#400) 2020-04-13 10:07:25 -04:00
ynte 793d6cc89d Proposal for enabling property filtering with ogr provider (#220)
* enable property filtering on ogr provider

* property filtering tests for current ogr backend suites

* Fix blank line containing whitspace

Co-authored-by: ynte <ynte@geoloep.nl>
2020-04-13 14:03:28 +02:00
Francesco Bartoli 8d1c812162 Fix issue 137 (#396)
* Fix regression on string messages

* Fix paging for ESRIJSON driver

* catch ogr http errors

* Fix test and inherit from intermediate class

Co-authored-by: Francesco Bartoli <francesco.bartoli@geobeyond.it>
2020-04-12 23:47:42 +02:00
Tom Kralidis b12cc966a1 Issue 277 documentation (#392)
* first pass docs scaffolding

* more updates

* introduction, how pygeoapi works, installation

* start documenting configuration

* configuration and linked data

* administration

* administration, running

* docker

* linked data into config

* minor updates

* api docs

* add mod_wsgi info

* add OpenAPI refresh

* add tour, data-publishing

* license

* OAPIF

* data publishing: OAPIF

* publishing

* plugins

* contributing, support

* development, ogc compliance

* fix flake8
2020-04-12 17:27:31 -04:00
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