Home

Awesome

Build Status GoDoc Go Report Card codecov

Preview

<img width="1645" alt="preview" src="https://user-images.githubusercontent.com/9129280/77917392-31dca180-72a3-11ea-9e93-27c331731196.png">

Summary

Draw a polygon on the map or paste a geoJSON and explore how the s2.RegionCoverer covers it with S2 cells depending on the min and max levels. Drop a marker and inspect the corresponding S2 cell.

Quick start

 go run cmd/s2-geojson/main.go

Docker

docker run -p 8080:8080 --rm lmaroulis/s2-geojson

License

This project is licensed under the MIT License - see the LICENSE file for details.