13.2.3 OGC_CT.IDL
CT package, CORBA profile. Copyright c OpenGIS Consortium Thursday, October 19, 2000.
include ogc_pt.idl include ogc_cs.idl
module ct { interface CT_MathTransform;
interface CT_CoordinateTransformationAuthorityFactory; interface CT_CoordinateTransformationFactory;
interface CT_CoordinateTransformation; interface CT_MathTransformFactory;
typedef long CT_DomainFlags; const CT_DomainFlags CT_DF_Inside=1;
const CT_DomainFlags CT_DF_Outside=2; const CT_DomainFlags CT_DF_Discontinuous=4;
typedef long CT_TransformType; const CT_TransformType CT_TT_Other=0;
const CT_TransformType CT_TT_Conversion=1; const CT_TransformType CT_TT_Transformation=2;
const CT_TransformType CT_TT_ConversionAndTransformation=3; struct CT_Parameter {
string name; double value;
}; typedef sequencedouble DoubleSeq;
typedef sequenceCT_Parameter CT_ParameterSeq; interface CT_MathTransform
{ readonly attribute string WKT;
readonly attribute string XML; readonly attribute long dimSource;
readonly attribute long dimTarget; readonly attribute boolean identity;
CT_DomainFlags getDomainFlagsin DoubleSeq ord; DoubleSeq getCodomainConvexHullin DoubleSeq ord;
pt::PT_CoordinatePoint transformin pt::PT_CoordinatePoint cp; DoubleSeq transformListin DoubleSeq ord;
pt::PT_Matrix derivativein pt::PT_CoordinatePoint cp; CT_MathTransform inverse;
}; interface CT_CoordinateTransformationAuthorityFactory
{ readonly attribute string authority;
CT_CoordinateTransformation createFromTransformationCodein string code; CT_CoordinateTransformation createFromCoordinateSystemCodesin string
sourceCode,in string targetCode; };
interface CT_CoordinateTransformationFactory {
CT_CoordinateTransformation createFromCoordinateSystemsin cs::CS_CoordinateSystem sourceCS,in cs::CS_CoordinateSystem targetCS;
}; interface CT_CoordinateTransformation
{ readonly attribute string name;
readonly attribute string authority; readonly attribute string authorityCode;
readonly attribute string remarks; readonly attribute string areaOfUse;
readonly attribute CT_TransformType transformType; readonly attribute cs::CS_CoordinateSystem sourceCS;
readonly attribute cs::CS_CoordinateSystem targetCS; readonly attribute CT_MathTransform mathTransform;
Page 108 of 117 OGC Document Number 01-009
}; interface CT_MathTransformFactory
{ CT_MathTransform createAffineTransformin pt::PT_Matrix matrix;
CT_MathTransform createConcatenatedTransformin CT_MathTransform transform1,in CT_MathTransform transform2;
CT_MathTransform createPassThroughTransformin long firstAffectedOrdinate,in CT_MathTransform subTransform;
CT_MathTransform createParameterizedTransformin string classification,in CT_ParameterSeq parameters;
CT_MathTransform createFromWKTin string wellKnownText; CT_MathTransform createFromXMLin string xml;
boolean isParameterAngularin string parameterName; boolean isParameterLinearin string parameterName;
}; };
Page 109 of 117 OGC Document Number 01-009
13.3 Java