[mapserver-users] problem on template file

avin mohanza avin_ngky at yahoo.com
Wed Jul 17 06:45:42 PDT 2013


hello.
i am working on mapserver.
i am using mapserver version 6.0.1. and linux debian as my base operating
system.

i have a mapfile. this file is exported from qgis plugin manager.
it has 3 layers. after finished parsing the .osm map(i am using osm map).
i save the 3 layers as shapefile(because when i want to show the map in
browser, there will be errors).

also i have created the template file for this mapfile. i took the template
from http://mapserver.org/mapfile/template.html#format. at the bottom of the
page. i have adjusted the attribute on the template file.

but when i want to show it in the browser by writing he address
http://localhost/cgi-bin/mapserv?map=/var/www/arnsbergMS/arnsberg.map
it just show the template without the map.

the map itself comes out perfectly when i enter this address
http://localhost/cgi-bin/mapserv?map=/var/www/arnsbergMS/arnsberg.map&layers=all&mode=map

but when i click the template file on htmlroot, the template comes out with
the map.

how come? do i made mistake on changing the template atribute?
please help



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/problem-on-template-file-tp5067070.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list