[Mapserver-users] Too many layers

Vaidas Velykis vaidas.velykis at klet.vest.lt
Tue Jan 14 03:10:30 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0028_01C2BBB5.2AE7BC60
Content-Type: text/plain;
	charset="iso-8859-4"
Content-Transfer-Encoding: quoted-printable

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_0028_01C2BBB5.2AE7BC60
Content-Type: text/html;
	charset="iso-8859-4"
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=3Diso-8859-4">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I`m sorry for my poor =
english:)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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 layers=20
defined</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have&nbsp;map of electricity supply =
system, in=20
wich&nbsp;are 3 basic elements: lines, pylons and substations. But all =
the=20
electricity supply system I must graduated by regions: one layer - one =
basic=20
element in that region. So, for one region I have 3 grouped layers. In =
map, user=20
chooses, wich&nbsp;regions (grouped layers) he wants to see in map. =
There are=20
~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 in my=20
case, I think, that doesn`t work, because with tileindex user in map =
will see=20
only 3 layers: lines, pylons and substations, and =
can`t&nbsp;choose&nbsp;any=20
separate region. Or i`m I wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial size=3D2>Besides, I&nbsp;can`t compile map.h =
file (now=20
MS_Maxlayers=3D100): when I compile map.h with MS_Maxlayers=3D400, =
mapserv returns=20
the same error. What can be wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Vaidas Velykis</DIV>
<DIV>Lithuania</DIV></FONT></BODY></HTML>

------=_NextPart_000_0028_01C2BBB5.2AE7BC60--




More information about the mapserver-users mailing list