| |
franck has developed and Id'ed some of the dependencies you need Mapserver v4.0 php_mapscript.so and have your .map files in /var/www/html/map/. This is configurable from the Admin/Features menu. The Maps File Gallery contains a binary version of php_mapscript.so that may work for you. It will also contains some sample map files and layer files for you to set up a basic application. Mapserver v4.0 needs to work from php.cgi and not the apache module. The default map file is pacific.map if you do not specify anything when clicking on tiki-map.phtml. This is also configurable from the Admin/Features menu. I use the following conf file for Apache: AddHandler phtml-script .phtml Action phtml-script /cgi-bin/php.cgi #protect mapserver against downloads
Your files that compose the layers must be in the data subdirectory of where are your map files. ie /var/www/html/map/data. They are then manageable with the Layer Manager. You can create subdirectories and upload your geographic files... When someone wants to download a layer, all the files are copied in the /tiki/files location for download. Unfortunately on my system the file with the extension .MAP are handled as html maps. I created a special directive for http to handle all the files in the /tiki/files directory as normal files. Try it out
please link to the live Feature on tikiwiki.org or go to http://map.sopac.org/
Notes
This page is for the latest released stable version or release candidate(not stuff in CVS).
Knowledgebase / tutorial / FAQ / How-to
TikiTeam
Who is working here generally?
For more information
I hang out on the irc #tikiwiki channel | |