Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.
/ binoculars Public archive

Visualize geo spatial map tile usage interactively using a heat map overlay.

Notifications You must be signed in to change notification settings

sourishkrout/binoculars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binoculars

Visualize geo spatial map tile usage interactively using a heat map overlay.

Check out the binoculars demo at: http://binoculars.nodejitsu.com/map.html

How it works

binoculars provides a zoom-able and pan-able map view of the San Francisco bay area. It'll put a heat map inspired overlay on top of the map. The overlay is based on the view count of each tile. The map tile view count is based on the data from a major site on the web that gets thousands of users every day. Each tile ranges from dark red (no views) to bright green (most views).

Data + License

Due to license restrictions I, unfortunately, can't open source the usage data of the base map tiles. If people are interested I can included the specification of the data format though. The mapping API and it's tiles are licensed under a proprietary (no ESRI or Google though). Restrictions apply. All other code included in the repo is free to anyone.

Stack

The app runs off node.js. The data gets fetched from in-memory storage redis on the fly before each map tile gets produced by the cairo backed server-side implementation of canvas (PNG). The usage data (not included) was extracted and aggregate from Apache logs using hadoop and pig. Each base map tile triggers a separate request for an overlay tile to the node.js app that basically returns a PNG file. That way it integrates nicely with the underlying mapping API.

That's it!

Hit me up if you have questions or ideas.

About

Visualize geo spatial map tile usage interactively using a heat map overlay.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published