Skip to content

xjlin0/ZIPmap

Repository files navigation

This is a personal practice of Leaflet GeoJSON Tile Layer serving by a remote Geoserver (AJAX/JSONP), based on bootstrap-ruby/sinatra-bootstrap. Preparing for the US census data

example screenshot

To start it locally for example combined (calculated) data:

  1. put untar/unziped shape files under current folder's data/combine folder
  2. install geoserver and ensure ENABLE_JSONP is not comment out by editing its configuration file, such as /usr/local/Cellar/geoserver/2.13.2/libexec/webapps/geoserver/WEB-INF/web.xml
  3. start geoserver by geoserver /current/folder/
  4. follow example of geoserver manual to setup and publish shape files with WFS enabled.
  5. test example call to geoserver.
  6. bundle install and bundle exec rackup to start sinatra, enjoy!

About

ZIP code mapping with census 2010 data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published