Package org.geotools.data
Class MapInfoFileReader
Object
MapInfoFileReader
Reader for Mapinfo .TAB files Finds control points and CRS in .TAB file and parses them accordingly and builds a
mathtransform and CRS
GR (2025/06/04): why is this class in gt-main at all?
- Author:
- Niels Charlier, Scitus Development
-
Constructor Summary
ConstructorsConstructorDescriptionMapInfoFileReader
(File tabfile) Constructor for aMapInfoFileReader
.MapInfoFileReader
(URL tabfile) Constructor for aMapInfoFileReader
. -
Method Summary
Modifier and TypeMethodDescriptionGet Control PointsgetCRS()
Get CoordinateReferenceSystenGet Math Transform based on control points
-
Constructor Details
-
MapInfoFileReader
Constructor for aMapInfoFileReader
.- Parameters:
tabfile
- holds the location where to read from.- Throws:
IOException
- in case something bad happens.
-
MapInfoFileReader
Constructor for aMapInfoFileReader
.- Parameters:
tabfile
-URL
where to read from.- Throws:
IOException
- in case something bad happens.
-
-
Method Details
-
getControlPoints
Get Control Points- Returns:
- Control Points
-
getTransform
Get Math Transform based on control points- Returns:
- MathTransform
-
getCRS
Get CoordinateReferenceSysten- Returns:
- Coordinate Reference System
-