[Mapserver-users] raster layer

Ed McNierney ed at topozone.com
Mon Dec 2 13:29:00 EST 2002


This is a multi-part message in MIME format.

------_=_NextPart_001_01C29A30.AF0A62D1
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Nida -
=20
Your EXTENT line:
=20
EXTENT 127000.0 160000.0 530000.0 185000.0

says "use a minimum X of 127000, a minimum Y of 160000, a maximum X of =
530000, and a maximum Y of 185000".  However, the upper-left corner of =
your image is at X =3D 530000, Y =3D 185000.  This means that the entire =
image data lies just to the right of the area you're viewing, so you'll =
get no map.  Try changing the line to:
=20
EXTENT 530000.0 160000.0 555000.0 185000.0

and see what you get.  I can't tell how large your image is, but this =
should make SOMETHING visible in the upper-left corner of the map image. =
 The extents for a map image are normally provided as FORM variables, so =
you can control the area mapped interactively.
=20
    - Ed

-----Original Message-----
From: nida Khan [mailto:nida at webstar.co.uk]
Sent: Monday, December 02, 2002 11:48 AM
To: Ed McNierney
Subject: Re: [Mapserver-users] raster layer


Hi ,
=20
this is what it contains
=20
0.635
0
0
-0.635
530000
185000
=20
Nida.
=20

----- Original Message -----=20
From: Ed McNierney <mailto:ed at topozone.com> =20
To: nida Khan <mailto:nida at webstar.co.uk> =20
Sent: Monday, December 02, 2002 3:57 PM
Subject: RE: [Mapserver-users] raster layer

Nida -
=20
What are the contents of your world (TFW) file?
=20
    - Ed

-----Original Message-----
From: nida Khan [mailto:nida at webstar.co.uk]
Sent: Monday, December 02, 2002 10:30 AM
To: Ed McNierney
Subject: Re: [Mapserver-users] raster layer


Hi Again,
=20
Once again thank you so much for your help!.


There r files in the tmp directory alright, I can c scalebar fine, I =
tried to view the image outside the mapserver as well, but still it =
prints it as blank.
=20
" If you're really retrieving files but they're blank images, then your =
data doesn't intersect the map image requested."
=20
ok, I've got only one layer in the map file for that raster image, got =
.tif and .tfw file in my raster directory
changed the extents as mentioned in last email.
=20
whats next?
=20
Me lost in GIS world
Nida.

Nida -
=20
I'm not really sure what that information means, but you need to figure =
out which of these three things is happening:
=20
1. MapServer is creating and your browser is displaying a perfectly =
valid image that is blank.
2. MapServer is creating an image in the IMAGEPATH directory but your =
browser can't retrieve it.
3. MapServer cannot create an image in the IMAGEPATH directory.
=20
These are three different problems with three different fixes.  You =
should check the IMAGEPATH directory after trying to display the map a =
few times - you should see more temporary image files being created =
there.  If they're not being created, then your MapServer setup doesn't =
have permission to write to that directory.  If the files are created =
but you can't retrieve them in your browser, then your Web site doesn't =
have access to those files.  If you're really retrieving files but =
they're blank images, then your data doesn't intersect the map image =
requested.
=20
     - Ed

-----Original Message-----
From: nida Khan [mailto:nida at webstar.co.uk]
Sent: Monday, December 02, 2002 9:09 AM
To: Ed McNierney
Subject: Re: [Mapserver-users] raster layer


Thank you so much for your reply!
=20
I right clicked on that blank image, and it does not look like a image =
to me,
=20
protocol=3Dhyper text
type=3Dhtml document
address=3D"full address at time of init."
size=3D2460
=20
I changed the extents before I did this, nothing make any diffrence
here is my content of map file
=20
NAME WALES
#EXTENT 127000.0 160000.0 380000.0 402000.0
EXTENT 127000.0 160000.0 530000.0 185000.0
SIZE 400 400
FONTSET "/var/www/html/application/fonts/fonts.list"
SHAPEPATH "/var/www/html/application/"
UNITS KILOMETERS
   =20
WEB
  TEMPLATE wales2.html
  IMAGEPATH "/var/www/html/application/tmp/"
  IMAGEURL "/application/tmp/"
END

