[Mapserver-users] raster layer

nida Khan nida at webstar.co.uk
Tue Dec 3 03:24:02 PST 2002


This is a multi-part message in MIME format.

------=_NextPart_000_00CF_01C29ABE.7BAB8FE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thank you so much Ed and THE list,

Ed you r a *, great!

I can c the map now , will play around with  X and Y axis to suit our =
need! :).

btw is there anyone using mapserver in UK with ordnancesurvey data??

just curious what conversion tools u r using, and what's happening =
outside my office :)

Kind Regards
Nida.

 ----- Original Message -----=20
  From: Ed McNierney=20
  To: nida Khan ; mapserver-users at lists.gis.umn.edu=20
  Sent: Monday, December 02, 2002 6:29 PM
  Subject: RE: [Mapserver-users] raster layer


  Nida -

  Your EXTENT line:

  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:

  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.

      - 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 ,

    this is what it contains

    0.635
    0
    0
    -0.635
    530000
    185000

    Nida.

      ----- Original Message -----=20
      From: Ed McNierney=20
      To: nida Khan=20
      Sent: Monday, December 02, 2002 3:57 PM
      Subject: RE: [Mapserver-users] raster layer


      Nida -

      What are the contents of your world (TFW) file?

          - 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,

        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.

        " If you're really retrieving files but they're blank images, =
then your data doesn't intersect the map image requested."

        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.

        whats next?

        Me lost in GIS world
        Nida.
          Nida -

          I'm not really sure what that information means, but you need =
to figure out which of these three things is happening:

          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.

          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.

               - 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!

            I right clicked on that blank image, and it does not look =
like a image to me,

            protocol=3Dhyper text
            type=3Dhtml document
            address=3D"full address at time of init."
            size=3D2460

            I changed the extents before I did this, nothing make any =
diffrence
            here is my content of map file

            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

            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

            END # end of map file

            I have .tif and .tfw file in my raster directory!

            Really appreciate your help!
            Regards
            Nida. =20
              ----- Original Message -----=20
              From: Ed McNierney=20
              To: nida Khan=20
              Sent: Monday, December 02, 2002 1:53 PM
              Subject: RE: [Mapserver-users] raster layer


              Nida -

              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.

                  - Ed

              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)

                thats something new to explore!

                Thank you very much every for your helpful replies
                Regards
                Nida.

                  ----- Original Message -----=20
                  From: nida Khan=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" <Chip.Hankley at GASAI.Com>
                  To: "'nida Khan'" <nida at webstar.co.uk>
                  Cc: "MapServer List (E-mail)" =
<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_000_00CF_01C29ABE.7BAB8FE0
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 so much Ed and THE list,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Ed you r a *, great!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I can c the map now , will play around with =
 X and Y=20
axis to suit our need! :).</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>btw is there anyone using mapserver in UK with=20
ordnancesurvey data??</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>just curious what conversion tools u r using, and =
what's=20
happening outside my office :)</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Kind 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=3Ded at topozone.com href=3D"mailto:ed at topozone.com">Ed =
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> ; <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, 2002 =
6:29=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
raster=20
  layer</DIV>
  <DIV><FONT size=3D2></FONT><FONT size=3D2></FONT><FONT =
size=3D2></FONT><BR></DIV>
  <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#000000=20
  size=3D2></FONT></SPAN> </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#000000=20
  size=3D2></FONT></SPAN> </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=20
  a maximum Y of 185000".  However, the upper-left corner of your =
image is=20
  at X =3D 530000, Y =3D 185000.  This means that the entire image =
data lies=20
  just to the right of the area you're viewing, so you'll get no =
map. =20
  Try changing the line to:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D700332318-02122002><FONT face=3DArial =
color=3D#000000=20
  size=3D2></FONT></SPAN> </DIV>
  <DIV><SPAN class=3D700332318-02122002><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2><SPAN class=3D700332318-02122002><FONT face=3D"Times New =
Roman"=20
  color=3D#000000 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=20
  size=3D2><SPAN class=3D700332318-02122002>and see what you get.  =
I can't tell=20
  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=20
  normally provided as FORM variables, so you can control the area =
mapped=20
  interactively.</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=3D700332318-02122002><FONT face=3DArial =
color=3D#000000=20
  size=3D2><SPAN =
class=3D700332318-02122002></SPAN></FONT></SPAN> </DIV>
  <DIV><SPAN class=3D700332318-02122002><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2><SPAN class=3D700332318-02122002>    -=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]=20
    raster layer<BR><BR></FONT></DIV>
    <DIV><FONT size=3D2>Hi ,</FONT></DIV>
    <DIV><FONT size=3D2></FONT> </DIV>
    <DIV><FONT size=3D2>this is what it contains</FONT></DIV>
    <DIV><FONT size=3D2></FONT> </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> </DIV>
    <DIV><FONT size=3D2>Nida.</FONT></DIV>
    <DIV><FONT size=3D2></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 =
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> </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> </DIV>
      <DIV><SPAN class=3D812255715-02122002>    <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> </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> </DIV>
        <DIV><FONT size=3D2>"<FONT color=3D#0000ff> If you're really =
retrieving=20
        files but they're blank images, then your data doesn't intersect =
the map=20
        image requested."</FONT></FONT></DIV>
        <DIV><FONT color=3D#0000ff size=3D2></FONT> </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> </DIV>
        <DIV><FONT size=3D2>whats next?</FONT></DIV>
        <DIV><FONT size=3D2></FONT> </DIV>
        <DIV><FONT size=3D2>Me lost 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> </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=20
          to figure out which of these three things is=20
          happening:</FONT></SPAN></DIV>
          <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
          size=3D2></FONT></SPAN> </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=20
          but 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> </DIV>
          <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
          size=3D2>These are three different problems with three =
