[mapserver-users] Tiled image handling error

George A. Dubin lysholm at tut.by
Wed Aug 13 03:12:59 EDT 2008


On Wed, 13 Aug 2008 09:54:19 +0300, Rahkonen Jukka  
<Jukka.Rahkonen at mmmtike.fi> wrote:

TYPE RASTER - ofcourse, this helped! Thanks a lot!!!! I feel myself really  
stupid now =)) ...

> Hi,
>
> A few suggestions:
>
>>      TYPE LINE
> Should probably be TYPE RASTER
>>      STATUS	OFF
> STATUS DEFAULT or STATUS ON might be better alternatives
>
> If those changes will not help and you only have one tiff file to be  
> displayed on layer "navi" then you can simplify map file a bit by  
> leaving out TILEINDEX and TILEITEM and pointing directly to your image  
> by using
> DATA "/var/www/map/shapes/navi.shp"
>
> -Jukka Rahkonen-
>
>
>> -----Alkuperäinen viesti-----
>> Lähettäjä: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta
>> George A. Dubin
>> Lähetetty: 13. elokuuta 2008 9:38
>> Vastaanottaja: mapserver-users at lists.osgeo.org
>> Aihe: [mapserver-users] Tiled image handling error
>>
>> Hi all! I'm having a problem with tiled tiff when mapserver
>> is working as WMS. While trying to display "navi" layer is
>> produces an error:
>>
>> msDrawMap(): Image handling error. Failed to draw layer named navi;.
>> msSHPOpenFile(): Unable to access file. (/var/www/map/shapes/navi.tif)
>> msSHPOpenFile(): Unable to access file. (/var/www/map/shapes/navi.tif)
>>
>> But the tiff exists there and owned by Apache user... What am
>> I doing wrong?
>>
>> Layer section in my mapfile:
>>
>> LAYER
>>      NAME	navi
>>
>>      TYPE LINE
>>      TILEINDEX	"/var/www/map/shapes/navi.shp"
>>      TILEITEM	"LOCATION"
>>      STATUS	OFF
>>
>>      METADATA
>> 	wms_title "navi"
>> 	wms_abstract "navigation map"
>> 	wms_srs		"EPSG:32235"
>>      END
>>
>> 	CLASS
>> 	    NAME	"Navi"
>> 	END
>> END
>>
>> Other layers are working - 2 rasters and one postgis layer
>> with points.
>>
>> --
>> Отправлено M2, революционной почтовой программой Opera:
>> http://www.opera.com/mail/
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>



-- 
Отправлено M2, революционной почтовой программой Opera:  
http://www.opera.com/mail/


More information about the mapserver-users mailing list