[mapserver-users] getSymbol() error (was: Re: Problems with PHP/Mapscript)

Daniel Morissette morissette at dmsolutions.ca
Tue Nov 6 13:39:29 EST 2001


Greg Liapis wrote:
> 
> Warning: MapServer Error in getSymbol(): (Points):(5) in /path/to/Greece.php on line 5
> Fatal error: Failed to open map file /path/to/Greece.map in /path/to/Greece.php on line 5

Greg,

This error is related to a recent change made by Steve to the syntax of
the FILLED and ANTIALIAS symbol and label parameters.  See item#3 in the
following archive message:
http://mapserver.gis.umn.edu/majordom_lists/archives/mapserver-users/html/0110/msg00374.html

As you (and other users) upgrade to the latest 3.5 CVS version, you need
to change all occurences of FILLED and ANTIALIAS in your mapfiles and
symbol files to add a TRUE or FALSE value following the keyword.

e.g.

   Symbol
    Name 'circle'
    Type ELLIPSE
    Filled
    Points
      1 1
    END
   END 

becomes

   Symbol
    Name 'circle'
    Type ELLIPSE
    Filled TRUE
    Points
      1 1
    END
   END 

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the mapserver-users mailing list