[Mapserver-users] RED 'X' - This is the map - Image not appearing

HVM)" <LVN at hvm.dk Lars V. Nielsen HVM Lars
Thu Jul 8 09:12:37 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_002B_01C464FE.00F82630
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

MessageHi Trent,

One of the obvious gotchas are (e.g.) referencing a PNG whilest =
exporting a JPEG. Stumbled over this a couple of times myself.

Have you tried copy the path from the page source into the address, =
viewing the image file directly.

It may also be a access/security problem with the webserver, although =
not very likely.

Best regards / Med venlig hilsen
Lars V. Nielsen
--------------------------------------------------------
Hvenegaard & Meklenborg
Rugaardsvej 55, DK-5000 Odense C
Denmark
http://www.hvm.dk
  ----- Original Message -----=20
  From: Trent Burton=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Thursday, July 08, 2004 2:02 PM
  Subject: [Mapserver-users] RED 'X' - This is the map - Image not =
appearing


  I tried to install Mapserver and the workshop demo on my home =
workstation and everything shows up fine in the default browser, except =
the map.  I get the well known little red 'X' in the top left hand =
corner with a 'this is the map' statement next to it.  The images for =
the legend and the reference map show up fine.  All images, including =
the map image itself, is being successfully created in my tmp directory. =
 The legend and reference map are being rendered in the default browser =
correctly.

  If I click on the red 'X', maybe 2 or 3 times, an image will appear =
(although it appears those clicks have resulted in zooming in).  This =
originally appeared on mapserver 4.0, but I downloaded 4.2 and got the =
same results.  I have a map file that I have been using at work (where I =
did not have this issue) that I tried at home and I get the same kind of =
behaviour.

  I am running Windows 2000 Professional at home.  Could this be a =
browser issue?  Why would it successfully display the legend and =
reference map in my browser, but not my map image when all 3 files are =
in my tmp directory?  I do a view source on the browser page and the =
path appears to be correct to pick up the image.

  Any ideas anyone?

  Thanks,

  Trent Burton
------=_NextPart_000_002B_01C464FE.00F82630
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><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Trent,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>One of the obvious gotchas are (e.g.) =
referencing a=20
PNG whilest exporting a JPEG. Stumbled over this a couple of times=20
myself.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>Have&nbsp;you tried =
copy the=20
path from the page source into the address, viewing the image file=20
directly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It may also be a access/security =
problem with the=20
webserver, although not very likely.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Best regards / Med venlig hilsen<BR>Lars V.=20
Nielsen<BR>--------------------------------------------------------<BR>Hv=
enegaard=20
&amp; Meklenborg<BR>Rugaardsvej 55, DK-5000 Odense C<BR>Denmark<BR><A=20
href=3D"http://www.hvm.dk">http://www.hvm.dk</A></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=3Dtburton at holonics.ca =
href=3D"mailto:tburton at holonics.ca">Trent=20
  Burton</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <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> Thursday, July 08, 2004 =
2:02=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] RED =
'X' - This=20
  is the map - Image not appearing</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D459305011-08072004>I =
tried to install=20
  Mapserver and the workshop demo on my home workstation and everything =
shows up=20
  fine in the default browser, except the map.&nbsp; I get the well =
known little=20
  red 'X'&nbsp;in the top left hand corner with a 'this is the map' =
statement=20
  next to it.&nbsp; The images for the legend and the reference map show =
up=20
  fine.&nbsp; All images, including the map image itself, is being =
successfully=20
  created in my tmp directory.&nbsp; The legend and reference map are =
being=20
  rendered in the default browser correctly.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D459305011-08072004>If I =
click on the=20
  red 'X', maybe 2 or 3 times, an image will appear (although it appears =
those=20
  clicks have resulted in zooming in).&nbsp; This originally appeared on =

  mapserver 4.0, but I downloaded 4.2 and got the same results.&nbsp; I =
have a=20
  map file that I have been using at work (where I did not have this =
issue) that=20
  I tried at home and I get the same kind of =
behaviour.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D459305011-08072004>I am =
running=20
  Windows 2000 Professional at home.&nbsp; Could this be a browser =
issue?&nbsp;=20
  Why would it successfully display the legend and reference map in my =
browser,=20
  but not my map image when all 3 files are in my tmp directory?&nbsp; I =
do a=20
  view source on the browser page and the path appears to be correct to =
pick up=20
  the image.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D459305011-08072004>Any =
ideas=20
  anyone?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004>Thanks,</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D459305011-08072004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D459305011-08072004>Trent=20
  Burton</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002B_01C464FE.00F82630--




More information about the mapserver-users mailing list