MapScript SetSymbolSet

Christopher Condit condit at SDSC.EDU
Wed Feb 15 17:19:58 EST 2006


Hi Julien-
Thanks for your response.  Here are the contents of the symbol file:
SYMBOLSET
  SYMBOL
    NAME 'circle'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED TRUE
  END
END

The problem I'm having is intermittent and I can't reliably reproduce
it.  My only thought was that for some reason mapscript couldn't read
the file.  Is there any way to embed these symbols directly in the
mapfile instead of referencing the symbolset file?

Thanks,

Chris

-----Original Message-----
From: Julien-Samuel Lacroix [mailto:jlacroix at dmsolutions.ca] 
Sent: Wednesday, February 15, 2006 2:14 PM
To: Christopher Condit
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] MapScript SetSymbolSet

Hi,
This kind of error is usually returned when an illegal word is in the 
symbolset file. Check at the first line of:
C:\absolute\symbol\path.sym

Is there anything special?

If not, can you provide a minimal test script to reproduce the error?

Julien

Christopher Condit wrote:
> Hi -
> 
> I'm having a problem in my c# MapScript application.  Occasionally
when 
> I call
> 
> Map.setSymbolSet(@"C:\absolute\symbol\path.sym");
> 
> I get an error parsing the symbol file at line 0 (SYMBOLSET).
> 
>  
> 
> Is mapscript locking the symbol file?  Has anyone else seen this
problem?
> 
>  
> 
> Thanks,
> 
>  
> 
> Chris
> 

-- 
------------------------------------------------------------
Julien-Samuel Lacroix            jlacroix at dmsolutions.ca
DM Solutions Group               http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list