Looks like this message was sent to the wrong list.
--- Begin Message ---
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

--- End Message ---
-------------------------------------------------------------------------
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