[mapserver-users] Layer with over 6000 shapefiles
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Jan 29 08:37:55 PST 2014
On 1/29/2014, 12:32 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote:
> Hi,
> Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had the info in a single shapefile it was about 260GBs. Mapserver would serve it up, but performance was horrible. I now have the set broken up into about 6000 separate shapefiles, but don't know how to address that in a single layer. I tried using gdaltindex, to create a single index file that points to all the other shapefiles, but I get an error saying the shapefiles are an unsupported type. Is there some other way to create an index that Mapserver can use to point to this many shapefiles?
> Thanks,
> James
>
You can use the MapServer "tile4ms" utility
(http://mapserver.org/utilities/tile4ms.html). There are some good
examples on that page for you to follow.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list