Class Point

Direct Known Subclasses:
MultiPoint

public class Point extends CompositeGeometry
  • Field Details

    • TYPE

      public static final String TYPE
      See Also:
    • geometry

      protected org.locationtech.jts.geom.Geometry geometry
  • Constructor Details

    • Point

      public Point(org.locationtech.jts.geom.Geometry geometry)
  • Method Details

    • toCompositeGeometry

      public static CompositeGeometry toCompositeGeometry(List coordinates)
      Parameters:
      coordinates - [x,y] coordinate list
    • isNotType

      protected boolean isNotType(org.locationtech.jts.geom.Geometry geo)
    • toJsonMap

      public Map toJsonMap()
      Description copied from class: CompositeGeometry
      Creates a Map that mimics the GeoJSON structure.
      Specified by:
      toJsonMap in class CompositeGeometry
    • createMap

      protected Map createMap(String key, List objects)
    • toWkt

      public String toWkt()
      Specified by:
      toWkt in class CompositeGeometry
      Returns:
      well-known text of underlying equivalent Geometric object
    • getGeometry

      public org.locationtech.jts.geom.Geometry getGeometry()
      Specified by:
      getGeometry in class CompositeGeometry
      Returns:
      equivalent geometric object
    • toGeoRssPositions

      public List<org.apache.abdera.ext.geo.Position> toGeoRssPositions()
      Specified by:
      toGeoRssPositions in class CompositeGeometry
    • convert

      protected org.apache.abdera.ext.geo.Coordinate convert(org.locationtech.jts.geom.Coordinate jtsCoordinate)