Skip to content

Commit a729b2d

Browse files
committed
add note to AWS regarding 6MB lambda size limit.
1 parent 1d8e016 commit a729b2d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

deploy/aws.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ x-cache: Hit from cloudfront
6060

6161
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.
6262

63+
::: warning
64+
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.
65+
:::
66+
6367
## Monitoring
6468

6569
* 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).

pmtiles/create.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,3 @@ ogr2ogr -dsco MINZOOM=0 -dsco MAXZOOM=15 -f "PMTiles" filename.pmtiles "PG:host=
6161
```
6262

6363
* `MAXZOOM=15` is sufficient for street-level mapping. Choosing less detail with a lower `MAXZOOM` will reduce the size of the final file.
64-
65-
## Other
66-
67-
::: warning
68-
This section is under construction.
69-
:::

0 commit comments

Comments
 (0)