QUERYMAP
  SIZE 200 200
  STATUS ON
  STYLE HILITE =20
  COLOR 255 0 0
END
=20
SYMBOL
  NAME 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  FILLED TRUE
END
  =20
LAYER
 # NAME "Layer_CIB"
  NAME "wales_boundary"=20
  DATA "raster/tq38sw.tif"
  TYPE RASTER  =20
  STATUS DEFAULT
  OFFSITE 0
END
=20
END # end of map file

I have .tif and .tfw file in my raster directory!
=20
Really appreciate your help!
Regards
Nida. =20

----- Original Message -----=20
From: Ed  <mailto:ed at topozone.com> McNierney=20
To: nida Khan <mailto:nida at webstar.co.uk> =20
Sent: Monday, December 02, 2002 1:53 PM
Subject: RE: [Mapserver-users] raster layer

Nida -
=20
If you are getting a blank image (not a MISSING image, but a real, valid =
image that is blank) that means that the data you have do not overlap =
the extents requested for the map.  Look at the EXTENTS line in your map =
file; the numbers should be similar to the last two lines in the TFW =
file.
=20
    - Ed
=20
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: nida Khan [mailto:nida at webstar.co.uk]
Sent: Monday, December 02, 2002 6:25 AM
To: nida Khan; mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] raster layer


