[mapserver-users] status bar in no appearing !
nida Khan
nida@webstar.co.uk
Thu, 28 Nov 2002 10:12:54 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_0211_01C296C6.B79547E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thank you very much everyone to help me out with this mystry problem...
Actually my <td> background was white, so was the imagecolor and text =
color, so after changing STATUS ON, I couldnt c that image...
All I did was change the colors of the statusbar!
U r a great List!
Good 2 b here!
Regards
Nida.
----- Original Message -----=20
From: nida Khan=20
To: mapserver-users@lists.gis.umn.edu=20
Sent: Wednesday, November 27, 2002 2:37 PM
Subject: [mapserver-users] status bar in no appearing !
Hi List,
I'm a new bie in GIS world, I'm trying small task before I jump into =
anything big.
so far I managed to get the map,legend working. now when I tried to =
put the scalebar, nothing happens, its not printing the image...
it seems like it get the image path but does not create one!
I'm sure its something small that I'm missing, but what???
here is code of my map and html file.
NAME WALES
EXTENT 127000.0 160000.0 380000.0 402000.0
SIZE 400 400
FONTSET "/var/www/html/wales/fonts/fonts.list"
UNITS KILOMETERS
WEB
TEMPLATE wales2.html
IMAGEPATH "/var/www/html/wales/tmp/"
IMAGEURL "/wales/tmp/"
END
QUERYMAP
SIZE 200 200
STATUS ON
STYLE HILITE
COLOR 255 0 0
END
LEGEND
STATUS ON
LABEL
COLOR 0 0 0
SIZE MEDIUM
ANTIALIAS TRUE
END
END
SCALEBAR
IMAGECOLOR 255 255 255
LABEL
COLOR 255 255 255
SIZE small =20
END
STYLE 1
SIZE 160 2
COLOR 255 255 255
UNITS KILOMETERS
INTERVALS 4
TRANSPARENT ON
STATUS TRUE
END
<some layers>
html file
<html>
<head>
<title>Wales</title>
</head>
<body>
<h3>Wales from Postgis with Zoom</h3>
<b>SEARCH WINDOW</b>: [imgext]<br>
<b>QUERY POINT</b>: ([img.x], [img.y]) image coordinates or ([mapx], =
[mapy]) map coordinates<br>
<b>QUERY METRICS</b>: number of layers with results=3D[nl], total =
number of results=3D[nr]<br><br>
<p>
<hr>
<p>
<form method=3D"GET" action=3D"/cgi-bin/mapserv">
<input type=3D"hidden" name=3D"map" value=3D"[map]">
<input type=3D"hidden" name=3D"imgext" value=3D"[mapext]">
<table border=3D1 cellpadding=3D3>
<tr>
<td align=3Dcenter>
<input type=3D"image" name=3D"img" src=3D"[img]" border=3D"0">
</td>
</tr>
<tr>
<td align=3D"left" colspan=3D"2">
<img src=3D"[scalebar]">
</td>
</tr>
</table> =20
</form>
Regards
Nida
------=_NextPart_000_0211_01C296C6.B79547E0
Content-Type: text/html;
charset="iso-8859-1"
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-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Thank you very much everyone to help me out =
with this=20
mystry problem...</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Actually my <td> background was white, so was =
the=20
imagecolor and text color, so after changing STATUS ON, I couldnt c that =
image...</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>All I did was change the colors of the=20
statusbar!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>U r a great List!</FONT></DIV>
<DIV><FONT size=3D2>Good 2 b here!</FONT></DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2>Nida.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV>----- Original Message ----- </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=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dnida@webstar.co.uk href=3D"mailto:nida@webstar.co.uk">nida =
Khan</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dmapserver-users@lists.gis.umn.edu=20
=
href=3D"mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.g=
is.umn.edu</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, November 27, =
2002 2:37=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [mapserver-users] =
status bar in=20
no appearing !</DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2>Hi List,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I'm a new bie in GIS world, I'm trying small task =
before I=20
jump into anything big.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>so far I managed to get the map,legend working. =
now when I=20
tried to put the scalebar, nothing happens, its not printing the=20
image...</FONT></DIV>
<DIV><FONT size=3D2>it seems like it get the image path but does not =
create=20
one!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I'm sure its something small that I'm missing, but =
what???</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>here is code of my map and html file.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>NAME WALES<BR>EXTENT 127000.0 160000.0 380000.0=20
402000.0<BR>SIZE 400 400<BR>FONTSET=20
"/var/www/html/wales/fonts/fonts.list"<BR>UNITS =
KILOMETERS</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>WEB<BR> TEMPLATE wales2.html<BR> =
IMAGEPATH=20
"/var/www/html/wales/tmp/"<BR> IMAGEURL=20
"/wales/tmp/"<BR>END</FONT></DIV>
<DIV> </DIV><FONT size=3D2>
<DIV><BR>QUERYMAP<BR> SIZE 200 200<BR> STATUS ON<BR> =
STYLE=20
HILITE<BR> COLOR 255 0 0<BR>END</DIV>
<DIV> </DIV>
<DIV>LEGEND<BR> STATUS ON<BR> LABEL<BR> =
COLOR 0=20
0 0<BR> SIZE MEDIUM<BR> ANTIALIAS=20
TRUE<BR> END<BR>END</DIV>
<DIV> </DIV>
<DIV><BR>SCALEBAR<BR> IMAGECOLOR 255 255 255<BR> =20
LABEL<BR> COLOR 255 255 255<BR> =
SIZE=20
small <BR> END<BR> STYLE 1<BR> =
SIZE 160=20
2<BR> COLOR 255 255 255<BR> UNITS KILOMETERS<BR> =
INTERVALS=20
4<BR> TRANSPARENT ON<BR> STATUS TRUE<BR>END</DIV>
<DIV> </DIV>
<DIV><some layers></DIV>
<DIV> </DIV>
<DIV>html file</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><html><BR> <head><BR> =20
<title>Wales</title><BR> </head></DIV>
<DIV> </DIV>
<DIV> <body><BR><h3>Wales from Postgis with=20
Zoom</h3></DIV>
<DIV> </DIV>
<DIV><b>SEARCH WINDOW</b>: =
[imgext]<br><BR><b>QUERY=20
POINT</b>: ([img.x], [img.y]) image coordinates or ([mapx], =
[mapy]) map=20
coordinates<br><BR><b>QUERY METRICS</b>: number of =
layers=20
with results=3D[nl], total number of=20
=
results=3D[nr]<br><br><BR><p><BR><hr><BR><p>=
;</DIV>
<DIV> </DIV>
<DIV> <form method=3D"GET"=20
action=3D"/cgi-bin/mapserv"></DIV>
<DIV> </DIV>
<DIV> <input type=3D"hidden" name=3D"map"=20
value=3D"[map]"><BR> <input type=3D"hidden" =
name=3D"imgext"=20
value=3D"[mapext]"></DIV>
<DIV> </DIV>
<DIV> <table border=3D1 cellpadding=3D3></DIV>
<DIV> </DIV>
<DIV> <tr><BR> <td=20
align=3Dcenter><BR> <input =
type=3D"image"=20
name=3D"img" src=3D"[img]" border=3D"0"><BR> =20
</td><BR> </tr><BR> =20
<tr><BR> <td =
align=3D"left"=20
colspan=3D"2"><BR> =
<img=20
src=3D"[scalebar]"><BR> =20
</td><BR> </tr><BR> =20
</table> <BR></form></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Nida</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0211_01C296C6.B79547E0--