Speeding up load time for huge SHP files

Nolte, Tim Tim.Nolte at IPCSWIRELESSINC.COM
Fri Aug 17 21:39:28 EDT 2007


You'll really want to try break your shapefile up into smaller sections. I've got around 2GB of shapefile data I broke down into smaller shapefiles and this improved the loads time considerably. Once you get your shapefile broken down into smaller ones you'll want to be sure to run shptree on all the shapefiles, to index them individually. After that you can create a tile index of all the shape files. You simply reference the tile index shapefile as your data source in your map file. Check out the reference docs at the MapServer website for shptree & tile4ms. 

----
Timothy J Nolte - tnolte at ilpcs.com
Associate Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:    616-706-2438
Fax:    616-554-6484
Web:    www.ipcswirelessinc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070817/02780a0f/attachment.html


More information about the mapserver-users mailing list