Commit Graph

306 Commits

Author SHA1 Message Date
Tom Kralidis f021cf98cd ignore datetime parameter if collection is not time enabled (#252) (#254) 2019-09-26 09:59:45 -04:00
Tom Kralidis f1667c01c8 make collection crs optional (#253) 2019-09-26 07:50:08 -04:00
paul van genuchten 1d64fa9409 fix size of logo introduced in #232 (#249) 2019-09-25 17:57:51 -04:00
paul van genuchten a7127a7f55 fix schema annotations, broken by #224 (#250) 2019-09-25 17:49:44 -04:00
Tom Kralidis 12200b75df simplify landing page HTML (#245) 2019-09-25 16:06:10 -04:00
Tom Kralidis d449b9cece fix OpenAPI ref 2019-09-24 16:38:50 +00:00
Tom Kralidis 611dffcb6b OpenAPI and datetime updates (#244)
* support CRS in collections, refactor OpenAPI responses, update collections model

* add test for invalid format for /api
2019-09-24 10:14:36 -04:00
Tom Kralidis d9c6335de8 update conformance class identifiers 2019-09-21 10:50:12 -04:00
Tom Kralidis fe25a0c72f update endpoint query parameters (#235) (#242) 2019-09-21 16:10:56 +02:00
Tom Kralidis 4fc95e8f79 allow no processes to be defined (#136) (#139)
* allow no processes to be defined (#136)

* fix flake8

* update testing process existence

* fix another round of comments

* add test assertions
2019-09-21 10:01:21 +02:00
Tom Kralidis 198f36b83d unfix footer (#142) (#158)
* unfix footer (#142)

* fix footer

* unfix footer (#142) thanks @MichelGabriel

* add logo to footer
2019-09-20 11:54:21 +02:00
Just van den Broecke 29d76c98eb fix temporal extent None value for #237 2019-09-20 10:56:43 +02:00
Just van den Broecke 8827eccf6d fix temporal extent None value for #237 2019-09-20 10:55:51 +02:00
Tom Kralidis 3b59595864 make root links consistent (#241) 2019-09-19 18:23:36 -04:00
Richard Law a39b47edd2 Fixes #237 (#240)
Address a mis-configuration for temporal extents
2019-09-20 00:11:42 +02:00
Richard Law ab81d2a889 Fixes YAML array syntax in sample and test configuration files (#239)
* Update default.config.yml

Some bounding boxes were not validly specified as arrays.

* Update pygeoapi-test-ogr-config.yml

Some bounding boxes were not validly specified as arrays.

* Updated pygeoapi-serverless-config.yml

Some bounding boxes were not validly specified as arrays.
2019-09-20 00:05:53 +02:00
Tom Kralidis 95f62e3772 Merge pull request #234 from geopython/fix-postgresql-output 2019-09-14 11:15:24 -04:00
Tom Kralidis fcc3b37693 fix GeoJSON response for PostgreSQL, SQLite and GeoPackage (#95) 2019-09-12 07:29:40 -04:00
Tom Kralidis 88db5de35a fix logo display 2019-09-11 22:34:51 -04:00
paul van genuchten 132ca41c4b replace title for logo in html encoding (#232)
* replace title for logo
add logo to footer
add 2 images (1 as logo, to be replaced, 1 as pygeoapi attribution)

* add favicon
2019-09-11 21:57:11 -04:00
Jorge Samuel Mendes de Jesus ccbca45fae Issue 210 missing HTTPS for schema.org (#225)
* change from http to ///

* fixes #213

* https:// instead of //
2019-09-11 10:53:52 -04:00
Tom Kralidis 921d96d389 fix starlette static file support (#222) (#228) 2019-09-08 15:36:56 +02:00
Tom Kralidis 20050a14d2 remove pandoc support (PyPI now supports Markdown) (#230) 2019-09-08 09:04:24 -04:00
Francesco Bartoli ab12cbfc92 Add support for Starlette (#223)
* Add starlette app with base route

* Add api route

* Add conformance route

* Add route for collections

* Fix flake8 errors

* Add route for collection items

* Add route for processes

* Add docs for starlette

* Add support for starlette

Add api route


Add conformance route


Add route for collections


Fix flake8 errors


Add route for collection items


Add route for processes


Add docs for starlette

* Make starlette deps into a separate requirements file 


Move imports

* Add comment for starlette requirements

* Fix missing docstring param

* Improve installation docs
2019-09-06 14:25:28 -04:00
Tom Kralidis 4bd884e564 move address into contact details (#224) 2019-09-04 10:57:13 -04:00
Tom Kralidis 7524066a09 add README and zappa example for AWS Lambda 2019-09-04 09:34:32 -04:00
Tom Kralidis 69800dbaf8 fix link 2019-09-04 09:31:34 -04:00
Richard Law 5c16265633 uses pwd in README instructions for consistency (#216) 2019-09-02 15:53:48 -04:00
Richard Law abac6e6f59 corrects URI for schema.org/ContactPoint (#215) 2019-09-02 15:52:05 -04:00
Just van den Broecke a8c2657c1a #209 docs: add missing Mocks, set PYGEOAPI_CONFIG
* add missing Provider deps to be Mocked 
*  fix/set `PYGEOAPI_CONFIG` env var

Directly in master to test on RTD
2019-08-21 12:13:27 +02:00
Just van den Broecke 0fb59df438 #209 fix flake8 error, grr 2019-08-20 16:15:46 +02:00
Just van den Broecke 8748c3aa2b #209 almost there OGR API working
Try fixing/mocking for `psycopg2 elasticsearch`.
2019-08-20 16:00:46 +02:00
Just van den Broecke f2cf004d2a #209 try the RTD solution with Mock objects
See https://docs.readthedocs.io/en/stable/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
Tested locally ok.
2019-08-20 15:52:41 +02:00
Just van den Broecke 1bfe0e3bf4 #209 remove requirements-provider.txt again
We get this problem now: https://docs.readthedocs.io/en/stable/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules . So we should resort to Mocking...
2019-08-20 15:29:52 +02:00
Just van den Broecke ed6b1b7687 #209 add requirements-provider.txt for RTD build
Solution attempt for #209 . Directly to master to trigger RTD (is otherwise very hard to test locally).
It may not work as there are also C-library deps. We may end up with a Conda dep file.
2019-08-20 15:14:30 +02:00
Tom Kralidis f9123678b8 s/Elastic search/Elasticsearch 2019-08-16 09:30:12 -04:00
Jorge Samuel Mendes de Jesus da267e9ed3 Issue 43 (#207)
* squach contents new branch

* source code explanations

* flake8

* change in requirements

* 	modified:   docs/source/code.rst
	modified:   docs/source/plugins.rst

* 	modified:   docs/source/code.rst
	modified:   pygeoapi/formatter/csv_.py
	modified:   pygeoapi/provider/geojson.py

* changes requred in review code

* 	modified:   .travis.yml
missing "

* change file to use requirements-dev.txt
	modified:   readthedocs.yml

* flask_cors removal from requirements.txt

* text changes
2019-08-14 15:14:13 -04:00
Tom Kralidis 5ab45769db disable local cors for default dev install 2019-07-18 14:16:21 +00:00
Jorge Samuel Mendes de Jesus a1472e5ac5 incorrect pygeoapi image URL
incorrect pygeoapi image URL
2019-07-07 17:17:15 +02:00
Jorge Samuel Mendes de Jesus ac97045cad Update docker image link
Dockerhub has changed url locations
2019-07-07 16:28:04 +02:00
paul van genuchten 2035db33e5 fixes #150 add canonical link to each html representation (#196)
todo: make sure all methods return max (and at least) 1 "self" link of type "text/html"

toverify: for /items, if a filter is applied, does it make sense to use /items as canonical, or should it include the filter
2019-06-30 21:14:59 -04:00
paul van genuchten 5d0fe96411 This moves the datacatalog declaration to /collections (#197)
* This moves the datacatalog declaration from the header to the /collections level
The datacatalog in header caused issues if the represented item is not a collection

adds keywords tags to collection page

* fix typo on collection
optimise root.html for move of cat to /collections

* fix python typo
2019-06-30 21:14:24 -04:00
Tom Kralidis 1b90b93d21 fix CITE test A.4.4.7 (#200)
* fix CITE test A.4.4.7

* fix CITE test A.4.4.7
2019-06-30 10:29:45 -04:00
Tom Kralidis a757b4d964 fix server limit CITE conformance (A 4.4.10) 2019-06-25 21:44:56 -04:00
Tom Kralidis e5befca3be Create CODE_OF_CONDUCT.md (#194) 2019-06-23 07:55:47 -04:00
Tom Kralidis 047db51da4 update OpenAPI HTML rendering (#195) 2019-06-22 11:29:09 -04:00
Jorge Samuel Mendes de Jesus c83a1c2ea0 implements pre_process decorator cecking formats and header (#192) 2019-06-21 09:05:18 -04:00
Jody Garnett 4accbe593f Update demo server example URL (#190) 2019-06-21 02:43:30 +02:00
Tom Kralidis fa510a6109 simplify configuration (#154) (#188) 2019-06-20 17:46:19 -04:00
Brad Hards c123a578d0 Add support for title and description to root JSON. (#183)
See https://github.com/opengeospatial/WFS_FES/commit/40735d81b6ee73c6ce17680288c8fa5186c58ae7
and https://github.com/opengeospatial/WFS_FES/commit/5b450ef18404d4a4fdb443f6444142c89ed4445f
for the related specification change.
2019-06-14 16:08:32 +02:00