Skip to content

Simple demo application demonstrating features of the redis-s2geo module.

License

Notifications You must be signed in to change notification settings

sulewicz/redis-s2geo-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Simple demo application demonstrating features of the redis-s2geo module.

The application fetches and displays the polygons in the current viewport on each map move event. The polygons are fetched from an redis-s2geo index in the local Redis instance.

Screenshot

Prerequisites

You need to have a locally running Redis instance with the redis-s2geo module loaded. See the redis-s2geo README.

How to build

Simply run make. To start the app run make run.

You can also start the service manually:

./redis-s2geo-sample assets/alaska.geojson

The first argument defines the path to the collection of polygons that will be indexed on the Redis server before the web app gets started.

About

Simple demo application demonstrating features of the redis-s2geo module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published