TileIndex & Raster Images Problem

C Gould craig.gould at BT.COM
Mon Aug 9 01:30:29 PDT 2004


Ed,

I'm running Mapserver 4.2 for Win32 on Win2K.
The -v option gives the following output:

MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Thanks

Craig




-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Ed McNierney
Sent: 06 August 2004 16:57
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] TileIndex & Raster Images Problem


What version of MapServer are you using?  I cannot reproduce this
problem, and I certainly encounter this situation all the time.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of C Gould
Sent: Friday, August 06, 2004 11:43 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] TileIndex & Raster Images Problem

Update:

If I place a dummy raster tile into my tileindex which covers the full
extent of my map, and is filled with the transparent colour then the
error is worked around.

However, it does tend to suggest that if the cgi script gets no image
back from the raster tileindex it then fails rather than just realising
that there is nothing to draw and skipping over it.

Should I report this as a bug?
Thanks
C


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of C Gould
Sent: 05 August 2004 15:27
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] TileIndex & Raster Images Problem


Ed
It's the first case, and I can create the error just as you describe.

My layer defs are like this:

LAYER
        NAME "ASubject"
        GROUP "PRM"
        TYPE RASTER
      TILEINDEX "C:\MyPath\ASubject.shp"
      TILEITEM "location"
      MAXSCALE 100000
        STATUS OFF
        OFFSITE 255 255 255
        CLASS
                NAME "ASubject"
        END
END

I'm using the windows binaries for 4.2
Thanks,
C



-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Ed McNierney
Sent: 05 August 2004 14:48
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] TileIndex & Raster Images Problem


Craig -

I'm not quite sure I exactly understand the symptom.  Does the error
happen when the layer has valid images but none of them are currently in
view, or when you view a layer with no images defined in it?  If it's
the first case, can you create the problem by scrolling/panning off the
edge of the data until it appears, and then pan back on to the map
correctly?

        - Ed 



Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of C Gould
Sent: Thursday, August 05, 2004 9:35 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] TileIndex & Raster Images Problem

Folks,
I have several layers using TileIndexes which link to georeferenced tif
images. The layers show happily (when in zoom range) when one of the
images is displayed on the map image being requested but mapserver fails
with the following error message if there is no tile being displayed on
the reqeusted map image:

msDrawMap(): Image handling error. Failed to draw layer named 'Blah' 

I'm probably doing something quite stupid, but can anyone suggest what? 
Ta
C 

Craig Gould

__________________________________________
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ Registered in
England no. 1800000 This electronic message contains information from
British Telecommunications plc which may be privileged and confidential.
The information is intended to be for the use of the individual(s) or
entity named above. If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic message
in error, please notify us by telephone or email (to the number or
address above) immediately. 

Activity and use of the British Telecommunications plc email system is
monitored to secure its effective operation and for other lawful
business purposes. Communications using this system will also be
monitored and may be recorded to secure effective operation and for
other lawful business purposes



More information about the MapServer-users mailing list