<!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 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 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.shp"<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>
<div class="moz-signature">-- <br>
<img src="cid:part1.05020404.01010706@univie.ac.at" border="0"></div>
</body>
</html>