[Mapserver-users] 50 classes and thicker lines

Michael Schulz mschulz at webgis.de
Tue Apr 8 07:23:39 PDT 2003


Hi,

map.h defines MS_MAXCLASSES as 50. This value is compiled into the mapserver
binary, you will need a new mapserver binary with that value changed prior to
compiling. You can't change it afterwards.

If you are using the default symbol for your layer they are always set to the
size of one pixel (doesn't matter if point, line or polygon). More information:
http://mapserver.gis.umn.edu/doc/mapfile-reference.html#class
look for keyword SYMBOL.

You could just define a simple point symbol of your own, use it in your layer
definition with
  symbol "mysymbolname"
then you can use the size parameter.

Example symbol definition you could use for points and lines:

SYMBOL
  NAME "mysymbolname"
  TYPE ELLIPSE
  FILLED TRUE
  POINTS 1 1 END
END

HTH, Michael



"Strobl, Christian" schrieb:

> hello,
>
> excuse me for the simple question but i found no description or reference in
> the internet. is there any restriction of the number of classes in mapserver
> 3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows
> Binary Download).
>
> thanks and greetings from munich
> christian
>
> p.s. is it possible to get thicker lines with mapserver? the size-parameter
> doesn't work.
>
> > christian strobl
> > diplom-geologe
> > bayerisches geologisches landesamt
> > heßstraße 128
> > d-80797 münchen
> > telefon: (089) 9214-2774
> > christian.strobl at gla.bayern.de
> > http://www.bayern.de/gla
> >
> >
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the MapServer-users mailing list