About ShapeTree and Raster TileIndex {Scanned}

Siki Zoltan siki at AGT.BME.HU
Fri May 13 14:21:06 PDT 2005


Dear Akio,

TILEINDEX should refere to the shape file crreated by gdaltindex
I have read a thread on the list, do not append extension to the
name of the shape because it will search for name.shp.qix file as
spatial index. To tell you the truth I have no check the performance yet.

Zoltan


On Fri, 13 May 2005, Akio Neuchi wrote:

>
> Hello to all,
>
> I just made a *.qix file from *.shp file for Raster TileIndex images --
> around 800 gif images,
> and tested with and without shape tree. The result was there is no
> difference in processing speed.
>
> The procedure was,
> gdaltindex MSRAS_12000.shp MSRAS_12000/*.gif,
> shptree MSRAS_12000.shp,
> and I got MSRAS_12000.qix.
> (Under MSRAS_12000 directory there are 800 gif and wld files.)
>
> I wonder if I am following the right procedure, and if so,
> why there is no difference on the processing.
>
> In addition, I have around 100 of Vector TileIndex shape directories,
> and If ShapeTree really works, I am planning to build *.qix for each Vector
> shapes.
>
> My OUTPUTFORMAT amd Raster layer are like these:
>
> OUTPUTFORMAT
>     NAME gif
>     MIMETYPE "image/gif"
>     DRIVER "GD/GIF"
>     EXTENSION "gif"
>     IMAGEMODE RGB
> #  IMAGEMODE PC256
>     TRANSPARENT FALSE
>     FORMATOPTION "INTERLACE=OFF"
> END
>
> ### RASTER Layer
> LAYER
>       NAME "MSRAS_12000"
>       GROUP "B_RASTER"
>       TILEINDEX "MSRAS_12000.qix"
> #     TILEINDEX "MSRAS_12000.shp"
>       TILEITEM "Location"
>       TYPE RASTER
> #     STATUS ON
>       STATUS DEFAULT
>       MINSCALE 50
>       MAXSCALE 5000000
>       PROJECTION
>               "proj=latlong"
> #             "init=epsg:26915"
>       END
> END
>
> Thank you for your suggestions.
> Akio
>
>
>



More information about the MapServer-users mailing list