menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Cloud News

>

Convert Ge...
source image

Dev

1M

read

107

img
dot

Image Credit: Dev

Convert GeoJSON to PMTiles with AWS Serverless Pattern

  • PMTiles is a Cloud-optimized format for storing and serving map tiles in a "serverless" way.
  • Protmaps provides examples of serving PMTiles with AWS Lambda or serverless infrastructure.
  • The article demonstrates creating PMTiles in a serverless manner using AWS services.
  • The architecture involves S3 buckets for input GeoJSON and output PMTiles, along with a Lambda function for conversion.
  • S3 event notifications trigger the Lambda function for GeoJSON to PMTiles conversion.
  • The Lambda function downloads GeoJSON, runs tippecanoe for conversion, and uploads PMTiles to S3.
  • The article includes CDK Stack and Lambda codes for implementing the serverless PMTiles conversion.
  • A Docker container image is used for the Lambda function with tippecanoe dependencies.
  • The article covers testing by putting GeoJSON to S3, Lambda processing, and PMTiles upload.
  • PMTiles Viewer is suggested for checking the contents of PMTiles.

Read Full Article

like

6 Likes

For uninterrupted reading, download the app