Short answer is no. This was initially on the books, but we could not 'round trip' a schema due to limitations in the GT model.
 
Dz

 
On 7/12/06, Richard Gould <[EMAIL PROTECTED]> wrote:
Looks like this message was sent to the wrong list.



---------- Forwarded message ----------
From: Jorge Piera <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Fri, 07 Jul 2006 13:32:00 +0200
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
http://www.gvsig.gva.es


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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoTools-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/geotools-commits



-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel



-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to