[mapserver-users] How set tileindex in mapscript code

Andrea Peri aperi2007 at gmail.com
Fri Aug 14 16:00:46 PDT 2015


Hi,I resolve the question:

The code is:

..Getlayer(..).tileindex = "path to shapefile"

Regards.


2015-08-15 0:46 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> Hi to all, and happy mid-august holiday.
>
> I'm try to understand and use python mapscript to create a mapfile.
>
> I'm have some trouble to understand how set the tileindex path for a
> raster layer.
>
> My mapfile setting shoud be something like this:
>
>   LAYER
>     NAME "layer_1"
>     STATUS OFF
>     TYPE raster
>     TILEINDEX '/path-to-indextile/indextile'
>     TILEITEM 'location'
>      .....
>
> But I dont find anything in the swig API to add the TILEINDEX setting.
>
> The only tileindex variable I found is an integer type.
> So I guess should be another solution to define the "tileindex",
> but I dont understand what is.
>
> Many thx for any help.
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the MapServer-users mailing list