org.geotools.data
Class MapInfoFileReader

Object
  extended by 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
MapInfoFileReader(File tabfile)
          Constructor for a MapInfoFileReader.
MapInfoFileReader(URL tabfile)
          Constructor for a MapInfoFileReader.
 
Method Summary
 List<MappedPosition> getControlPoints()
          Get Control Points
 CoordinateReferenceSystem getCRS()
          Get CoordinateReferenceSysten
 MathTransform getTransform()
          Get Math Transform based on control points
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapInfoFileReader

public MapInfoFileReader(File tabfile)
                  throws IOException
Constructor for a MapInfoFileReader.

Parameters:
tabfile - holds the location where to read from.
bufferSize - to buffer when reading.
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.
bufferSize - to buffer when reading.
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


Copyright © 1996-2014 Geotools. All Rights Reserved.