Commit Graph

452 Commits

Author SHA1 Message Date
Tom Kralidis fc7fa918bb bump Swagger UI version 2020-07-09 18:29:39 -04:00
Tom Kralidis d2cbf48cd3 Merge pull request #480 from francbartoli/linting-openapi
Linting openapi
2020-07-02 17:25:08 -04:00
Francesco Bartoli 90a5751707 Align operationId names to ogc api examples 2020-07-02 17:37:12 +02:00
Francesco Bartoli 3ec0570274 Add spectral command to travis for linting the openapi document
Fix trailing slash in server url


Fix tag not declared in the root mapping key


Fix missing operationId


Add spectral command to travis for linting the openapi document
2020-07-02 17:26:18 +02:00
Francesco Bartoli 1d4536f3f1 Fix travis (#476)
* Fix csv ogr test

* Fix ogr wfs test from complex geojson
2020-06-30 14:41:47 -04:00
Tom Kralidis a5aaef0f63 only lower case for file extension evaluation (thanks @RousseauLambertLP for reporting) 2020-06-29 14:13:19 -04:00
Tom Kralidis 7766e2533c move OGR environment variable to plugin (#462) 2020-06-24 20:15:59 -04:00
Angelos Tzotsos 3c4b791830 Fixing GDAL package for Docker setup (#463) (#464) 2020-06-23 15:00:22 +02:00
Tom Kralidis 60fcdcecf0 update website link 2020-06-22 14:58:05 -04:00
Tom Kralidis 255c4cb297 Create FUNDING.yml 2020-06-13 08:12:25 -04:00
Tom Kralidis 917f1c0a95 back to dev 2020-06-05 14:49:02 -04:00
Angelos Tzotsos 1dec8f731c Update release version 2020-06-05 18:52:27 +03:00
Angelos Tzotsos 43bdf3b4d9 Updating Debian changelog for 0.8.0 2020-06-05 18:52:07 +03:00
Tom Kralidis 89f8cafbb5 fix flake8 (#446) 2020-06-04 21:26:55 -04:00
Richard Law c5134f07ce fixes #444 (#445) 2020-06-04 20:22:58 -04:00
Tom Kralidis 63c2a470dc safeguard date testing (#443) 2020-06-04 15:24:32 -04:00
Francesco Bartoli 59518b4a44 Fix gunicorn warning (#432) 2020-04-30 13:36:58 -04:00
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