Hi,

My understanding about using shapefile as data source in GeoServer is that the first time a layer backed by shapefile is accessed through WMS or WFS, GeoServer checks if a quad-tree index (.qix) exists. If it doesn't exist and the shapefile's spatial extent is large enough, GeoServer will generate one. I have shapefile > 1GB. Once the .qix is generated, WMS and WFS response become extremely fast. But for the first time WMS/WFS request when the index is generated, it takes almost an hour to response. This becomes a problem each time I replace the shapefile with a new one. So my questions are:

1. Can I configure GeoServer to use existing ESRI spatial index (.sbx) instead of .qix? Any downside of switching to .sbx? 2. If I have to go with quad-tree index, how can I generate one offline before pushing the shapefile to GeoServer?

Thanks,
Chenglin

--
Chenglin Gan
GIS Developer
National Geodetic Survey

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to