public class SimpleGMLReader extends Object
| Constructor and Description |
|---|
SimpleGMLReader() |
| Modifier and Type | Method and Description |
|---|---|
FeatureCollection |
readFMEFile(File file)
Reads a GML file that is in FME format.
|
List |
toGeometries(Reader gml,
String collectionElement,
String featureElement,
String geometryElement) |
List |
toGeometries(String gml,
String collectionElement,
String featureElement,
String geometryElement) |
public List toGeometries(Reader gml, String collectionElement, String featureElement, String geometryElement) throws Exception
gml - a Reader on an XML document containing GMLcollectionElement - the name of the feature-collection tagfeatureElement - the name of the feature taggeometryElement - the name of the geometry tagExceptionpublic List toGeometries(String gml, String collectionElement, String featureElement, String geometryElement) throws Exception
gml - ExceptiontoGeometries(Reader, String, String, String)public FeatureCollection readFMEFile(File file) throws Exception
ExceptionCopyright © 2015. All rights reserved.