Package org.hortonmachine.gears.io.nmea
Class OmsNmeaFeatureReader
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.io.nmea.OmsNmeaFeatureReader
-
public class OmsNmeaFeatureReader extends HMModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESCRIPTIONStringfilestatic Stringfile_DESCRIPTIONorg.geotools.data.simple.SimpleFeatureCollectiongeodatastatic Stringgeodata_DESCRIPTIONstatic StringKEYWORDSstatic StringNAME
-
Constructor Summary
Constructors Constructor Description OmsNmeaFeatureReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.geotools.feature.simple.SimpleFeatureBuildergetNmeaFeatureBuilder()voidreadFeatureCollection()static org.geotools.data.simple.SimpleFeatureCollectionreadNMEAfile(String path)Fast read access mode.-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Field Detail
-
geodata_DESCRIPTION
public static final String geodata_DESCRIPTION
- See Also:
- Constant Field Values
-
file_DESCRIPTION
public static final String file_DESCRIPTION
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
KEYWORDS
public static final String KEYWORDS
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
-
file
public String file
-
geodata
public org.geotools.data.simple.SimpleFeatureCollection geodata
-
-
Method Detail
-
readFeatureCollection
public void readFeatureCollection() throws IOException- Throws:
IOException
-
getNmeaFeatureBuilder
public static org.geotools.feature.simple.SimpleFeatureBuilder getNmeaFeatureBuilder()
-
readNMEAfile
public static org.geotools.data.simple.SimpleFeatureCollection readNMEAfile(String path) throws IOException
Fast read access mode.- Parameters:
path- the NMEA file path.- Returns:
- the read
FeatureCollection. - Throws:
IOException
-
-