On Tue, Oct 5, 2010 at 4:28 AM, Miles Jordan <[email protected]> wrote: > Hi folks, > > Is there a way to delete a feature type from within a store? i.e. if the > feature type comes from a PostGIS database then it will remove the database > table. > > The only way I can find is to write my own SQL statement.
Some months ago I pushed for an improvement proposal to add a dropSchema() call to DataAccess and got the proposal successfully voted. Unfortunately right after that hell broke loose and I could not find the time anymore to code up the proposal, which lies there waiting for someone to take care of it: http://docs.codehaus.org/display/GEOTOOLS/Add+ability+to+remove+feature+types (and if you're into this kind of changes here is the second, related proposal I made but could not get coded: http://docs.codehaus.org/display/GEOTOOLS/Datastore+capabilities+API) As of today I have no idea when or if those proposals will be taken care of. Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
