|
||||
[maplab-users] (no subject)Dean Gadoury gadoury@dmsolutions.caFri, 30 May 2003 13:34:05 -0400
|
Just to clarify a little bit, in order to make lines thicker than one pixel in MapServer you need to apply a symbol (to use as a 'paint brush') and a size in the class object as Chris shows below. You can use any symbol, but a circle is usually best. If you're using MapLab, symbol 7 is a circle so try using SYMBOL 7 SIZE 2 (or whatever thickness, in pixels, you want) in your CLASS definition. If you're not using MapLab use whatever symbol is a circle in your symbol file. Dean Christopher R. Thorne wrote: > Hello, > > You can use the SIZE object which is found in the CLASS object. > The default value is SIZE 1. > e.g. > LAYER > NAME road > METADATA > "DESCRIPTION" "Roads" > END > TYPE LINE > STATUS OFF > DATA road > CLASS > NAME "Roads" > SYMBOL 0 > COLOR 220 0 0 > END > END # Layer > > LAYER > NAME road > METADATA > "DESCRIPTION" "Roads" > END > TYPE LINE > STATUS OFF > DATA road > CLASS > NAME "Roads" > SYMBOL 0 > SIZE 2 > COLOR 220 0 0 > END > END # Layer > > A good reference in what is offered in these Objects is. > > http://mapserver.gis.umn.edu/doc36/phpmapscript-class-guide.html > > Chris > > > Fabrice ANDREI (Ifree-ORE) wrote: > >> Hello. I have a little problem with mapserver : I have to change the >> thickness of lines (roads), but, I don't found how to do this in the >> demo.map. Some has the solution ? >> >> Thx. >> >> Fabrice ANDREI >> >> _______________________________________________ >> Maplab-users mailing list >> Maplab-users@dmsolutions.ca >> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >> > > -- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 gadoury@dmsolutions.ca www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |