[Cartoweb-users] tileindex file error in cartoweb

Simone Frigerio simone.frigerio at univie.ac.at
Tue Jul 20 10:47:17 EST 2010


Dear Pierre,
thanks for quick answer. TILEINDEX pointing to shp file was my first 
choice. The error is the same.
Looking a GDAL guide, I have seen a TILEINDEX example pointed on dbf file.
http://www.rigacci.net/wiki/doku.php/gdal_tools (sorry it'S not english, 
but example  on GDALINDEX was clear).
Thanks.






On 20.07.2010 17:35, Pierre Giraud wrote:
> Hi,
>
> TILEINDEX value should point to the .shp file.
>
> Regards,
>
> On Tue, Jul 20, 2010 at 5:24 PM, Simone Frigerio 
> <simone.frigerio at univie.ac.at <mailto:simone.frigerio at univie.ac.at>> 
> wrote:
>
>     Hi,
>     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".
>     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.
>
>     In mapfile:
>     ...
>     SHAPEPATH "data"
>     :::
>     LAYER
>         NAME "regioortho2004"
>         TYPE RASTER
>         TILEINDEX "index.dbf"
>         TILEITEM "Location"
>         METADATA
>           "force_imagetype" "jpeg"
>         END
>       END
>
>       LAYER
>         NAME "ortho_2004_5"
>         TYPE RASTER
>         DATA "/ortho/ortho_2004_5.ecw"
>         METADATA
>           "force_imagetype" "jpeg"
>         END
>       END
>
>       LAYER
>         NAME "ortho_2004_6"
>         TYPE RASTER
>         DATA "/ortho/ortho_2004_6.ecw"
>         METADATA
>           "force_imagetype" "jpeg"
>         END
>       END
>
>     Is it a question of path? I used absolute "data" folder for
>     index.shp and a subfolder "ortho" for the raster ECW.
>     Is it a problem of file? GDAL help explain support to ECW files...
>     Some suggestions?
>     Thanks!
>
>     Simone
>
>
>     -- 
>
>     _______________________________________________
>     Cartoweb-users mailing list
>     Cartoweb-users at lists.maptools.org
>     <mailto:Cartoweb-users at lists.maptools.org>
>     http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
>
>
> -- 
> Pierre GIRAUD
> Géomaticien, Analyste
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 93
> Mail : pierre.giraud at camptocamp.com <mailto:pierre.giraud at camptocamp.com>
> http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100720/3f633d9e/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature-1.gif
Type: image/gif
Size: 566 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100720/3f633d9e/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 566 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100720/3f633d9e/attachment-0001.gif 


More information about the Cartoweb-users mailing list