tileindex and sequence/level

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Jun 1 13:00:51 PDT 2005


Bart,

I believe objects are draw in the order that they are encountered, but 
I'm not sure if the quadtree index (qix) purtibates the order. So you 
would want the ones you want on top last in the file.

I haven't tried ordering a tileindex, but I order my shapefiles 
regularly to control the order that objects are displayed.

-Steve W.

Bart van den Eijnden wrote:
> Hi list,
> 
> I want to use gdaltindex to create a tileindex for rasters. The rasters 
> do  overlap, so I wanted to add an extra column to the generated 
> tileindex  with a display level. The higher the level, the more on top 
> the raster  should be, if they do overlap.
> 
> Would sorting the generated tileindex with sortshp work? Would I need 
> to  sort ascending or descending? Ie in what sequence are the 
> individual  rasters drawn?
> 
> Is adding a level column to the tileindex a good solution or can other  
> (better) approaches be followed?
> 
> Thanks in advance.
> 
> Best regards,
> Bart
> 



More information about the MapServer-users mailing list