/annisvis

Geographical Visualization of Corpus Data

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

#Layout site/ - statically served files (js libraries and css) cgi-bin/ - application directory cgi-bin/js - js source files

#Config Files

  • annisvis.conf - global configuration, see example file
  • Predefined locations (name configured in annisvis.conf) Format: { "locationName" : { "lat" : "latValue", "lng" : "lngValue" } }

#Install

  • download annisvis to your deployment directory (application path must be writeable to apache)
  • download jquery.contextmenu and oms to the site directory
  • obtain API Keys for Google Geocoder and the Google Maps JS API
  • copy cgi-bin/annisvis.conf.sample to annisvis.conf and fill out values.
  • integrate cgi-bin/apache.conf in your apache configuration (e.g. by placing it in /etc/apache2/modules.d), making sure it loads after mod_wsgi is loaded
  • both these files are configured to expect the application in /srv/annisvis but you can set it to any directory
  • annisvis.py will cache geocoded locations when the page is loaded for the first time, you can invoke it from the command line too to do that
  • you can make it re-code the locations by deleting locations_cache.json

#Sample Deployment

#Dependencies ##JavaScript Libraries

##Python Libraries

##Other

  • ANNIS
  • Apache and mod_wsgi
  • python 2