Class GeoJsonFeatureToAtlasEntityConverter


  • public final class GeoJsonFeatureToAtlasEntityConverter
    extends java.lang.Object
    A GeoJson Feature to an AtlasEntity converter.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<org.openstreetmap.atlas.geography.atlas.items.AtlasEntity> convert​(org.openstreetmap.atlas.geography.geojson.parser.domain.feature.Feature feature)
      Attempt to convert a GeoJson Feature to an AtlasEntity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convert

        public static java.util.Optional<org.openstreetmap.atlas.geography.atlas.items.AtlasEntity> convert​(org.openstreetmap.atlas.geography.geojson.parser.domain.feature.Feature feature)
        Attempt to convert a GeoJson Feature to an AtlasEntity.
        Parameters:
        feature - Feature
        Returns:
        an Optional AtlasEntity