<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Pierre,<br>
thanks for quick answer. TILEINDEX pointing to shp file was my first
choice. The error is the same. <br>
Looking a GDAL guide, I have seen a TILEINDEX example pointed on dbf
file.<br>
<a class="moz-txt-link-freetext" href="http://www.rigacci.net/wiki/doku.php/gdal_tools">http://www.rigacci.net/wiki/doku.php/gdal_tools</a> (sorry it'S not
english, but example on GDALINDEX was clear).<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<div class="moz-signature"><br>
<img src="cid:part1.04000504.08020105@univie.ac.at" border="0"></div>
<br>
On 20.07.2010 17:35, Pierre Giraud wrote:
<blockquote
cite="mid:AANLkTimbIfJqHOuYfG90wMV1qL3IJKb7MMvWyo39nr2p@mail.gmail.com"
type="cite">Hi,<br>
<br>
TILEINDEX value should point to the .shp file.<br>
<br>
Regards,<br>
<br>
<div class="gmail_quote">On Tue, Jul 20, 2010 at 5:24 PM, Simone
Frigerio <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:simone.frigerio@univie.ac.at">simone.frigerio@univie.ac.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div 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>-- <br>
<img src="cid:part2.09090006.00080600@univie.ac.at" border="0"></div>
</div>
<br>
_______________________________________________<br>
Cartoweb-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a moz-do-not-send="true"
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Pierre GIRAUD<br>
Géomaticien, Analyste<br>
<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex <br>
<br>
Tel : 00 33 4 79 44 44 93<br>
Mail : <a moz-do-not-send="true"
href="mailto:pierre.giraud@camptocamp.com">pierre.giraud@camptocamp.com</a><br>
<a moz-do-not-send="true" href="http://www.camptocamp.com">http://www.camptocamp.com</a>
<br>
</blockquote>
</body>
</html>