[mapserver-users] map on the fly / symbols

Daniel Morissette morissette at dmsolutions.ca
Tue Mar 5 09:16:50 EST 2002


jef.mony at free.fr wrote:
> 
> Hi,
> 
> I try to build a map on the fly, but how declare the path to the symbol file ?
> Is it possible to add a new symbol directly in the map ?
> 
> Thanks


I'm assuming that you're using MapScript, but is it in Perl, PHP, ???

Assuming you're using PHP MapScript, then it is not possible (yet) to
set the SYMBOLSET and FONTSET parameters directly.  This was already
filed as a bug:
  http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=121

Note that a way around this problem until it is fixed would be to start
from a template mapfile in which the SYMBOLSET and FONTSET values would
already be set... and then add layers to the mapObj in memory on the
fly.

-- 
------------------------------------------------------------
 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