Class AiShapeProjection

java.lang.Object
hec.map.aishape.AiShapeProjection

public class AiShapeProjection extends Object
Title: AIShapeProjection.java

Description: Class to parse the supported *.prj files for a SHP map. Supports the standard SHP files used by the hec.map package. Currently supports the following coordinate systems: Geographic, Universal Transverse Mercator, State Plane, Albers Equal-Area Conic, Albers Equal-Area Conic (SHG), Lambert Conformal Conic, Transverse Mercator Supports prj files for these systems in the formats listed under ArcGIS "Coordinate Systems" directory in the WNT format.

Copyright: Copyright (c) 2007

Company: RMA Inc.

All rights reserved

Author Shannon R. Larson Created Aug 4, 2009, 11:14:51 AM Version 2.0

  • Constructor Details

    • AiShapeProjection

      public AiShapeProjection(HecFile file)
      Instantiates a new ai shape projection.

      Parameters:
      file - *.prj file
    • AiShapeProjection

      public AiShapeProjection(String wkt)
      Construct a new project using the Well Known Text Representation

      Parameters:
      wkt -
  • Method Details

    • getWKT

      public String getWKT()
      Returns the Well Known Text Representation of this projection.

      Returns:
    • getCoordinateInfo

      public CoordinateInfo getCoordinateInfo()
      Gets the coordinate info. for the *.prj file

      Returns:
      CoordinateInfo used in the *.prj file