TileIndex & Raster Images Problem
C Gould
craig.gould at BT.COM
Fri Aug 6 08:43:01 PDT 2004
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