Installing MagicMap

From MobiComp

Jump to: navigation, search

needs updating for 8.1, plus more detail

MagicMap is an indoor positioning software for windows, linux and windows CE.

Our own server is at: www.piranesi.dyndns.org/ - this is all you need to enter. Do not enter magicmap after /

New maps can be uploaded by just entering the name of the map plus a url in the form of http://...


  • MagicMapCE this is a new magic map version for Windows Mobile. After a few tests I will report on the results.


How to get the Windows version working: The German how to page provides screen shots of how to install active perl and Netstumbler.

Basically Netstumbler and Active Perl need to be installed and this perl script needs to be called.

Installing the MagicMap server

cd /usr/local
mkdir magicmap
cd magicmap
svn checkout https://svn.sourceforge.net/svnroot/magicmap/tags/V20060411_0_8_0/magicmapserver magicmapserver
cd magicmapserver
ant

If using the WinCE client:

cp TCPGateway_0.8.zip .
unzip TCPGateway_0.8.zip

Create the MagicMap database:

sudo su postgres
createuser magicmap
psql
  alter user magicmap with password 'magicmap';
  createdb --owner=magicmap magicmap --password

add to IPv4 part of /usr/local/pgsql/data/pg_hba.conf
host    magicmap     all         127.0.0.1/32            password  passwd

Copy the following jars to /usr/local/tomcat/common/lib

   activation.jar
   log4j-1.2.9.jar
   mail.jar
   xalan.jar
   xercesImpl.jar
   xml-apis.jar
   xmlsec.jar
   edit magicmap.xml and copy to /usr/local/tomcat/conf/Catalina/localhost/
   edit /usr/local/apache2/conf/httpd.conf, add
   ProxyPass /magicmap http://localhost:8080/magicmap
   ProxyPassReverse /magicmap http://localhost:8080/magicmap