Class 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 Detail

      • 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 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