Usually when you are writing code we encourage just using the "datastore" api (and do not write your code specifically for shapefile or postgis or wfs). Please just change your datastore creation code and have at it.
Actually one "gotcha" is that there is no "drop table" in the datastore api - only createSchema. Jody On 07/01/2010, at 5:49 PM, <[email protected]> <[email protected]> wrote: > Hi Guys > > Geonetwork is using IndexedShapefileDataStore, and I would like to convert > this into a PostGIS DataStore. > Before I dive in and hack away at this to see if I can drop in a different > feature store, are there any gotcha’s I should be looking for? > > http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/trunk/src/org/fao/geonet/kernel/search/spatial/SpatialIndexWriter.java?view=markup > > I want to move away from this shapefile implementation and into the postgis > store as I want other systems to be able to use the data. > > I cant find any tutorials which talk about swapping datastores, just how to > use them insolation. > > Terry Rankine > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
