I think I already answered this email.


Jesse 

On 12-Jul-06, at 3:26 PM, Richard Gould wrote:

Looks like this message was sent to the wrong list.

From: Jorge Piera <[EMAIL PROTECTED]>
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

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