|
Hi! Silly question. Earlier you helpfully gave me a code snippet to create a new shapefile. IndexedShapefileDatastoreFactory fac=new IndexedShapefileDataStoreFactory(); ShapefileDataStore ds=fac.createDatastore(url); // I assume this is the URL of the new shapefile I want it to create? GeometryFactory gf = new GeometryFactory(); ds.createSchema( featureType ); // Here I got lost. Started to investigate FeatureType and felt like I was walking through tar. I eventually found IndexedShapefileDatastoreFactory etc in the GeoTools api. Do I actually have to download this and import it into Eclipse, or is it already available to me somehow, as the compiler keeps telling me it can't find IndexedShapefileDatastoreFactory even though I have put the import statement for it in the class? Michelle
|
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
