Commit Graph

372 Commits

Author SHA1 Message Date
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
Tom Kralidis 55d6b8f442 refactor JSON LD code and common functions (#327)
* refactor JSON LD code and common functions

* show collection temporal properties only if defined in config, fix processing ref

* fix CLI arg handling
2020-01-05 15:01:43 -05:00
Jorge Samuel Mendes de Jesus 5d59379abb Unnecessary file __geopackage.py
File with previous code that now has been ported into sqlite3
2020-01-05 14:23:37 +01:00
Jorge Samuel Mendes de Jesus 0a46bf5054 Issue 290 (#322)
* property implementation on query method

* dataset with foo_geom as geom

* bbox search on sqlite3

* pytests for limit and property filter

* geopackage and sqlite3

* fix test on ogr_geopackage for new dataset version

* updated doc and removal of bbox cast

* err variable not used

* converstion of f string to .format()
2020-01-02 11:22:27 -05:00
Tim-Hinnerk Heuer f0006c92f0 Issue 310 (#311)
* fix item previous and next links #310

* fix get_next comment #310

* ensure correct formatting for flake8 #310

* change id to id_

* change previous to prev

* fix ref

* Update item.html

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2020-01-02 08:50:19 -05:00
Tom Kralidis 09efa01b0b Update README.md 2019-12-24 08:30:29 -05:00
Richard Law 2e6f9abcb0 Json ld docs (#326)
* adds structured data section to configuration documentation

* adds json-ld support button/badge
2019-12-24 07:51:54 -05:00
Tom Kralidis db2185696a update landing page OpenAPI/Swagger labels 2019-12-23 19:51:40 +02:00
Tom Kralidis ac73e95398 abstract ES test loader to accept id field as argument (#324) 2019-12-23 12:33:31 -05:00
Tom Kralidis 1ce7ac8cfb update conformance classes (#323) 2019-12-23 12:09:14 -05:00
Richard Law 17ed14107d Add JSON-LD representations (#246)
* Changes to sample pygeopai-config.yml
- improved terms_of_service and contact.url for SEO
- fixes typo for contact.instructions

* whitespace

* dynamically embed JSON-LD representation in head

* json-led representation for root, collections, and collection

* updates sample configuration with metadata that won't cause JSON-LD validation issues

* adds support for feature-level JSON-LD representations of collections and items

* improves consistency between microdata and JSON-LD root metadata

* valid Dataset spatial; and better use of @id

* role →  instructions

* adds jsonld f param to open api definition

* working with new temporal extent interface

* removes comment

* identify and retain NIR/HTTP IDs rather than construct them with reference to pygeoapi

* don't pop a feature.properties id, to retain JSON-LD reference integrity

* add/update tests for inclusion of json-ld responses

* bug fixes

* fix bug where id was assumed to be string

* better url checking

* renames format variable to avoid reserved word

* removes top-level CRS in obs sample config

* add json-ld textMimeType for serverless

* adds flask-cors dependency to allow cors

* moves json-ld-requesting script to bottom of body

* corrects schema.org url

* fixes urls

* adds pyld dependency

* adds tests for json-ld representations (incomplete)

* more tests

* make pyld a dev requirement only

* linting

* changes from revision

* removes merge artifact
2019-12-19 08:33:42 -05:00
Jorge Samuel Mendes de Jesus f8671cf68f Merge pull request #320 from geopython/bbox-data-types
make bbox inputs floats
2019-12-16 08:56:08 +01:00
Tim-Hinnerk Heuer 44d01b1fe8 add limit examples to viewer - #305 (#308)
* add limit examples to viewer - #305

* simplify ui by using dropdown for limits #305
2019-12-13 16:52:06 -05:00
Tom Kralidis ab4cd3e03e make bbox inputs floats 2019-12-13 16:48:51 -05:00
KoalaGeo 0fadb3c16b Update README.md (#319)
* Update README.md

* Update to docker docs

Update to docker docs
2019-12-12 13:04:48 -05:00
Jorge Samuel Mendes de Jesus b61404d610 Merge pull request #287 from ayan-usgs/bbox-query
support a bbox for the postgres provider
2019-11-10 13:26:18 +01:00
Tom Kralidis 21c6a61912 add feature collection and featutre id to HTML representations (#26) (#296) 2019-11-07 15:16:14 -05:00
Andrew Yan 5672d055dc improve integration of conditions on the where clause 2019-11-04 11:49:32 -06:00
Andrew Yan 0b142f2991 Merge branch 'master' of github.com:geopython/pygeoapi into bbox-query 2019-11-04 08:50:21 -06:00
Mary Bucknell e4a36e7248 Add ability to filter by properties to postgresql provider. (#283)
* The json_serial function needs to be provided in order to dump decimal.Decimal values correctly.

* Added ability to filter on property values

* Added allow_property_filters config parameter.

* Added tests for ability to filter on properties

* Add comment to describe fields attribute

* Fixed PEP8 issues

* Missed a PEP8 lint error

* Added name to authors list

* Consistent string formatting

* Remove config parameter allow_property_filtering

* Revert logging statement
2019-11-02 06:25:29 -04:00
Andrew Yan 5df936d65e http://docs.opengeospatial.org/DRAFTS/17-069r1.html#_parameter_bbox specify that bbox queries should use intersect rather than contains 2019-11-01 09:06:23 -05:00
Tom Kralidis 61b1617d56 expose properties in OpenAPI based on configuration (#289) 2019-10-31 14:13:04 -04:00
Andrew Yan fe4c02a388 Merge branch 'master' of github.com:geopython/pygeoapi into bbox-query 2019-10-28 16:43:33 -05:00
Andrew Yan 080e735d5a do not use numbers when formatting 2019-10-28 15:49:32 -05:00
Jorge Samuel Mendes de Jesus a4d217ada6 Merge pull request #281 from jorgejesus/issue_269
Fixes  #269
2019-10-25 17:25:46 +02:00
Tom Kralidis 933950b099 move OpenAPI endpoint from /api to /openapi (#285) (#286) 2019-10-23 16:24:00 -04:00
Andrew Yan f9685b3b86 cutdown excessively long lines 2019-10-23 14:51:45 -05:00
Andrew Yan 3bd7fc2724 switch spatial operator from intersects to contained-by 2019-10-23 14:03:01 -05:00
Andrew Yan 89d8905c8d support a bbox for the postgres provider 2019-10-23 13:39:22 -05:00
Jorge de Jesus e16ffa6ff5 removal of unnecessary logging 2019-10-22 12:12:17 +02:00
Jorge de Jesus 9598044aae nissing search_path string 2019-10-22 10:44:31 +02:00
Jorge de Jesus a2e11467c1 updated code syntax based on code review 2019-10-22 10:21:49 +02:00
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
Jorge de Jesus d9d749ad8a implements search paths and user defined geom 2019-10-20 17:14:55 +02:00
Jorge de Jesus 70a87d9945 Merge remote-tracking branch 'upstream/master' 2019-10-20 15:01:47 +02: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
Jorge de Jesus 9ea553891d Merge branch 'master' of https://github.com/jorgejesus/pygeoapi 2019-10-15 16:39:53 +02:00