different=20
          fixes.  You should check the IMAGEPATH directory after =
trying to=20
          display the map a few times - you should see more temporary =
image=20
          files being created there.  If they're not being created, =
then=20
          your MapServer setup doesn't have permission to write to that=20
          directory.  If the files are created but you can't =
retrieve them=20
          in your browser, then your Web site doesn't have access to =
those=20
          files.  If you're really retrieving files but they're =
blank=20
          images, 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> </DIV>
          <DIV><SPAN class=3D673593314-02122002><FONT face=3DArial =
color=3D#0000ff=20
          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,=20
            2002 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> </DIV>
            <DIV><FONT size=3D2>I right clicked on that blank image, and =
it does=20
            not look like a image to me,</FONT></DIV>
            <DIV><FONT size=3D2></FONT> </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=20
            init."</FONT></DIV>
            <DIV><FONT size=3D2>size=3D2460</FONT></DIV>
            <DIV><FONT size=3D2></FONT> </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> </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=20
            KILOMETERS<BR>    <BR>WEB<BR>  TEMPLATE=20
            wales2.html<BR>  IMAGEPATH=20
            "/var/www/html/application/tmp/"<BR>  IMAGEURL=20
            "/application/tmp/"<BR>END</FONT></DIV>
            <DIV><FONT size=3D2><BR>QUERYMAP<BR>  SIZE 200 =
200<BR> =20
            STATUS ON<BR>  STYLE HILITE  <BR>  COLOR 255 =
0=20
            0<BR>END</FONT></DIV>
            <DIV><FONT size=3D2></FONT> </DIV>
            <DIV><FONT size=3D2>SYMBOL<BR>  NAME 'circle'<BR>  =
TYPE=20
            ELLIPSE<BR>  POINTS 1 1 END<BR>  FILLED=20
            TRUE<BR>END<BR>   <BR>LAYER<BR> # NAME=20
            "Layer_CIB"<BR>  NAME "wales_boundary" <BR>  DATA=20
            "raster/tq38sw.tif"<BR>  TYPE RASTER   =
<BR> =20
            STATUS DEFAULT<BR>  OFFSITE 0<BR>END</FONT></DIV>
            <DIV><FONT size=3D2></FONT> </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> </DIV>
            <DIV><FONT size=3D2>Really appreciate your =
help!</FONT></DIV>
            <DIV><FONT size=3D2>Regards</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 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=20
              title=3Dnida at webstar.co.uk =
href=3D"mailto:nida at webstar.co.uk">nida=20
              Khan</A> </DIV>
              <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, =
December 02,=20
              2002 1:53 PM</DIV>
              <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE:=20
              [Mapserver-users] 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> </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=20
              a real, valid image that is blank) that means that the =
data you=20
              have do not overlap the extents requested for the =
map.  Look=20
              at the EXTENTS line in your map file; the numbers should =
be=20
              similar to the 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> </DIV>
              <DIV><SPAN class=3D634595213-02122002>    =
<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> </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 =20
              01863<BR>ed at topozone.com<BR>(978) 251-4242=20
</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>=20
                nida Khan [mailto:nida at webstar.co.uk]<BR><B>Sent:</B> =
Monday,=20
                December 02, 2002 6:25 AM<BR><B>To:</B> nida Khan;=20
                mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> Re: =

                [Mapserver-users] raster layer<BR><BR></FONT></DIV>
                <DIV><FONT size=3D2>I have downloaded a big zip file, =
whith all=20
                the .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=20
                what might be the issue this time)</FONT></DIV>
                <DIV><FONT size=3D2></FONT> </DIV>
                <DIV><FONT size=3D2>thats something new to =
explore!</FONT></DIV>
                <DIV><FONT size=3D2></FONT> </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> </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=20
                  02, 2002 10:46 AM</DIV>
                  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B>=20
                  [Mapserver-users] 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=20
                  do I get twf =
file???<BR><BR>Regards<BR>Nida.<BR><BR>-----=20
                  Original Message -----<BR>From: "Hankley, Chip" =
<</FONT><A=20
                  href=3D"mailto:Chip.Hankley at GASAI.Com"><FONT=20
                  size=3D3>Chip.Hankley at GASAI.Com</FONT></A><FONT=20
                  size=3D3>><BR>To: "'nida Khan'" <</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>><BR>Cc:=20
                  "MapServer List (E-mail)" <</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>><BR>Sent: Friday, November 29, 2002 2:26=20
                  PM<BR>Subject: RE: [mapserver-users] raster=20
                  layer<BR><BR><BR>> Nida,<BR>><BR>> > it =
gives me=20
                  this error<BR>> >  readWorldFile(): Unable =
to=20
                  access file. Unable to open<BR>> >  world =
file for=20
                  reading.<BR>><BR>> This indicates to me that =
your image=20
                  doesn't have a valid world file, or<BR>> that it =
isn't=20
                  GeoTif. For the image to display correctly, it needs =
to=20
                  have<BR>> that. Is there a 'tq38sw.tfw' file in the =

                  directory?<BR>><BR>>=20
                =
Chip</FONT><BR></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOC=
KQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><=
/BODY></HTML>

------=_NextPart_000_00CF_01C29ABE.7BAB8FE0--




More information about the MapServer-users mailing list