So I've just added 2 ways to do this. In order to use these methods you either have to get the latest sdk from the nightly build: http://udig.refractions.net/nightly/udig/latest/udig-SDK-win32-x86.zip (do this AFTER 10:00 PST ) or check out the repository and run using that. Here are some instructions. Once you have these it is really easy: 1) ShpPlugin.getPlugin().setUseSpatialIndex() will set it so spatial indices will not be created for the shapefiles. 2) If you are creating the ShpService object programmatically you can create it using a parameter map that has the createShapefileIndex set to false: Map<String, Serializable> params=new HashMap<String, Serializable>() params.put(IndexedShapefileDataStoreFactory.CREATE_SPATIAL_INDEX.key,false); Hope this gets you on the right path. Jesse On 7-Jun-06, at 1:15 AM, Ivan Zerlotti wrote:
|
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
