[Mapserver-users] Slice and dice those large shapefiles into tiles

woodbri at swoodbridge.com woodbri at swoodbridge.com
Sun Mar 30 07:09:53 PST 2003


Hi all,

The issue of performance with large or HUGE shapefiles comes up on 
the list occasionally. In most cases, it can be solved but creating 
shptree indexes and other appropriate tuning of the mapfile. But 
sometimes it is desirable to be able to chop a large shapefile into 
some smaller tiles.

I wrote a tool, shp2tile, to do this about a year ago and it is 
available for download at 

      http://swoodbridge.com/tools/

I want to thank Daniel Morissette for making some recent enhancements 
in shp2tile-1.1 that allow you to control the maximum number of 
objects in each tile and generates a quadtree like tiling that should 
be very efficient.

I am not suggesting that everyone run out and tile your data :) but 
if you must here is a tool that will do it.

Enjoy,
  -Steve W.



More information about the MapServer-users mailing list