Class NamedCoordinateReferenceSystemConverter


  • @Deprecated(since="2.0",
                forRemoval=true)
    public class NamedCoordinateReferenceSystemConverter
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    use the driver-provided types instead
    A Morphia TypeConverter that knows how to turn things that are labelled with the Geometry interface into the correct concrete class, based on the GeoJSON type.

    Only implements the decode method as the concrete classes can encode themselves without needing a converter. It's when they come out of the database that there's not enough information for Morphia to automatically create Geometry instances.

    • Constructor Detail

      • NamedCoordinateReferenceSystemConverter

        public NamedCoordinateReferenceSystemConverter()
        Deprecated, for removal: This API element is subject to removal in a future version.