tiling shape files, or shptree

Schuyler Erle schuyler at NOCAT.NET
Tue Apr 26 16:38:19 EDT 2005


* On 26-Apr-2005 at  1:24PM PDT, Dylan Beaudette said:
>
> for example: i have a statewide local roads shapefile (TIGER  2000). this
> layer is not enabled until the user is zoomed in quite a bit. will i get
> faster map rendering times if i :
>
> 1. tile the statewide coverage into small rectangles
>
> 2. use shptree to create a spatial index
>
> 3. do both

You want Steve Woodbridge's shp2tile. Use the quadtree mode, works
great.

    http://swoodbridge.com/tools/

Then use ogrtindex to generate a tile index for MapServer. Running
shptree on both the tiles and the index can't hurt.

SDE



More information about the mapserver-users mailing list