Render vector tiles in playwright's browser and take screenshots, then return them as raster tiles.
docker-compose build
docker-compose up
Then open test/index.html
in your browser.
# delete cache with PURGE method
curl -X PURGE http://localhost:8080/xyz/std/5/28/[email protected]
# delete cache by path
curl -X DELETE -H "path: /xyz/std/5/28/[email protected]" -H "mode: cache" http://localhost:8080/_/nuster
# delete cache with regex
curl -X DELETE -H "regex: ^/xyz/std/5/28/.*\.png$" -H "mode: cache" http://localhost:8080/_/nuster
Rendering speed is very slow, per tile may take 10 sec.
see aws-cdk/README.md
aws ec2 describe-instances --filter "Name=instance-state-name,Values=running" | jq '.Reservations[].Instances[].InstanceId'
aws ssm start-session --target <instance>
bash
cd
git clone [your repository]
cd vec2ras/ansible
ansible-playbook backend.yml
aws ssm start-session --target <instance>
bash
cd
git clone [your repository]
cd vec2ras/ansible
ansible-playbook frontend.yml