fc31cb3e73
* - Refactor MVTProvider, to support subclassing - Added provider for MVT Tippecanoe * - fixed test configuration for the MVT tippecanoe provider * - added MVT elastic provider * - added documentation for mvt providers - fixed formatting * - removed tiles publishing from elastic provider example - updated gitignore to ignore data folder from elastic example * - added docker example for MVT-elastic backend provider * - Added docker example for tippecanoe MVT provider * - updated README of the docker examples section, to catch up with the provided examples. * - renamed mvt-elastic and mvt-tippecanoe docker example folders. * - renamed elastic and tippecanoe folders to lower case * - fixed formatting issue * - s/Mabox/Mapbox/ * - put plugin provider names in single line * - renamed MVT provider base class to BaseMVTProvider. * - added MVT base class * - reviwed uppercase on .gitignore - add folder to .gitignore * - removed new line and brackets * - removed redundant line with base class --------- 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: 8.4.0 on Ubuntu 20.04.4 LTS (Focal Fossa)
- 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