On Wed, 13 Aug 2008 09:54:19 +0300, Rahkonen Jukka <[EMAIL PROTECTED]> 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ä: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Puolesta
George A. Dubin
Lähetetty: 13. elokuuta 2008 9:38
Vastaanottaja: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users




--
Отправлено M2, революционной почтовой программой Opera: http://www.opera.com/mail/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to