Package org.locationtech.jts.jump.io
Class FMEGMLReader
- java.lang.Object
-
- org.locationtech.jts.jump.io.FMEGMLReader
-
- All Implemented Interfaces:
JUMPReader
public class FMEGMLReader extends Object implements JUMPReader
A driver that reads GML files following the FME default schema.DataProperties for the driver
Parameter Meaning File or DefaultValue File name for the input FME .xml file CompressedFile File name (a .zip or .gz) with a .jml/.xml/.gml inside (specified by File) This is implemented using the more general
GMLReader
. It makes aGMLInputTemplate
to pass to the GMLReader by examining the schema specified in the input file.
-
-
Constructor Summary
Constructors Constructor Description FMEGMLReader()
Creates new FMEGMLReader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GMLInputTemplate
getGMLInputTemplate(Reader r, String fname)
Parse the input file and make a GMLInputTemplate out of itFeatureCollection
read(DriverProperties dp)
Main method - reads in FMEGML file specified in the DriverProperties ('InputFile' or 'DefaultValue')
-
-
-
Method Detail
-
read
public FeatureCollection read(DriverProperties dp) throws IllegalParametersException, Exception
Main method - reads in FMEGML file specified in the DriverProperties ('InputFile' or 'DefaultValue')- Specified by:
read
in interfaceJUMPReader
- Parameters:
dp
-DriverProperties
to specify the file to read ('InputFile' or 'DefaultValue')- Throws:
IllegalParametersException
Exception
-
getGMLInputTemplate
public GMLInputTemplate getGMLInputTemplate(Reader r, String fname) throws IOException, ParseException
Parse the input file and make a GMLInputTemplate out of it- Parameters:
fname
- just used in error messager
- Java Reader- Throws:
IOException
ParseException
-
-