Jorge Samuel Mendes de Jesus
3bd0d280cc
Merge pull request #282 from geopython/issue-248-env
...
implement env variables inside PYGEOAPI_CONFIG file (#248 )
2019-10-22 09:26:29 +02:00
Tom Kralidis
efc563593b
add error handler for not defined environment variables
2019-10-21 09:53:16 -04:00
Tom Kralidis
2328e1d66f
implement env variables inside PYGEOAPI_CONFIG file ( #248 )
2019-10-20 23:20:24 -04:00
Mary Bucknell
c8d0f1b512
The json_serial function needs to be provided in order to dump decimal.Decimal values correctly. ( #280 )
2019-10-20 22:40:27 -04:00
Tom Kralidis
7b8dc69865
rename some functions to align with specification updates ( #278 )
2019-10-16 21:29:43 -04:00
Tom Kralidis
05ac393aaa
update to canonical OAPIF schema locations ( #276 )
2019-10-16 12:28:58 -04:00
Mary Bucknell
3cc335ee2c
Added serialization for Decimal. The postgres provider converts number field to decimal.Decimal. ( #274 )
2019-10-14 17:54:52 -04:00
Tom Kralidis
7e9b2c49bf
Update sample title ( #275 )
...
* update test collection titles
* update test collection titles
2019-10-13 09:19:41 -04:00
Even Rouault
4ff32fdfc5
api: fix paging links ( #272 )
...
* api: fix paging links
- Add minimal validation of startindex and limit parameters
- Include limit parameter coming from initial request in next and prevl links
- Only include prev link if startindex > 0
- Only include next link if we got as many features at the limit
Note: there is a broken test for sortby that was unnoticed. I have marked
it as such.
* api: in links returned by /items, include input query parameters
2019-10-08 07:31:33 -04:00
Tom Kralidis
08f50097a4
move conformance section in html (thanks @alexandreleroux) ( #268 )
2019-10-07 14:41:07 -04:00
Tom Kralidis
d12ad13e96
Merge pull request #271 from rouault/fix_bbox
2019-10-05 18:21:03 -04:00
Even Rouault
482f1587c4
api: fix to report an array of bbox in collection description
...
The latest version of the OAPI-F spec mandates the bbox to be
advertized as an array of bbox.
This commits accept the service configuration to have just
a single bbox or an array of bbox, and adapt accordingly to
generate the collection description.
2019-10-05 17:42:00 +02:00
Even Rouault
3f88575648
Fix service-doc and service-desc inversion, and update media type of openapi+json ( #270 )
...
* Landing page: fix inversion of service-doc and service-desc
service-desc should be for the OpenAPI version of /api, and
service-doc for the HTML version
See Abstract Test 40 of http://docs.opengeospatial.org/DRAFTS/17-069r3.html
* Update media type for OpenAPI JSon 3.0
2019-10-05 16:57:30 +02:00
Jorge Samuel Mendes de Jesus
6e504933cf
Merge pull request #267 from tomkralidis/issue-266
...
sanitize bbox parameter (#266 )
2019-10-04 08:49:34 +02:00
Tom Kralidis
e6e637beae
sanitize bbox parameter ( #266 )
2019-10-02 19:28:54 +00:00
Tom Kralidis
8709fbb43c
pin Elasticsearch dependency
2019-10-02 07:42:41 -04:00
Francesco Bartoli
1d55cf195f
Fix #260 ( #264 )
2019-10-02 07:33:19 -04:00
Tom Kralidis
2847707cf1
update landing page relations ( #261 ) ( #263 )
2019-10-01 18:06:52 -04:00
Francesco Bartoli
776963daaa
Fix #257 ( #259 )
2019-10-01 07:32:39 -04:00
Francesco Bartoli
c0f915ec1b
[ Closes #247 ] Handle open_options in the OGR provider ( #256 )
...
* Fix #247
Add test for gml_id attribute
* Add test to force getting gml_id
2019-09-30 20:06:42 +02:00
Jorge Samuel Mendes de Jesus
734deb16c3
modified: pygeoapi/flask_app.py ( #255 )
...
modified: pygeoapi/starlette_app.py
2019-09-27 14:20:31 -04:00
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