Package org.geotools.data
Class MapInfoFileReader
- Object
-
- MapInfoFileReader
-
public class MapInfoFileReader extends Object
Reader for Mapinfo .TAB files Finds control points and CRS in .TAB file and parses them accordingly and builds a mathtransform and CRS- Author:
- Niels Charlier, Scitus Development
-
-
Constructor Summary
Constructors Constructor Description MapInfoFileReader(File tabfile)
Constructor for aMapInfoFileReader
.MapInfoFileReader(URL tabfile)
Constructor for aMapInfoFileReader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MappedPosition>
getControlPoints()
Get Control PointsCoordinateReferenceSystem
getCRS()
Get CoordinateReferenceSystenMathTransform
getTransform()
Get Math Transform based on control points
-
-
-
Constructor Detail
-
MapInfoFileReader
public MapInfoFileReader(File tabfile) throws IOException
Constructor for aMapInfoFileReader
.- Parameters:
tabfile
- holds the location where to read from.- Throws:
IOException
- in case something bad happens.
-
MapInfoFileReader
public MapInfoFileReader(URL tabfile) throws IOException
Constructor for aMapInfoFileReader
.- Parameters:
tabfile
-URL
where to read from.- Throws:
IOException
- in case something bad happens.
-
-
Method Detail
-
getControlPoints
public List<MappedPosition> getControlPoints()
Get Control Points- Returns:
- Control Points
-
getTransform
public MathTransform getTransform()
Get Math Transform based on control points- Returns:
- MathTransform
-
getCRS
public CoordinateReferenceSystem getCRS()
Get CoordinateReferenceSysten- Returns:
- Coordinate Reference System
-
-