Thanks Michael - that has pointed me in the right direction and I now have a
working Hello World.
I had already tried the MAP on the first line, but this was giving a
parsing error on line 1. I assumed this referred to the MAP in the map
file, but it was actually due to a lack of the magic string
If you still get an error, you will want to make sure that your MAP has an
associated END line to close out the MAP block. It will likely be the last
line in your map file.
David.
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
Thanks David Michael,
I already had the extra END at the end of my map files. It was the
initial MAP which I was missing (probably because I created these files
initially from Bill Kropla's book - and that how he has coded his map
files).
Adding the initial MAP fixed all my map applications -
Hello,
I have been using MapServer for about 18 months to serve the base maps for
EcoMapCostaRica.com, and more recently, equal-area-maps.com.
Originally, I had a lot of trouble building it for the FreeBSD environment
used by my web host (Pair Networks), but a fellow user (Jason Birch) was
able
Richard,
Add a new line to the beginning of your mapfile of just the word MAP.
Eg
MAP
NAME Hello_World
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
Its part of some security changes in the latest version of Mapserver. You
also need to add a SYMBOLSET to the