Ads by RevenueHits

Linuxeros Faq

Ads by Bidvertiser

Busqueda sobre Linux y software libre

GIS PMapper layer ( + Fedora 11 )

Nos tomó un rato correr pmapper en fedora, en la oficina.


p.mapper + fedora 11

by Rodolfo Alcazar — last modified Oct 26, 2009 08:42 PM
PMapper, is a GIS presentation layer which accesses MapServer via php-mapscript. Fedora 11 includes OpenLayers in its repos. The PMapper demo turns to be easy to install, and run. Any further development can be continued there.
Base software installation
# yum install php php-mapserver mapserver proj-epsg
Apache fixes

  • .phtml files need to be handled by php:
# cat /etc/httpd/conf.d/php.conf
        AddHandler php5-script .php .phtml
        AddType text/html .php .phtml

  • p.mapper could handle logging
# touch /var/log/pm_debug.log
# chmod 666 /var/log/pm_debug.log
# service httpd restart
Download, unpack p.mapper last version
# mkdir /var/www/html/gis/
# cd /var/www/html/gis/
# wget ""
# wget ""
# unzip
# unzip
Demo Mapfile needs some fixing
# cat /var/www/html/gis/pmapper-4.0-beta2/config/default/
        SHAPEPATH "../../../demodata"
        IMAGEPATH "/var/www/html/gis/tmp/"
        IMAGEURL "/gis/tmp/"
# mkdir /var/www/html/gis/tmp
# chown -R apache:apache /var/www/html/gis/

  • If map displaying stills on "loading...", could be the fontsets (check logs). The cause: /var/www/html/gis/pmapper-4.0-beta2/config/common/fonts/'''msfontset.txt''' has upper+lowercase font names. Check if your fonts are ok on /var/www/html/gis/pmapper-4.0-beta2/config/common/fonts/
Test page
$ firefox
Error logging
# tail -f /var/log/pm_debug.log

Ads By Bidvertiser

Tienda linuxeros FAQ


Ads by Daily Motion