CREATE OR REPLACE TYPE GeoCoord AS OBJECT
 ( Latitude NUMBER,
   Longitude NUMBER,
    MEMBER FUNCTION Distance (other IN GeoCoord)
     RETURN NUMBER,
    MAP MEMBER FUNCTION Distance_Greenwich
     RETURN NUMBER
 );
 /
