Class FeaturesConverter


  • public class FeaturesConverter
    extends Object
    Features Converter
    Author:
    osbornb
    • Constructor Detail

      • FeaturesConverter

        public FeaturesConverter()
    • Method Detail

      • toCollections

        public static Collections toCollections​(String content)
        Convert the string content to a collections
        Parameters:
        content - string content
        Returns:
        collections
      • toCollections

        public static Collections toCollections​(Object value)
        Convert the object value to a collections
        Parameters:
        value - object value
        Returns:
        collections
      • toCollections

        public static Collections toCollections​(com.fasterxml.jackson.databind.JsonNode tree)
        Convert the JSON tree to a collections
        Parameters:
        tree - tree node
        Returns:
        collections
      • toCollection

        public static Collection toCollection​(String content)
        Convert the string content to a collection
        Parameters:
        content - string content
        Returns:
        collection
      • toCollection

        public static Collection toCollection​(Object value)
        Convert the object value to a collection
        Parameters:
        value - object value
        Returns:
        collection
      • toCollection

        public static Collection toCollection​(com.fasterxml.jackson.databind.JsonNode tree)
        Convert the JSON tree to a collection
        Parameters:
        tree - tree node
        Returns:
        collection
      • toFeatureCollection

        public static FeatureCollection toFeatureCollection​(String content)
        Convert the string content to a feature collection
        Parameters:
        content - string content
        Returns:
        feature collection
      • toFeatureCollection

        public static FeatureCollection toFeatureCollection​(Object value)
        Convert the object value to a feature collection
        Parameters:
        value - object value
        Returns:
        feature collection
      • toFeatureCollection

        public static FeatureCollection toFeatureCollection​(com.fasterxml.jackson.databind.JsonNode tree)
        Convert the JSON tree to a feature collection
        Parameters:
        tree - tree node
        Returns:
        feature collection
      • toFeatureCollection

        public static FeatureCollection toFeatureCollection​(Geometry simpleGeometry)
        Convert a simple geometry to a feature collection
        Parameters:
        simpleGeometry - simple geometry
        Returns:
        feature collection
      • toFeatureCollection

        public static FeatureCollection toFeatureCollection​(Collection<Geometry> simpleGeometries)
        Convert simple geometries to a feature collection
        Parameters:
        simpleGeometries - simple geometries
        Returns:
        feature collection
      • toStringValue

        public static String toStringValue​(FeatureCollection featureCollection)
        Convert the feature collection to a string value
        Parameters:
        featureCollection - feature collection
        Returns:
        string value
      • toStringValue

        public static String toStringValue​(Object object)
        Convert the object to a string value
        Parameters:
        object - object
        Returns:
        string value