[Mapserver-users] Too many layers
Vaidas Velykis
vaidas.velykis at klet.vest.lt
Tue Jan 14 02:38:27 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0022_01C2BBC9.D604E1E0
Content-Type: text/plain;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable
Thanks for soon answer and idea, how to split regions on the map.
But I still thinking, why I can`t increase MS_Maxlayers: then I try to =
increase MS_Maxlayers, nothing changes. When I decrease MS_Maxlayer to =
15, my smaller map (~20 layers) doesn`t work (same error - msLoadMap(): =
Unknown identifier. Too many layers defined). Compilation with increased =
MS_Maxlayer doesn`t give any errors... Maybe MS_Maxlayers depends on =
MS_Maxclasses, or on something else?
----- Original Message -----=20
From: Stepan Kafka=20
To: Vaidas Velykis ; mapserver-users at lists.gis.umn.edu=20
Sent: Tuesday, January 14, 2003 11:08 AM
Subject: RE: [Mapserver-users] Too many layers
Hi Vaidas,
with tileindex user can see all data across the all regions as =
seamless dataset. It may be useful for you - or not? If you can choose =
only one region and display it, you can do it by changing underlying =
dataset names (or paths) on-fly using cgi variables, e.g.
map_yourlayer_data=3D"/region2/pylons"
It requires probably more javascript in your page to switch the =
desired region. But you will have only 3 layers in your mapfile.=20
(About compiling mapserver - We were successful with increasing the =
number of layers as well as classes etc. I don't know, why it doesn't =
work.)
Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz=20
-----P=F9vodn=ED zpr=E1va-----
Od: mapserver-users-admin at lists.gis.umn.edu =
[mailto:mapserver-users-admin at lists.gis.umn.edu]za u=9Eivatele Vaidas =
Velykis
Odesl=E1no: 14. ledna 2003 9:11
Komu: mapserver-users at lists.gis.umn.edu
P=F8edm=ECt: [Mapserver-users] Too many layers
I`m sorry for my poor english:)
Mapserv returns such error line: msLoadMap(): Unknown identifier. =
Too many layers defined
I have map of electricity supply system, in wich are 3 basic =
elements: lines, pylons and substations. But all the electricity supply =
system I must graduated by regions: one layer - one basic element in =
that region. So, for one region I have 3 grouped layers. In map, user =
chooses, wich regions (grouped layers) he wants to see in map. There are =
~42regions, that equals 126 layers.
How can I make my mapserv work?
In previuos posts I read about tileindex. But in my case, I think, =
that doesn`t work, because with tileindex user in map will see only 3 =
layers: lines, pylons and substations, and can`t choose any separate =
region. Or i`m I wrong?
Besides, I can`t compile map.h file (now MS_Maxlayers=3D100): when I =
compile map.h with MS_Maxlayers=3D400, mapserv returns the same error. =
What can be wrong?
Thanks in advance,
Vaidas Velykis
Lithuania
------=_NextPart_000_0022_01C2BBC9.D604E1E0
Content-Type: text/html;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1250">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks for soon answer and idea, how to =
split=20
regions on the map.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But I still thinking, why I can`t =
increase=20
MS_Maxlayers: then I try to increase MS_Maxlayers, nothing changes. When =
I=20
decrease MS_Maxlayer to 15, my smaller map (~20 layers) doesn`t work =
(same error=20
- <FONT face=3D"Times New Roman" size=3D3>msLoadMap(): Unknown =
identifier. Too many=20
layers defined). Compilation with increased MS_Maxlayer doesn`t give any =
errors... Maybe MS_Maxlayers depends on MS_Maxclasses, or on something=20
else?</FONT></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dstepan.kafka at centrum.cz =
href=3D"mailto:stepan.kafka at centrum.cz">Stepan=20
Kafka</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dvaidas.velykis at klet.vest.lt=20
href=3D"mailto:vaidas.velykis at klet.vest.lt">Vaidas Velykis</A> ; <A=20
title=3Dmapserver-users at lists.gis.umn.edu=20
=
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, January 14, 2003 =
11:08=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
Too many=20
layers</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3DArial =
color=3D#0000ff size=3D2>Hi=20
Vaidas,</FONT></SPAN></DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> with tileindex user can see all data across the all =
regions as=20
seamless dataset. It may be useful for you - or not? If you can choose =
only=20
one region and display it, you can do it by changing underlying =
dataset=20
names (or paths) on-fly using cgi variables,=20
e.g.</FONT></SPAN></DIV>
<DIV><SPAN class=3D841075508-14012003></SPAN> </DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3D"Courier New"=20
size=3D2>map_yourlayer_data=3D"/region2/pylons"</FONT></SPAN></DIV>
<DIV><SPAN class=3D841075508-14012003></SPAN> </DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3DArial =
color=3D#0000ff size=3D2>It=20
requires probably more javascript in your page to switch the desired=20
region.</FONT> <FONT face=3DArial color=3D#0000ff size=3D2>But =
you will have=20
only 3 layers in your mapfile. </FONT></SPAN></DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>(About compiling mapserver - We were successful with =
increasing the=20
number of layers as well as classes etc. I don't know, why it doesn't=20
work.)</FONT></SPAN></DIV>
<DIV><SPAN class=3D841075508-14012003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D841075508-14012003>
<P><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D841075508-14012003>Stepan =
Kafka<BR></SPAN></FONT></FONT></FONT><FONT=20
face=3DArial><FONT color=3D#0000ff><FONT size=3D2>Help Service Remote=20
Sensing<BR>tel: +420-327514118<BR></FONT></FONT></FONT><A=20
href=3D"mailto:kafka at email.cz" target=3D_blank><FONT face=3DArial=20
size=3D2>mailto:kafka at email.cz</FONT></A><BR><A =
href=3D"http://www.bnhelp.cz/"=20
target=3D_blank><FONT face=3DArial =
size=3D2>http://www.bnhelp.cz</FONT></A><FONT=20
face=3DArial color=3D#0000ff size=3D2> </FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
size=3D2>-----P=F9vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
mapserver-users-admin at lists.gis.umn.edu=20
[mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za =
u=9Eivatele</B> Vaidas=20
Velykis<BR><B>Odesl=E1no:</B> 14. ledna 2003 9:11<BR><B>Komu:</B>=20
mapserver-users at lists.gis.umn.edu<BR><B>P=F8edm=ECt:</B> =
[Mapserver-users] Too=20
many layers<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I`m sorry for my poor =
english:)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Mapserv returns such error line: =
<FONT=20
face=3D"Times New Roman" size=3D3>msLoadMap(): Unknown identifier. =
Too many=20
layers defined</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have map of electricity =
supply system,=20
in wich are 3 basic elements: lines, pylons and substations. =
But all=20
the electricity supply system I must graduated by regions: one layer =
- one=20
basic element in that region. So, for one region I have 3 grouped =
layers. In=20
map, user chooses, wich regions (grouped layers) he wants to =
see in=20
map. There are ~42regions, that equals 126 layers.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>How can I make my mapserv =
work?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>In previuos posts I read about =
tileindex. But=20
in my case, I think, that doesn`t work, because with tileindex user =
in map=20
will see only 3 layers: lines, pylons and substations, and=20
can`t choose any separate region. Or i`m I =
wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></DIV>
<DIV><FONT face=3DArial size=3D2>Besides, I can`t compile map.h =
file (now=20
MS_Maxlayers=3D100): when I compile map.h with MS_Maxlayers=3D400, =
mapserv=20
returns the same error. What can be wrong?</FONT></DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Vaidas Velykis</DIV>
<DIV>Lithuania</DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>
------=_NextPart_000_0022_01C2BBC9.D604E1E0--
More information about the MapServer-users
mailing list