Jay, you need to reference the symbolset file in the map section of you mapfile SYMYBOLSET '/path/to/your/symbolset.sym'
then you can simply use the names of the defined symbols. Cheers, Michael 2010/9/16 Jay Kapalczynski <jkapalczyn...@ci.maple-grove.mn.us>: > Thanks guys for your thoughts...still green to this and trying to learn > > I would make real sense to me to create the .sym file where I would not have > to redefine the particular symbol sets > > > > DO I HAVE THIS RIGHT? > > > > 1. BUT how do I define the symbol set or point to the .sym file from the > map file ????? > > > > SYMBOL FILE: So in the Symbol file I would have this (example of two of > them) > > > > SYMBOL > > NAME 'bike' > > TYPE pixmap > > IMAGE '/home/mapserv/proj/pmap/bike.png' > > TRANSPARENT 2 > > END > > SYMBOL > > NAME 'church' > > TYPE pixmap > > IMAGE '/home/mapserv/proj/pmap/church.png' > > TRANSPARENT 5 > > END > > > > > > MAP FILE: I would simply call them? > > > > CLASS > > STYLE > > SYMBOL "bike" > > COLOR 0 0 0 > > OUTLINECOLOR 0 0 0 > > END > > END > > > > > > -----Original Message----- > From: Fawcett, David (MPCA) [mailto:david.fawc...@state.mn.us] > Sent: Thursday, September 16, 2010 9:50 AM > To: Jay Kapalczynski; 'Michael Schulz' > Cc: mapserver-users@lists.osgeo.org > Subject: RE: [mapserver-users] Symbology > > > > You can put the symbol definition in your map file, or in a symbols file > (e.g. symbols.sym) and then set SYMBOLSET at the MAP level to point to your > symbols.sym file. > > > > David. > > > > -----Original Message----- > > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jay > Kapalczynski > > Sent: Thursday, September 16, 2010 9:45 AM > > To: 'Michael Schulz' > > Cc: mapserver-users@lists.osgeo.org > > Subject: RE: [mapserver-users] Symbology > > > > Ok that seems to make sense...but where do I place the image SYMBOL (your > example below)? DO I place that in the map file as well? > > Little confused there.... > > > > Thanks Michael and Adam for your return replys. > > > > > > -----Original Message----- > > From: mandsch...@googlemail.com [mailto:mandsch...@googlemail.com] On Behalf > Of Michael Schulz > > Sent: Thursday, September 16, 2010 9:27 AM > > To: Jay Kapalczynski > > Cc: mapserver-users@lists.osgeo.org > > Subject: Re: [mapserver-users] Symbology > > > > Hi, > > > > yes, you have to define an image symbol in your symbolset and use that: > > > > SYMBOL > > NAME 'church' > > TYPE pixmap > > IMAGE 'church.gif' > > TRANSPARENT 5 > > END > > > > then use > > SYMBOL 'church' in your style. > > > > Cheers, Michael > > > > 2010/9/16 Jay Kapalczynski <jkapalczyn...@ci.maple-grove.mn.us>: > >> In a map file...Is there a way to use an image (jpg, bmp, png) instead of >> a > >> marker symbol (star, circle etc) when symbolizing points > >> > >> > >> > >> LAYER > >> > >> DUMP TRUE > >> > >> NAME 'Firestations' > >> > >> DATA 'firestations' > >> > >> TYPE POINT > >> > >> STATUS ON > >> > >> CLASS > >> > >> NAME 'Fire Stations' > >> > >> COLOR 254 0 0 > >> > >> INSTEAD OF STAR PLACE AN IMAGE > >> > >> SYMBOL "star" > >> > >> SIZE 8 > >> > >> END > >> > >> > >> > >> _______________________________________________ > >> mapserver-users mailing list > >> mapserver-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > >> > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Aufwind durch Wissen! > > > > Qualifizierte Open Source Schulungen bei der > > http://www.foss-academy.eu/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > ----------------------------------------------------------- > > Michael Schulz > > msch...@webgis.de > > > > in medias res > > Gesellschaft für Informationstechnologie mbH > > > > Schwimmbadstraße 2 > > D-79100 Freiburg i. Br. > > > > Tel: +49 (0)761 705798-102 > > Tel: +49 (0)761 705798-0 > > Fax: +49 (0)761 705798-09 > > > > http://www.webgis.de / http://www.zopecms.de > > -------------------------------------------------------------- > > Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck > > Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Aufwind durch Wissen! Qualifizierte Open Source Schulungen bei der http://www.foss-academy.eu/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------------------------------- Michael Schulz msch...@webgis.de in medias res Gesellschaft für Informationstechnologie mbH Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 http://www.webgis.de / http://www.zopecms.de -------------------------------------------------------------- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users