[Mapserver-users] tip request

Martin, Daniel A Daniel.A.Martin at erac.com
Thu Jan 22 11:46:29 PST 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3E120.6DCFF724
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

If you don't use a HTML legend, you get a single image for the entire
legend.  Do you require the functions of an HTML legend?
=20
-Dan

	-----Original Message-----
	From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Giorgio
Plazzotta
	Sent: Thursday, January 22, 2004 10:53 AM
	To: mapserver-users at lists.gis.umn.edu
	Subject: [Mapserver-users] tip request
=09
=09
	Hi all,
	in my application i am not using the legend tool provided with
mapserver and  i am managing it client side with dhtml and javascript.
There is a problem caused by the HTTP protocol characteristics that i
would like to solve. It happens when i have a project with many classes
in the legend (example 300 classes). Each classes need a small raster
file to describe how the class is rendered. If the files, though small,
are many, the hppt protocol require that a connection between the client
and the server is established everytime so even if the  amount of data
to transfer is not huge, the time to transfer the hundreds files is not
acceptable. I think that there can be several different ways to solve it
but don't know if they will work and which is the best. For example i
should try to pass only one file containing all the legend symbols but
then i need a good way to show only a portion of it inside the client
code. I could also load the files only when they are needed so
posticipating and segmenting the load. I don't want to use client
technologie that are not already embedded in the default browser
(explorer) so no plug in, activex and so on. Probably some of you have a
good tip about it. thanx in advance
	=20
	Giorgio Plazzotta
	Saras Ricerche=20
	Assemini (CA) - Italy
	=20


------_=_NextPart_001_01C3E120.6DCFF724
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D009124519-22012004><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
don't use a HTML legend, you get a single image for the entire =
legend.  Do=20
you require the functions of an HTML legend?</FONT></SPAN></DIV>
<DIV><SPAN class=3D009124519-22012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D009124519-22012004><FONT face=3DArial color=3D#0000ff =

size=3D2>-Dan</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu] <B>On Behalf Of =
</B>Giorgio=20
  Plazzotta<BR><B>Sent:</B> Thursday, January 22, 2004 10:53 =
AM<BR><B>To:</B>=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> [Mapserver-users] =
tip=20
  request<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>in my application i am not =
using the=20
  legend tool provided with mapserver and  i am managing it client =
side=20
  with dhtml and javascript. There is a problem caused by the HTTP =
protocol=20
  characteristics that i would like to solve. It happens when i have a =
project=20
  with many classes in the legend (example 300 classes). Each classes =
need a=20
  small raster file to describe how the class is rendered. If the files, =
though=20
  small, are many, the hppt protocol require that a connection between =
the=20
  client and the server is established everytime so even if the  =
amount of=20
  data to transfer is not huge, the time to transfer the hundreds files =
is not=20
  acceptable. I think that there can be several different ways to solve =
it but=20
  don't know if they will work and which is the best. For example i =
should try=20
  to pass only one file containing all the legend symbols but then i =
need a good=20
  way to show only a portion of it inside the client code. I could also =
load the=20
  files only when they are needed so posticipating and segmenting the =
load. I=20
  don't want to use client technologie that are not already embedded in =
the=20
  default browser (explorer) so no plug in, activex and so on. Probably =
some of=20
  you have a good tip about it. thanx in advance</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT face=3DArial size=3D2>Giorgio Plazzotta</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Saras Ricerche </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Assemini (CA) - Italy</FONT></DIV>
  <DIV> </DIV></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C3E120.6DCFF724--



More information about the MapServer-users mailing list