Interface Geometry

    • Method Detail

      • getCoordinates

        List<?> getCoordinates()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns a list of coordinates for this Geometry type. For something like a Point, this will be a pair of lat/long coordinates, but for more complex types this will be a list of other Geometry objects. Used for serialisation to MongoDB.
        Returns:
        a List containing either Geometry objects, or a pair of coordinates as doubles
      • convert

        Geometry convert()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Converts this type to the driver type
        Returns:
        the driver type
      • convert

        Geometry convert​(CoordinateReferenceSystem crs)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Converts this type to the driver type
        Parameters:
        crs - the CRS to use
        Returns:
        the driver type