<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I am publishing raster ecw layers on CW3 towards index file. In map
file I create one index file (index.shp) and 2 raster layers file
(ortho_2004_5 and ortho_2004_6). In layer.ini hierarchy is correct. In
Index.dbf a "location" field is present with "\ortho\ortho_2004_5.ecw".<br>
On localhost the layer is visualized in the list with others, but if I
click, it generate an error, I need to refresh layers list.<br>
<br>
In mapfile:<br>
...<br>
SHAPEPATH "data"<br>
:::<br>
LAYER<br>
NAME "regioortho2004"<br>
TYPE RASTER <br>
TILEINDEX "index.dbf"<br>
TILEITEM "Location"<br>
METADATA<br>
"force_imagetype" "jpeg"<br>
END<br>
END<br>
<br>
LAYER<br>
NAME "ortho_2004_5"<br>
TYPE RASTER <br>
DATA "/ortho/ortho_2004_5.ecw"<br>
METADATA<br>
"force_imagetype" "jpeg"<br>
END<br>
END<br>
<br>
LAYER<br>
NAME "ortho_2004_6"<br>
TYPE RASTER <br>
DATA "/ortho/ortho_2004_6.ecw"<br>
METADATA<br>
"force_imagetype" "jpeg"<br>
END<br>
END<br>
<br>
Is it a question of path? I used absolute "data" folder for index.shp
and a subfolder "ortho" for the raster ECW.<br>
Is it a problem of file? GDAL help explain support to ECW files...<br>
Some suggestions?<br>
Thanks!<br>
<br>
Simone<br>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.01080509.09030307@univie.ac.at" border="0"></div>
</body>
</html>