[mapserver-users] loadWeb(): Unknown identifier. Parsing error near (/ms4w/tmp/ms_tmp/):(line 1)
geetha at ttkmaps.com
geetha at ttkmaps.com
Tue Oct 20 04:57:12 PDT 2009
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hi all,
I went through the thread were similar post was there for
windows.I tried all possible ways to get it right,but still getting
the same error.Need help in this.Thanks in advance.
My helloworld.map file is:
#hello world example
MAP
NAME "hello_world"
SIZE 600 600
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00 #geographical extent
WEB
TEMPLATE "c:/ms4w/Apache/htdocs/helloworld.html"
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/tmp/"
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.0 0.0 END
TEXT "hello world"
END
CLASS
STYLE
COLOR 255 0 0
END
LABEL
TYPE bitmap
END
END#END CLASS
END#END LAYER
END #END MAPFILE
My helloworld.html file is:
Map Server hello world
And i call it using
http://localhost/helloworld.html [1]
I have stored both in /ms4w/Apache/htdocs/
newuser.
Links:
------
[1] http://localhost/helloworld.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091020/e8f2cb57/attachment.htm>
More information about the MapServer-users
mailing list