Class MeasureGeospatial

  • All Implemented Interfaces:
    java.io.Serializable

    public class MeasureGeospatial
    extends Measure
    Geospatial Measure dictionary.
    Since:
    5.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MeasureGeospatial

        public MeasureGeospatial()
    • Method Detail

      • getSubType

        PdfName getSubType()
        Gets the subtype. In this case RL for a rectalinear coordinate system.
        Specified by:
        getSubType in class Measure
        Returns:
        the name of the SubType.
      • setBounds

        public void setBounds​(NumberArray bounds)
        An array of numbers that shall be taken pairwise to define a series of points that describes the bounds of an area for which geospatial transformations are valid.
        Parameters:
        bounds -
      • setCoordinateSystem

        public void setCoordinateSystem​(CoordinateSystem cs)
        A projected or geographic coordinate system dictionary.
        Parameters:
        cs -
      • setDisplayCoordinateSystem

        public void setDisplayCoordinateSystem​(GeographicCoordinateSystem cs)
        Optional coordinate system that allows a document to be authored to display values in a coordinate system other than that associated with the source data. For example, a map may be created in a state plane coordinate system based on a 1927 datum, but it is possible to display its latitude and longitude values in the WGS84 datum corresponding to values reported by a GPS device.
        Parameters:
        cs -
      • setDisplayUnits

        public void setDisplayUnits​(Linear l,
                                    Square s,
                                    Angular a)
        Three names that identify in order a linear display unit, an area display unit, and an angular display unit.
        Parameters:
        l -
        s -
        a -
      • setGPTS

        public void setGPTS​(NumberArray pairedpoints)
        An array of numbers that shall be taken pairwise, defining points in geographic space as degrees of latitude and longitude. These values shall be based on the geographic coordinate system described in the GCS dictionary.
        Parameters:
        pairedpoints -
      • setLPTS

        public void setLPTS​(NumberArray pairedpoints)
        An array of numbers that shall be taken pairwise to define points in a 2D unit square. The unit square is mapped to the rectangular bounds of the Viewport, image XObject, or forms XObject that contains the measure dictionary. This array shall contain the same number of number pairs as the GPTS array; each number pair is the unit square object position corresponding to the geospatial position in the GPTS array.
        Parameters:
        pairedpoints -