Hello Gérald, how large is your XML-File? Might it be possible that you are running into Memorylimits?
- Tim -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Gérald Quintana Gesendet: Mittwoch, 20. Juni 2007 14:20 An: [email protected] Betreff: [Geotools-gt2-users] Convert GML into Shapefile Hello, I am a newbie in the GIS area. I would like to convert GML data coming from an XML file and representing a map layer into a Shapefile. What I call "GML file" is something like the "\org\geotools\test-data\xml\gml\Streams.gml" in gt2-sample-data . But I get the Timeout exception: java.io.IOException: org.xml.sax.SAXException: Timeout at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:294) at org.geotools.data.gml.FileGMLDataStore.getSchema(FileGMLDataStore.java:155) at org.geotools.data.gml.FileGMLDataStore.getSchema(FileGMLDataStore.java:118) at org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:3 29) at ... Caused by: org.xml.sax.SAXException: Timeout at org.geotools.xml.gml.FCBuffer.getFeatureType(FCBuffer.java:228) at org.geotools.xml.gml.FCBuffer.getFeatureReader(FCBuffer.java:201) at org.geotools.xml.gml.FCBuffer.getFeatureReader(FCBuffer.java:189) at org.geotools.data.gml.FileGMLDataStore.getSchema(FileGMLDataStore.java:153) ... 22 more Why do I get a "Timeout" exception since the GML file is local? Thansk for your help, Gerald ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
