Class Geometry

    • Method Detail

      • getType

        public abstract GeoJsonObjectType getType()
        Gets the GeoJSON object type.
        Returns:
        the type
      • toJson

        public java.lang.String toJson()
        Converts to GeoJSON representation
        Returns:
        the GeoJSON representation
      • getCoordinateReferenceSystem

        @Nullable
        public CoordinateReferenceSystem getCoordinateReferenceSystem()
        Gets the coordinate reference system, which may be null
        Returns:
        the possibly-null coordinate reference system
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object