mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-03-21 22:39:39 +00:00
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@aws-sdk/xml-builder](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages-internal/xml-builder). These dependencies needed to be updated together. Updates `fast-xml-parser` from 5.3.4 to 5.3.6 - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.4...v5.3.6) Updates `@aws-sdk/xml-builder` from 3.972.4 to 3.972.6 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages-internal/xml-builder/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/HEAD/packages-internal/xml-builder) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.3.6 dependency-type: indirect - dependency-name: "@aws-sdk/xml-builder" dependency-version: 3.972.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Protomaps on AWS
See installation and configuration instructions at Protomaps Docs: Deploy on AWS
Development
The code for the lambda function imports from the top level js/ directory. You will therfore need to first run npm install and npm run build in the js/ directory, and then run npm install in the serverless/aws directory.
You should then be able to build the Lambda ZIP:
npm run build-zip
Upload the resulting dist/lambda_function.zip using the Lambda console or copy and paste dist/index.mjs.
Test Events
JSON for simulating tile requests in the Lambda development console.
Lambda Function URLs:
{
"rawPath": "/my-tileset-name/0/0/0.mvt"
}
API Gateway (REST API with Lambda Proxy Integration):
{
"pathParameters": {
"proxy": "my-tileset-name/0/0/0.mvt"
}
}