Looks like this message was sent to the wrong list.
Date: July 7, 2006 4:32:00 AM PDT (CA)
Subject: [Geotools-commits] GML Schema creation
Hi,
Is it possible create a new GML file from a FeatureType using geotools
2.2? I'm not able to create the feature schema, because I obtain this
exception when I try to create it;
java.lang.UnsupportedOperationException: Schema creation not supported
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:191)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:496)
at
org.geotools.data.AbstractDataStore.getFeatureWriter(AbstractDataStore.java:521)
This is the code:
GMLDataStore dataStore = new GMLDataStore(Uri);
dataStore.createSchema(FeatureType);
--
Jorge Piera Llodra
Equipo de desarrollo gvSIG
Conselleria de Infraestructuras y Transporte
Generalitat Valenciana
Valencia - Spain
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
GeoTools-commits mailing list
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Geotools-devel mailing list