I was making it by hand... Quickly chaged my code to use the
ShapefileDataStoreFactory
but it does not work, I get the same error.
gaby
***
** Gabriella Turek [EMAIL PROTECTED] **
** National Institute of Wate
Indexed Shapefile support was still an experiment at this time for
GeoTools 2.3... for GeoTools 2.4 the experiment was ended and there is
now a single
ShapefileDataStoreFactory that should do all the logic needed to set you
up with ShapeFileDataStore or IndexedShapefileDataStore as needed...
I
I apparently have some shape files which are not indexed, so when JMapPane
tries to render them,
it throws an exception:
Dec 18, 2007 3:20:22 PM org.geotools.renderer.lite.StreamingRenderer
processStylers
SEVERE: null
java.util.NoSuchElementException
at
org.geotools.data.shapefile.index