* API design rule support (#1134):
- Change config model
- Change Flask, Starlette, and Django apps for API rule adherence
- Add Flask and Starlette mock clients to test API rule adherence
- Add get_base_url() util function to replace all config['server']['url'] refs
- Ensure that any internal links have URL prefixes if needed
- Add tests and update docs
* Prevent fcntl import error (breaks tests when running locally on Windows)
* Prefer trailing slash in landing page URL when strict_slashes=True (#1134)
* fix(automap): fix naming conflicts for PostgreSQLProvider
Automaping classes and relationships from database schema throws an error if a
column name is the same as a relationship name (see
https://docs-sqlalchemy.readthedocs.io/ko/latest/orm/extensions/automap.html#handling-simple-naming-conflicts).
* renaming function name_for_scalar_relationship -> _name_for_scalar_relationship
* test: test that PostgreSQL provider can handle naming conflicts
Re-use data file from https://github.com/geopython/pygeoapi/pull/1185, and make
to new and empty tables that create naming conflicts when queried.
* Change test function post_collection_items -> get_collection_items
* fix path to table
* MongoDB Jobmanager
* Add MongoDB-Jobmanager
Example configuration included
* Requested Fixes
Fixes Issues mentioned in latest Review
* Flake8 fixes
Code is fixed on the basis of a flake8 report
* Update ogcapi-processes.rst
* Update ogcapi-processes.rst
* Flake8 fixes
Fixes of flake8 errors
* bbox query parameter support for EDR cube queries
As per Requirement A.61 C, D and E, as well as A.7 in the EDR standard.
* bbox queries support z-axis dimension
* xarray-edr provider cube query support, edr cube unit tests
---------
Co-authored-by: Peter Garnæs <pga@dmi.dk>
* Render template if specified in config and provide example config
Update linked_data.py
Merge branch 'geopython:master' into jsonld
Rended from json-ld output
Render jinja2 json-ld template from json-ld output instead of json output
Merge branch 'geopython:master' into jsonld
Add documentation
- Add documentation
- Add test to workflow
Update pygeoapi-test-config.yml
Update test_api.py
Update api.py
Update linked_data.py
Move template declaration in configuration
Update docs
Update configuration.rst
Update configuration.rst
* Updates per requested changes
* Fix spelling
* Fix json-ld template pathing
* Remove root path for the templating
* Move json-ld template from api.py
- Move single item json-ld templating to inside geojson2jsonld
- Reformat json-ld configuration for context and item_template to children of json-ld block
- Update docs and example configurations
* Fix ref
* Use FileSystemLoader to control template search path
search for templates is in order of `template_paths` list
* s/json-ld/linked-data/ig
rename json-ld to more generic name
* feat(OGRProvider): allow to use 'geom_field' in the config for OGR provider
* docs: show an example of using OGR for publishing data from a PostGIS database
* fix: does not check for empty geometry in this PR
* docs: add back ESRIJSON source_type
* fix(geom2schemageo): use only x,y dimensions when rendering GeoShape
Ignore possible third dimension when unpacking the coordinates of shapely
geometrical object in function 'geom2schemageo'. This fixes the ValueError
thrown when requesting features in JSON-LD format with 3D geometries.
* fixing unpacking of multipoint coordinates
As for the 'layer' attribute, the 'id_field' should be specified in the
configuration file for the OGRProvider. The 'get' method of a OGRProvider
instance (e.g. when requesting a single feature) needs the feature ID when
setting an attribute filter on the layer. If the 'id_field' attribute is
omitted in the configuration file, the error thrown is more explicit.