Class Iox2fme


  • public class Iox2fme
    extends java.lang.Object
    Utility to convert from INTERLIS to FME geometry types.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static COM.safe.fmeobjects.IFMEPoint coord2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject value)
      Converts a COORD to a FME Point.
      static COM.safe.fmeobjects.IFMEGeometry geom2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject obj)  
      static COM.safe.fmeobjects.IFMEMultiPoint multicoord2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject value)  
      static COM.safe.fmeobjects.IFMEMultiCurve multipolyline2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject value)  
      static COM.safe.fmeobjects.IFMEMultiArea multisurface2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject value)  
      static COM.safe.fmeobjects.IFMEPath polyline2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject polylineObj, boolean isSurfaceOrArea)
      Converts a POLYLINE to a FME Path.
      static COM.safe.fmeobjects.IFMEArea surface2FME​(COM.safe.fmeobjects.IFMESession session, ch.interlis.iom.IomObject obj)
      Converts a SURFACE to a FME Donut.
      • Methods inherited from class java.lang.Object

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

      • coord2FME

        public static COM.safe.fmeobjects.IFMEPoint coord2FME​(COM.safe.fmeobjects.IFMESession session,
                                                              ch.interlis.iom.IomObject value)
                                                       throws DataException
        Converts a COORD to a FME Point.
        Parameters:
        session - FME session
        value - INTERLIS COORD structure.
        Returns:
        FMEPoint.
        Throws:
        DataException
      • polyline2FME

        public static COM.safe.fmeobjects.IFMEPath polyline2FME​(COM.safe.fmeobjects.IFMESession session,
                                                                ch.interlis.iom.IomObject polylineObj,
                                                                boolean isSurfaceOrArea)
                                                         throws DataException
        Converts a POLYLINE to a FME Path.
        Parameters:
        session - FME session
        polylineObj - INTERLIS POLYLINE structure
        isSurfaceOrArea - true if called as part of a SURFACE conversion.
        Returns:
        FME Path
        Throws:
        DataException
      • surface2FME

        public static COM.safe.fmeobjects.IFMEArea surface2FME​(COM.safe.fmeobjects.IFMESession session,
                                                               ch.interlis.iom.IomObject obj)
                                                        throws DataException
        Converts a SURFACE to a FME Donut.
        Parameters:
        session - FME session
        obj - INTERLIS SURFACE structure
        Returns:
        FME Donut
        Throws:
        DataException
      • geom2FME

        public static COM.safe.fmeobjects.IFMEGeometry geom2FME​(COM.safe.fmeobjects.IFMESession session,
                                                                ch.interlis.iom.IomObject obj)
                                                         throws DataException
        Throws:
        DataException
      • multipolyline2FME

        public static COM.safe.fmeobjects.IFMEMultiCurve multipolyline2FME​(COM.safe.fmeobjects.IFMESession session,
                                                                           ch.interlis.iom.IomObject value)
                                                                    throws DataException
        Throws:
        DataException
      • multisurface2FME

        public static COM.safe.fmeobjects.IFMEMultiArea multisurface2FME​(COM.safe.fmeobjects.IFMESession session,
                                                                         ch.interlis.iom.IomObject value)
                                                                  throws DataException
        Throws:
        DataException
      • multicoord2FME

        public static COM.safe.fmeobjects.IFMEMultiPoint multicoord2FME​(COM.safe.fmeobjects.IFMESession session,
                                                                        ch.interlis.iom.IomObject value)
                                                                 throws DataException
        Throws:
        DataException