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

GR (2025/06/04): why is this class in gt-main at all?

Author:
Niels Charlier, Scitus Development
  • Constructor Details

    • MapInfoFileReader

      public MapInfoFileReader(File tabfile) throws IOException
      Constructor for a MapInfoFileReader.
      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 a MapInfoFileReader.
      Parameters:
      tabfile - URL where to read from.
      Throws:
      IOException - in case something bad happens.
  • Method Details

    • 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