I have downloaded a big zip file, whith all the .twf files.
Now I have copied the related twf file in the same directory and yapee, =
not gettting that error any more, instead a blank image is coming up :(. =
(anyone have any idea what might be the issue this time)
=20
thats something new to explore!
=20
Thank you very much every for your helpful replies
Regards
Nida.
=20

----- Original Message -----=20
From: nida Khan <mailto:nida at webstar.co.uk> =20
To: mapserver-users at lists.gis.umn.edu=20
Sent: Monday, December 02, 2002 10:46 AM
Subject: [Mapserver-users] raster layer


ok... I am very much confuse here, I've got only .tif file from
ordnancesurvey website. There is no download avaliable for twf file!!!!

Where do I get twf file???

Regards
Nida.

----- Original Message -----
From: "Hankley, Chip" <  <mailto:Chip.Hankley at GASAI.Com> =
Chip.Hankley at GASAI.Com>
To: "'nida Khan'" <  <mailto:nida at webstar.co.uk> nida at webstar.co.uk>
Cc: "MapServer List (E-mail)" <  =
<mailto:mapserver-users at lists.gis.umn.edu> =
mapserver-users at lists.gis.umn.edu>
Sent: Friday, November 29, 2002 2:26 PM
Subject: RE: [mapserver-users] raster layer


> Nida,
>
> > it gives me this error
> >  readWorldFile(): Unable to access file. Unable to open
> >  world file for reading.
>
> This indicates to me that your image doesn't have a valid world file, =
or
> that it isn't GeoTif. For the image to display correctly, it needs to =
have
> that. Is there a 'tq38sw.tfw' file in the directory?
>
> Chip



------_=_NextPart_001_01C29A30.AF0A62D1
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2>Nida=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2>Your=20
EXTENT line:</FONT></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D700332318-02122002><FONT size=3D2>EXTENT 127000.0 =
160000.0=20
530000.0 185000.0</FONT><BR></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2>says=20
"use a minimum X of 127000, a minimum Y of 160000, a maximum X of =
530000, and a=20
maximum Y of 185000".&nbsp; However, the upper-left corner of your image =
is at X=20
=3D 530000, Y =3D 185000.&nbsp; This means that the entire image data =
lies=20
just&nbsp;to the right of the area you're viewing, so you'll get no =
map.&nbsp;=20
Try changing the line to:</FONT></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D700332318-02122002><FONT face=3D"Times New Roman" =
color=3D#000000=20
size=3D2>EXTENT 530000.0 160000.0 555000.0=20
185000.0</FONT><BR></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D700332318-02122002>and see what you get.&nbsp; I can't tell how =
large your=20
image is, but this should make SOMETHING visible in the upper-left =
corner of the=20
map image.&nbsp; The extents for a map image are normally provided as =
FORM=20
variables, so you can control the area mapped=20
interactively.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D700332318-02122002></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D700332318-02122002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D700332318-02122002>&nbsp;&nbsp;&nbsp; -=20
Ed</SPAN></FONT></SPAN></DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> nida Khan=20
  [mailto:nida at webstar.co.uk]<BR><B>Sent:</B> Monday, December 02, 2002 =
11:48=20
  AM<BR><B>To:</B> Ed McNierney<BR><B>Subject:</B> Re: [Mapserver-users] =
raster=20
  layer<BR><BR></FONT></DIV>
  <DIV><FONT size=3D2>Hi ,</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>this is what it contains</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT =
size=3D2>0.635<BR>0<BR>0<BR>-0.635<BR>530000<BR>185000</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>Nida.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</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=3Ded at topozone.com href=3D"mailto:ed at topozone.com">Ed =
McNierney</A>=20
    </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dnida at webstar.co.uk=20
    href=3D"mailto:nida at webstar.co.uk">nida Khan</A> </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, December 02, =
2002 3:57=20
    PM</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: =
[Mapserver-users] raster=20
    layer</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=3D812255715-02122002><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2>Nida -</FONT></SPAN></DIV>
    <DIV><SPAN class=3D812255715-02122002><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D812255715-02122002><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2>What are the contents of your world (TFW) =
file?</FONT></SPAN></DIV>
    <DIV><SPAN class=3D812255715-02122002><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D812255715-02122002>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
      <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
      size=3D2>-----Original Message-----<BR><B>From:</B> nida Khan=20
      [mailto:nida at webstar.co.uk]<BR><B>Sent:</B> Monday, December 02, =
2002=20
      10:30 AM<BR><B>To:</B> Ed McNierney<BR><B>Subject:</B> Re:=20
      [Mapserver-users] raster layer<BR><BR></FONT></DIV>
      <DIV><FONT size=3D2>Hi Again,</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>Once again thank you so much for your=20
      help!.</FONT></DIV><FONT size=3D2></FONT>
      <DIV><FONT size=3D2></FONT><BR><FONT size=3D2>There r files in the =
tmp=20
      directory alright, I can c scalebar fine, I tried to view the =
image=20
      outside the mapserver as well, but still it prints it as=20
      blank.</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>"<FONT color=3D#0000ff> If you're really =
retrieving files=20
      but they're blank images, then your data doesn't intersect the map =
image=20
      requested."</FONT></FONT></DIV>
      <DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>ok, I've got only one layer in the map file =
for that=20
      raster image, got .tif and .tfw file in my raster =
directory</FONT></DIV>
      <DIV><FONT size=3D2>changed the extents as mentioned in last=20
      email.</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>whats next?</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>Me lost&nbsp;in GIS world</FONT></DIV>
      <DIV><FONT size=3D2>Nida.</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><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>Nida -</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>I'm not really sure what that information means, but =
you need to=20
        figure out which of these three things is =
happening:</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>1. MapServer is creating and your browser is displaying =
a=20
        perfectly valid image that is blank.</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>2. MapServer is creating an image in the IMAGEPATH =
directory but=20
        your browser can't retrieve it.</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>3. MapServer cannot create an image in the IMAGEPATH=20
        directory.</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>These are three different problems with three different =

        fixes.&nbsp; You should check the IMAGEPATH directory after =
trying to=20
        display the map a few times - you should see more temporary =
image files=20
        being created there.&nbsp; If they're not being created, then =
your=20
        MapServer setup doesn't have permission to write to that=20
        directory.&nbsp; If the files are created but you can't retrieve =
them in=20
        your browser, then your Web site doesn't have access to those=20
        files.&nbsp; If you're really retrieving files but they're blank =
images,=20
        then your data doesn't intersect the map image=20
        requested.</FONT></SPAN></DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
        size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; - Ed</FONT></SPAN></DIV>
        <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
          <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
          size=3D2>-----Original Message-----<BR><B>From:</B> nida Khan=20
          [mailto:nida at webstar.co.uk]<BR><B>Sent:</B> Monday, December =
02, 2002=20
          9:09 AM<BR><B>To:</B> Ed McNierney<BR><B>Subject:</B> Re:=20
          [Mapserver-users] raster layer<BR><BR></FONT></DIV>
          <DIV><FONT size=3D2>Thank you so much for your =
reply!</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>I right clicked on that blank image, and =
it does not=20
          look like a image to me,</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>protocol=3Dhyper text</FONT></DIV>
          <DIV><FONT size=3D2>type=3Dhtml document</FONT></DIV>
          <DIV><FONT size=3D2>address=3D"full address at time of =
init."</FONT></DIV>
          <DIV><FONT size=3D2>size=3D2460</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>I changed the extents before I did this, =
nothing=20
          make any diffrence</FONT></DIV>
          <DIV><FONT size=3D2>here is my content of map =
file</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>NAME WALES<BR>#EXTENT 127000.0 160000.0 =
380000.0=20
          402000.0<BR>EXTENT 127000.0 160000.0 530000.0 185000.0<BR>SIZE =
400=20
          400<BR>FONTSET=20
          "/var/www/html/application/fonts/fonts.list"<BR>SHAPEPATH=20
          "/var/www/html/application/"<BR>UNITS =
KILOMETERS<BR>&nbsp;&nbsp;&nbsp;=20
          <BR>WEB<BR>&nbsp; TEMPLATE wales2.html<BR>&nbsp; IMAGEPATH=20
          "/var/www/html/application/tmp/"<BR>&nbsp; IMAGEURL=20
          "/application/tmp/"<BR>END</FONT></DIV>
          <DIV><FONT size=3D2><BR>QUERYMAP<BR>&nbsp; SIZE 200 =
200<BR>&nbsp; STATUS=20
          ON<BR>&nbsp; STYLE HILITE&nbsp; <BR>&nbsp; COLOR 255 0=20
          0<BR>END</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>SYMBOL<BR>&nbsp; NAME 'circle'<BR>&nbsp; =
TYPE=20
          ELLIPSE<BR>&nbsp; POINTS 1 1 END<BR>&nbsp; FILLED=20
          TRUE<BR>END<BR>&nbsp;&nbsp; <BR>LAYER<BR>&nbsp;# NAME=20
          "Layer_CIB"<BR>&nbsp; NAME "wales_boundary" <BR>&nbsp; DATA=20
          "raster/tq38sw.tif"<BR>&nbsp; TYPE RASTER&nbsp;&nbsp; =
<BR>&nbsp;=20
          STATUS DEFAULT<BR>&nbsp; OFFSITE 0<BR>END</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>END # end of map file<BR></FONT></DIV>
          <DIV><FONT size=3D2>I have .tif and .tfw file in my raster=20
          directory!</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>Really appreciate your help!</FONT></DIV>
          <DIV><FONT size=3D2>Regards</FONT></DIV>
          <DIV><FONT size=3D2>Nida.&nbsp; </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=3Ded at topozone.com =
href=3D"mailto:ed at topozone.com">Ed=20
            McNierney</A> </DIV>
            <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dnida at webstar.co.uk=20
            href=3D"mailto:nida at webstar.co.uk">nida Khan</A> </DIV>
            <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, =
December 02, 2002=20
            1:53 PM</DIV>
            <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: =
[Mapserver-users]=20
            raster layer</DIV>
            <DIV><BR></DIV>
            <DIV><SPAN class=3D634595213-02122002><FONT face=3DArial =
color=3D#0000ff=20
            size=3D2>Nida -</FONT></SPAN></DIV>
            <DIV><SPAN class=3D634595213-02122002><FONT face=3DArial =
color=3D#0000ff=20
            size=3D2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=3D634595213-02122002><FONT face=3DArial =
color=3D#0000ff=20
            size=3D2>If you are getting a blank image (not a MISSING =
image, but a=20
            real, valid image that is blank) that means that the data =
you have=20
            do not overlap the extents requested for the map.&nbsp; Look =
at the=20
            EXTENTS line in your map file; the numbers should be similar =
to the=20
            last two lines in the TFW file.</FONT></SPAN></DIV>
            <DIV><SPAN class=3D634595213-02122002><FONT face=3DArial =
color=3D#0000ff=20
            size=3D2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=3D634595213-02122002>&nbsp;&nbsp;&nbsp; =
<FONT=20
            face=3DArial color=3D#0000ff size=3D2>- =
Ed</FONT></SPAN></DIV>
            <DIV><SPAN class=3D634595213-02122002><FONT face=3DArial =
color=3D#0000ff=20
            size=3D2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=3D634595213-02122002>
            <P><FONT size=3D2>Ed McNierney<BR>President and Chief=20
            Mapmaker<BR>TopoZone.com / Maps a la carte, Inc.<BR>73 =
Princeton=20
            Street, Suite 305<BR>North Chelmsford, MA&nbsp;=20
            01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
            <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
              <DIV class=3DOutlookMessageHeader dir=3Dltr =
align=3Dleft><FONT=20
              face=3DTahoma size=3D2>-----Original =
Message-----<BR><B>From:</B> nida=20
              Khan [mailto:nida at webstar.co.uk]<BR><B>Sent:</B> Monday, =
December=20
              02, 2002 6:25 AM<BR><B>To:</B> nida Khan;=20
              mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> Re:=20
              [Mapserver-users] raster layer<BR><BR></FONT></DIV>
              <DIV><FONT size=3D2>I have downloaded a big zip file, =
whith all the=20
              .twf files.</FONT></DIV>
              <DIV><FONT size=3D2>Now I have copied the related twf file =
in the=20
              same directory and yapee, not gettting that error any =
more,=20
              instead a blank image is coming up :(. (anyone have any =
idea what=20
              might be the issue this time)</FONT></DIV>
              <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
              <DIV><FONT size=3D2>thats something new to =
explore!</FONT></DIV>
              <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
              <DIV><FONT size=3D2>Thank you very much every for your =
helpful=20
              replies</FONT></DIV>
              <DIV><FONT size=3D2>Regards</FONT></DIV>
              <DIV><FONT size=3D2>Nida.</FONT></DIV>
              <DIV><FONT size=3D2></FONT>&nbsp;</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 =
-----=20
</DIV>
                <DIV=20
                style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; =
font-color: black"><B>From:</B>=20
                <A title=3Dnida at webstar.co.uk=20
                href=3D"mailto:nida at webstar.co.uk">nida Khan</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> Monday, =
December 02,=20
                2002 10:46 AM</DIV>
                <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> =
[Mapserver-users]=20
                raster layer</DIV>
                <DIV><FONT size=3D2></FONT><BR></DIV>
                <DIV><FONT size=3D2><FONT size=3D3>ok... I am very much =
confuse=20
                here, I've got only .tif file from<BR>ordnancesurvey =
website.=20
                There is no download avaliable for twf =
file!!!!<BR><BR>Where do=20
                I get twf file???<BR><BR>Regards<BR>Nida.<BR><BR>----- =
Original=20
                Message -----<BR>From: "Hankley, Chip" &lt;</FONT><A=20
                href=3D"mailto:Chip.Hankley at GASAI.Com"><FONT=20
                size=3D3>Chip.Hankley at GASAI.Com</FONT></A><FONT =
size=3D3>&gt;<BR>To:=20
                "'nida Khan'" &lt;</FONT><A=20
                href=3D"mailto:nida at webstar.co.uk"><FONT=20
                size=3D3>nida at webstar.co.uk</FONT></A><FONT =
size=3D3>&gt;<BR>Cc:=20
                "MapServer List (E-mail)" &lt;</FONT><A=20
                href=3D"mailto:mapserver-users at lists.gis.umn.edu"><FONT=20
                =
size=3D3>mapserver-users at lists.gis.umn.edu</FONT></A><FONT=20
                size=3D3>&gt;<BR>Sent: Friday, November 29, 2002 2:26=20
                PM<BR>Subject: RE: [mapserver-users] raster=20
                layer<BR><BR><BR>&gt; Nida,<BR>&gt;<BR>&gt; &gt; it =
gives me=20
                this error<BR>&gt; &gt;&nbsp; readWorldFile(): Unable to =
access=20
                file. Unable to open<BR>&gt; &gt;&nbsp; world file for=20
                reading.<BR>&gt;<BR>&gt; This indicates to me that your =
image=20
                doesn't have a valid world file, or<BR>&gt; that it =
isn't=20
                GeoTif. For the image to display correctly, it needs to=20
                have<BR>&gt; that. Is there a 'tq38sw.tfw' file in the=20
                directory?<BR>&gt;<BR>&gt;=20
              =
Chip</FONT><BR></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOC=
KQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>=


------_=_NextPart_001_01C29A30.AF0A62D1--



More information about the mapserver-users mailing list