From a729b2d6bc4aa85a8c2d35c887c5c7030fe4daf4 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 24 Oct 2024 09:35:17 -0700 Subject: [PATCH] add note to AWS regarding 6MB lambda size limit. --- deploy/aws.md | 4 ++++ pmtiles/create.md | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/deploy/aws.md b/deploy/aws.md index f955bf6..3c54336 100644 --- a/deploy/aws.md +++ b/deploy/aws.md @@ -60,6 +60,10 @@ x-cache: Hit from cloudfront You may next want to assign a custom domain name to your distribution through Route 53 and Certificate Manager and update the public hostname in step 4 above. +::: warning +AWS Lambda limits response sizes to 6 MB. This is more than enough for typical web mapping applications; you should optimize your tilesets to fit well under this limit. +::: + ## Monitoring * CloudFront will transmit metrics to the [CloudWatch us-east-1 region](https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1). diff --git a/pmtiles/create.md b/pmtiles/create.md index f1264ac..b601a54 100644 --- a/pmtiles/create.md +++ b/pmtiles/create.md @@ -61,9 +61,3 @@ ogr2ogr -dsco MINZOOM=0 -dsco MAXZOOM=15 -f "PMTiles" filename.pmtiles "PG:host= ``` * `MAXZOOM=15` is sufficient for street-level mapping. Choosing less detail with a lower `MAXZOOM` will reduce the size of the final file. - -## Other - -::: warning -This section is under construction. -:::