Skip to content

aws-samples/h3-udf-for-athena

H3 UDF for Athena

This repository contains example code to support the blog post Extend geospatial queries in Amazon Athena with UDFs and AWS Lambda. The UDF makes it straightforward for Amazon Athena to find out which Uber H3 hexagon a pair of (lat, long) coordinates are in. This can be used for subsequent analysis and visualisation.

We include code for the AWS Lambda function that powers the new Athena UDF. Also included is an example Jupyter Notebook which may be used in an Amazon SageMaker Notbook Instance to render a choropleth map.

Map

How to use

  • Package the UDF by going to udf directory, and launch mvn clean package.
  • Run cdk deploy in the infrastructure directory of the repository.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •