Class GridHorizCoordSys


  • public class GridHorizCoordSys
    extends Object
    A horizontal coordinate system created from a GridDefRecord

    Note on "false_easting" and "fale_northing" projection parameters:

    • false_easting(northing) = The value added to all x (y) values in the rectangular coordinates for a map projection. This value frequently is assigned to eliminate negative numbers. Expressed in the unit of measure identified in Planar Coordinate Units.
    • We dont currently use, assuming that the x and y are just fine as negetive numbers.
    • Constructor Detail

      • GridHorizCoordSys

        public GridHorizCoordSys​(GridDefRecord gds,
                                 GridTableLookup lookup,
                                 Group g)
        Create a new GridHorizCoordSys with the grid definition and lookup
        Parameters:
        gds - grid definition
        lookup - lookup table for names
        g - Group for this coord system
    • Method Detail

      • getID

        public String getID()
        Get the ID
        Returns:
        the ID
      • getGridName

        public String getGridName()
        Get the grid name
        Returns:
        the grid name
      • getGroup

        public Group getGroup()
        Get the group
        Returns:
        the group
      • isLatLon

        public boolean isLatLon()
        Is this a lat/lon grid
        Returns:
        true if is lat/lon
      • getNx

        public int getNx()
        Get the number of x points
        Returns:
        the number of x points
      • getNy

        public int getNy()
        Get the number of Y points
        Returns:
        the number of Y points
      • getDxInKm

        public double getDxInKm()
        Get the X spacing in kilometers
        Returns:
        the X spacing in kilometers
      • getDyInKm

        public double getDyInKm()
        Get the Y spacing in kilometers
        Returns:
        the Y spacing in kilometers
      • getGDSprefix

        protected String getGDSprefix()
      • getGds

        public GridDefRecord getGds()
        returns the gds for this hcs
        Returns:
        gds GridDefRecord