map file parsing in 4.6 beta3

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Jun 1 09:01:42 PDT 2005


It looks there was an enumeration added to MapServer for line caps and joins (cartolines) and it includes 'none' as an option. So, none is now a keyword and must be quoted elsewhere in the mapfile. 

Steve

>>> Bart van den Eijnden <BEN at SYNCERA-ITSOLUTIONS.NL> 06/01/05 3:53 AM >>>
Hi list,

has the MAP file parsing become more strict in 4.6 beta3?

[01-Jun-2005 10:45:07] PHP Warning:  [MapServer Error]: getString(): Parsing error near (none):(line 38)
 in D:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215

Which refers to:

      WMS_ACCESSCONSTRAINTS none

Putting quotes around none fixes this. 

But maybe this will need some warning or announcement for more inexperienced users?

Also, do all the values now need quotes?

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl



More information about the MapServer-users mailing list