[Mapserver-users] 50 classes and thicker lines

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Tue Apr 8 10:50:44 EDT 2003


--=====================_343904939==.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable

Christian,

the number of layers is limited to 50. If you need more you have to compile=
=20
Mapserver on your own. The number of classes - actually I don't know. But=20
could be the same reason.

For thicker lines you just have to change the SIZE command in CLASS.... see=
=20
below.

Ciao,

Stefan

         LAYER
                 NAME boundaries
                 TYPE POLYGON
                 STATUS DEFAULT
                 DATA boundaries
                 LABELITEM CNTRY_NAME
                 CLASSITEM CNTRY_NAME
                 CLASS
                         NAME 'International Boundaries'
                         OUTLINECOLOR 150 150 150
                         SIZE 3
                         SYMBOL 'circle'
                         TEMPLATE 'dummy'
                         LABEL
                                 FONT arial
                                 TYPE truetype
                                 ANTIALIAS false
                                 SIZE 8
                                 COLOR 200 50 70
                                 POSITION cc
                                 PARTIALS FALSE
                                 FORCE true
                         END
                 END
         END  # LAYER



>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=DFstra=DFe 128
> > d-80797 m=FCnchen
> > 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

         _______________________________________

         Stefan Schwarzer
         Consultant on GEO

         UNEP/DEWA/GRID-Geneva
         Chemin des Anemones 11
         CH - 1219 Chatelaine
         Switzerland

         Tel: (+41) 22.917.83.49
         Fax: (+41) 22.917.80.29

         Email: stefan.schwarzer at grid.unep.ch
         Internet: http://geodata.grid.unep.ch/
         _______________________________________=20
--=====================_343904939==.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<body>
<font size=3D3>Christian,<br><br>
the number of layers is limited to 50. If you need more you have to
compile Mapserver on your own. The number of classes - actually I don't
know. But could be the same reason.<br><br>
For thicker lines you just have to change the SIZE command in CLASS....
see below.<br><br>
Ciao,<br><br>
Stefan<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>LAYER<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>NAME
boundaries<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>TYPE
POLYGON<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>STATUS
DEFAULT<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>DATA
boundaries<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>LABELITEM
CNTRY_NAME <br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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bsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;</x-tab>PARTIALS
FALSE<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;</x-tab>FORCE
true<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>END<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>END<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>END&nbsp;
# LAYER<br><br>
<br><br>
<blockquote type=3Dcite class=3Dcite cite>hello,<br><br>
excuse me for the simple question but i found no description or reference
in<br>
the internet. is there any restriction of the number of classes in
mapserver<br>
3.63. it seems that 51 or 52 classes are to much for the mapserver
(Windows<br>
Binary Download).<br><br>
thanks and greetings from munich<br>
christian<br><br>
p.s. is it possible to get thicker lines with mapserver? the
size-parameter<br>
doesn't work.<br><br>
<br>
&gt; christian strobl<br>
&gt; diplom-geologe<br>
&gt; bayerisches geologisches landesamt<br>
&gt; he=DFstra=DFe 128<br>
&gt; d-80797 m=FCnchen<br>
&gt; telefon: (089) 9214-2774<br>
&gt; christian.strobl at gla.bayern.de<br>
&gt;
<a href=3D"http://www.bayern.de/gla"=
 eudora=3D"autourl">http://www.bayern.de/gla</a><br>
&gt; <br>
&gt; <br><br>
_______________________________________________<br>
Mapserver-users mailing list<br>
Mapserver-users at lists.gis.umn.edu<br>
<a href=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users" eudora=
=3D"autourl">http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</a>
</blockquote>
<x-sigsep><p></x-sigsep>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>_____________=
__________________________<br><br>
</font><font=
 size=3D2><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><b>=
Stefan Schwarzer<br>
</b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Consultan=
t on GEO<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>UNEP/DEWA/GRI=
D-Geneva<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Chemin des=
 Anemones 11<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>CH - 1219=
 Chatelaine<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Switzerland<b=
r><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Tel: (+41)=
 22.917.83.49<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Fax: (+41)=
 22.917.80.29<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Email:=
 stefan.schwarzer at grid.unep.ch<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Internet: <a=
 href=3D"http://geodata.grid.unep.ch/"=
 eudora=3D"autourl">http://geodata.grid.unep.ch/</a><br>
</font><font=
 size=3D3><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>___=
____________________________________</font></body>
</html>

--=====================_343904939==.ALT--




More information about the mapserver-users mailing list