Re: [mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. "

2009-11-19 Thread Richard Marsden
mapserver-users@lists.osgeo.org > *Subject:* Re: [mapserver-users] Build Errors; Currently "msLoadMap(): > Unknown identifier. First token must be MAP, this doesn't look like a > mapfile. " > > > > Thanks Michael - that has pointed me in the right direction and I now h

RE: [mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. "

2009-11-19 Thread Fawcett, David (MPCA)
Richard Marsden Sent: Thursday, November 19, 2009 8:13 AM To: Smith, Michael ERDC-CRREL-NH; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. " Thanks Mic

Re: [mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. "

2009-11-19 Thread Richard Marsden
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

Re: [mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. "

2009-11-18 Thread Smith, Michael ERDC-CRREL-NH
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 t

[mapserver-users] Build Errors; Currently "msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile. "

2009-11-18 Thread Richard Marsden
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 to