Class SpatialType


  • public final class SpatialType
    extends com.azure.core.util.ExpandableStringEnum<SpatialType>
    Defines values for SpatialType.
    • Field Detail

      • POINT

        public static final SpatialType POINT
        Static value Point for SpatialType.
      • LINE_STRING

        public static final SpatialType LINE_STRING
        Static value LineString for SpatialType.
      • POLYGON

        public static final SpatialType POLYGON
        Static value Polygon for SpatialType.
      • MULTI_POLYGON

        public static final SpatialType MULTI_POLYGON
        Static value MultiPolygon for SpatialType.
    • Constructor Detail

      • SpatialType

        public SpatialType()
    • Method Detail

      • fromString

        public static SpatialType fromString​(String name)
        Creates or finds a SpatialType from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding SpatialType.