About ShapeTree and Raster TileIndex

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Fri May 13 06:44:35 EDT 2005


Hi,

can you try (without the .shp extension):

TILEINDEX "MSRAS_12000"

Btw, the quadtree index only makes a difference if you zoom in, not when you view the whole layer.

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Akio Neuchi <neuchi at TCI-COM.BIZ> 05/13/05 12:03pm >>>
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