85a4984bbe
* - 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>
pygeoapi with ElasticSearch (ES)
These folders contain a Docker Compose configuration necessary to setup a minimal
pygeoapi server that uses a local ES backend service.
This config is only for local development and testing.
ElasticSearch
- official ElasticSearch: 5.6.8 on CentosOS 7
- ports 9300 and 9200
ES requires the host system to have its virtual memory parameter (max_map_count) here set as follows:
sudo sysctl -w vm.max_map_count=262144
If the docker composition fails with the following error:
docker_elastic_search_1 exited with code 78
it is very likely that you forgot to setup the sysctl.
Building and Running
To build and run the Docker compose file in localhost:
sudo sysctl -w vm.max_map_count=262144
docker-compose build
docker-compose up