* 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
* - Added support to read from a generic url template as vector tile backend.
* - Add support for not rendering the tileset metadata
* - added support for z/y/x vector tile layers
* - fixed formatting issues
* - refactored code to use get_layer function, everywhere we need to parse username
- added a couple of debug statements, to make sure we are getting the layer name
correctly
- added an error for url templates that follow a schema, which is not supported yet
* - Added documentation for tiles provider, to show how to read a generic url
* - fixed formatting issues
* - added example of ES vector tiles in the docker-config of elasticsearch
Co-authored-by: doublebyte1 <info@doublebyte.net>
* - added missing curl on pygeoapi container (which was triggering errors)
* - upgraded ES to version 8
Co-authored-by: doublebyte1 <info@doublebyte.net>
* - Added missing parameters on the openapi definition of get an observations tile request
* - changed default background map to osm
* Revert "- changed default background map to osm"
This reverts commit 554c065c6699ad6c0585f5c09ce34e746d5b3dc2.
* - Added example with docker containers, for MongoDB data provider
* - attempts
* - switched to use ne_110m_populated_places_simple.geojson as data source
* - updated README
* - updated README
* - added missing mongo-entrypoint.sh
Co-authored-by: doublebyte1 <info@doublebyte.net>
* Add gzip to API.py
* pytest for gzip
* fix pytest
* Update test_api.py
* Add gzip to server block of configuration files
* Update api.py to include gzip opts from config
Update logic behind gzip compression such that compression will only happen when gzip in the Accept-Encoding request header and config.server.gzip is True. Use server charset for encoding/decoding and include charset in Content-Type when compressed.
* Update pytest to use gzip config options
Update pytest to test with (gzip in Accept-Encoding & server.gzip = False), (gzip in Accept-Encoding & server.gzip = True), (gzip not in Accept-Encoding & server.gzip = True)
* Better Content Negotiation (#7)
* Change content negotiation in _get_format()
* Add to pytest and force h to always be string
* Force F_JSON to default response
* Update test_api.py for utf-16 encoding
* better content negotiation pytest.
* Add comments to pytest
* Fix flake 8
* Improve docstring for gzip decorator function
* - Added missing parameters on the openapi definition of get an observations tile request
* - changed default background map to osm
* Revert "- changed default background map to osm"
This reverts commit 554c065c6699ad6c0585f5c09ce34e746d5b3dc2.
* - Added example with docker containers, for MongoDB data provider
* - attempts
* - switched to use ne_110m_populated_places_simple.geojson as data source
* - updated README
* - updated README
Co-authored-by: doublebyte1 <info@doublebyte.net>
* - Added missing parameters on the openapi definition of get an observations tile request
* - changed default background map to osm
* Revert "- changed default background map to osm"
This reverts commit 554c065c6699ad6c0585f5c09ce34e746d5b3dc2.
* - added discovery.type to elasticsearch configuration, to prevent failed bootstrap checks
Co-authored-by: doublebyte1 <info@doublebyte.net>
* - updating ES dockerfile, by adding missing packages and switching to python3
* - joined commands to reduce layers on the docker image
- fixed formatting
- added elasticsearch-dsl
Co-authored-by: doublebyte1 <info@doublebyte.net>
* Bump gdal to v3
* Fix query duplicates with bbox for PG
* Add backward compatibility for axis order
* Move travis to bionic dist
Fix gdal version 3 on travis by pinning latest ubuntu unstable release
Fix ubuntugis sources on travis
Remove pinned python gdal version
Add mongodb start
Enable mongod service
Fix package name
Install mongo from official community repos
Add mongo enable and start commands
* Fix wrong axis mapping strategy
Add author
* Move base image to bullseye for docker build
* Fix remaining unchanged places for #364
* Make image size smaller
* Add docker build and cite tests
Fix python version
Move steps after docker build elsewhere
Fix uppercase characters
Fix internal port
Daemonize the run process
* Check logs and run test command from the entrypoint
* Remove the execution of mongo tests for test command
Remove the execution of mongo tests for test command
Fix failed command
* Add delay and move build to install step
Remove grep command for now
Use single quote