1、 KSKSKSKS KSKSKSK KSKSKS KSKSK KSKS KSK KS KS X ISO/IEC 180424 (SRM) 4:C KS X ISO/IEC 180424 :2009 2009 12 28 http:/www.kats.go.krKS X ISO/IEC 180424:2009 : ( ) ( ) SJ ( ) : () ( ) ( ) () ( ) KT ( ) : (http:/www.standard.go.kr) : : 2009 12 28 2009-0912 : : ( 02-509-7262) (http:/www.kats.go.kr). 10 5
2、 , . KS X ISO/IEC 180424:2009 i ii .1 1 1 2 1 3 1 3.1 1 3.2 .2 3.3 .2 3.4 2 3.5 .2 3.6 .3 3.7 3 3.8 3 4 .3 4.1 3 4.2 .4 4.3 C .6 5 .13 5.1 .13 5.2 .15 6 49 6.1 .49 6.2 SRM 53 6.3 SRM .63 6.4 SRF .96 6.5 97 A() .98 A.1 98 A.2 srm_types.h .98 A.3 srm.h 123 B() .148 B.1 .148 B.2 148 B.3 148 B.4 149 B.5
3、 SRF SRF .150 KS X ISO/IEC 180424:2009 ii . KS X ISO/IEC 180424 . A() B() KS X ISO/IEC 180424:2009 (SRM) 4:C Information technologySpatial Reference Model(SRM) language bindingsPart 4:C 2006 1 ISO/IEC 180424, Information technologySpatial Reference Model(SRM) language bindingsPart 4:C . C . 1 ISO/IE
4、C 18026 (SRM) (API) . , SRM API . C . 2 . . ( ) . KS X ISO/IEC 9899, C ISO/IEC 18026:2005, Information technologySpatial reference model(SRM) 3 3.1 3.1.1 . 3.1.2 3.1 . KS X ISO/IEC 180424:2009 2 3.1 3 3.1 3.1.1 3.1.2 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.8.1 3.8.2 C SRM 3.2 SRM API C SRM (API) ISO/IEC 18026
5、 . . SRM API C ISO/IEC 18026 ISO/IEC 18026 C . ISO/IEC 18026 . . . 3.3 . KS X ISO/IEC 9899 . 3.4 C (KS X ISO/IEC 9899) 31 6 (, ) . SRM API C “SRM_” . SRM API . 4.2 . C (long names) (short names) “#defines” . 3.5 ISO/IEC 18026 1) . C 1) ISO (ISO International Registration Authority for Graphical Item
6、s) (NGA). Registration Authority, National Geospatial- Intelligence Agency, c/o Joint Interoperability Test Command, Building 57305, Room 263A, Fort Huachuca, Arizona 856137020. KS X ISO/IEC 180424:2009 3 . . 3.6 SRM API “SRM_Status_Code” . . 3.7 C . 5 srm_types.h . 6 srm.h . srm.h srm_types.h . srm
7、_types.h SRM . C SRM API . . 3.8 3.8.1 SRM_Status_Code . ISO/IEC 18026 (5.2.5 ). 3.8.2 C SRM C . 3.2 . 3.2 C SRM SRM_Status_Code SRM_BUFFER_OVERFLOW 2401 SRM_ENUMERATION_VALUE_INVALID 2402 4 4.1 4.1.1 ISO/IEC 18026 . 4.1.2 4.1 . KS X ISO/IEC 180424:2009 4 4.1 4 4.1 4.1.1 4.1.2 4.2 4.2.1 4.2.2 4.3 C
8、4.3.1 4.3.2 4.3.3 4.2 4.2.1 . , C . a) , . “SRM_“ . b) . “SRM_“ ( “2D“ “3D“ ). . c) “ “( ) . d) . “SRM_“ . e) . “SRM_“ . f) . 4.2.2 4.2 . . 4.2 axis direction AXDIR Celestiocentric CC Celestiodetic CD Celestiomagnetic CM KS X ISO/IEC 180424:2009 5 4.2 () coordinate valid region COORDVALRGN CS code C
9、SCOD DSS code DSSCOD ellipsoidal height EH EquatorialInertial EI EquidistantCylindrical EC Global_Coordinate_System GCS HeliosphericAriesEcliptic HAEC HeliosphericEarthEcliptic HEEC HeliosphericEarthEquatorial HEEQ interval type IVLTYP LambertConformalConic LCC LocalSpaceAzimuthal LSA LocalSpacePola
10、r LSP LocalSpaceRectangular2D LSR_2D LocalSpaceRectangular3D LSR_3D LocalTangentSpaceAzimuthalSpherical LTSAS LocalTangentSpaceCylindrical LTSC LocalTangentSpaceEuclidean LTSE LococentricEuclidean3D LCE_3D Mercator M object reference model ORM object reference model template ORMT ObliqueMercatorSphe
11、rical OMS OBRS code OBRSCOD ORM code ORMCOD ORMT code ORMTCOD Planetodetic PD polar aspect PLRASP PolarStereographic PS RD code RDCOD RT code RTCOD SolarEcliptic SEC SolarEquatorial SEQ SolarMagneticDipole SMD SolarMagneticEcliptic SME spatial coordinate code SPACOORDCOD spatial reference frame SRF
12、spatial reference frame set SRFS spatial reference frame template SRFT Spatial Reference Model SRM SRF code SRFCOD SRF parameters info code SRFPARAMINFCOD SRFS code SRFSCOD KS X ISO/IEC 180424:2009 6 4.2 () SRFSM_Alabama_SPCS_Code SRFSMALCOD SRFSM_Japan_Rectangular_Plane_CD_Code SRFSMJPRPCSCOD SRFSM
13、_Lambert_NTF_Code SRFSMLAMNTFCOD SRFSM_Universal_Polar_Sterographic_Code SRFSMUPSCOD SRFSM_Wisconsin_SPCS_Code SRFSMWNSPCSCOD SRFT code SRFTCOD status code STATCOD tangent plane surface TPS TransverseMercator TM two-dimensional 2D Universal_Polar_Stereographic UPS Universal_Transverse_Mercator UTM 4
14、.3 C 4.3.1 . 4.3.2 4.3 ISO/IEC 18026 . 4.3 ISO/IEC 18026 Axis_Direction SRM_Axis_Direction Boolean SRM_Boolean CD_3D_Coordinate SRM_CD_3D_Coordinate CD_Surface_Coordinate SRM_CD_Surface_Coordinate Coordinate SRM_Coordinate Coordinate2D_Array SRM_Coordinate2D_Array Coordinate3D_Array SRM_Coordinate3D
15、_Array Coordinate_Valid_Region SRM_Coordinate_Valid_Region CS_Code SRM_CS_Code Direction_Array SRM_Direction_Array DSS_Code SRM_DSS_Code EC_Parameters SRM_EC_Parameters EI_3D_Coordiante SRM_EI_3D_Coordinate SRM_Unused Euclidean_2D_Coordinate SRM_Euclidean_2D_Coordinate Euclidean_3D_Coordinate SRM_Eu
16、clidean_3D_Coordinate Integer SRM_Integer KS X ISO/IEC 180424:2009 7 4.3 () ISO/IEC 18026 Integer_Positive SRM_Integer_Positive Interval_Type SRM_Interval_Type LCC_Parameters SRM_LCC_Parameters LCE_3D_Parameters SRM_LCE_3D_Parameters Local_Tangent_Parameters SRM_Local_Tangent_Parameters Long_Float S
17、RM_Long_Float LSA_2D_Coordinate SRM_LSA_2D_Coordinate LSP_2D_Coordinate SRM_LSP_2D_Coordinate LSR_2D_Parameters SRM_LSR_2D_Parameters LSR_3D_Parameters SRM_LSR_3D_Parameters LTSAS_3D_Coordinate SRM_LTSAS_3D_Coordinate LTSAS_Surface_Coordinate SRM_LTSAS_Surface_Coordinate LTSC_3D_Coordinate SRM_LTSC_
18、3D_Coordinate LTSC_Surface_Coordinate SRM_LTSC_Surface_Coordinate LTSE_3D_Coordinate SRM_LTSE_3D_Coordinate LTSE_Parameters SRM_LTSE_Parameters LTSE_Surface_Coordinate SRM_LTSE_Surface_Coordinate Map_Projection_3D_Coordinate SRM_Map_Projection_3D_Coordinate Map_Projection_Surface_Coordinate SRM_Map_
19、Projection_Surface_Coordinate M_Parameters SRM_M_Parameters Object_Reference SRM_Object_Reference Oblique_Mercator_Parameters SRM_Oblique_Mercator_Parameters OBRS_Code SRM_OBRS_Code ORM_Code SRM_ORM_Code ORMT_Code SRM_ORMT_Code ORM_Transformation_2D_Parameters SRM_ORM_Transformation_2D_Parameters OR
20、M_Transformation_3D_Parameters SRM_ORM_Transformation_3D_Parameters Polar_Aspect SRM_Polar_Aspect PS_Parameters SRM_PS_Parameters RD_Code SRM_RD_Code RT_Code SRM_RT_Code Spatial_Coordinate_Code SRM_Spatial_Coordinate_Code Spherical_3D_Coordinate SRM_Spherical_3D_Coordinate SRF_Code SRM_SRF_Code SRF_
21、Parameters_Info SRM_SRF_Parameters_Info SRF_Parameters_Info_Code SRM_SRF_Parameters_Info_Code SRF_Reference_Surface_Info SRM_SRF_Reference_Surface_Info SRFS_Code SRM_SRFS_Code SRFS_Code_Info SRM_SRFS_Code_Info SRFS_Info SRM_SRFS_Info KS X ISO/IEC 180424:2009 8 4.3 () ISO/IEC 18026 SRFSM_Alabama_SPCS
22、_Code SRM_SRFSM_Alabama_SPCS_Code SRFSM_GTRS_Global_Coordiante_System_Code SRM_SRFSM_GTRS_GCS_Code SRFSM_Japan_Rectangular_Plane_CS_Code SRM_SRFSM_Japan_Rectangular_Plane_CS_Code SRFSM_Lambert_NTF_Code SRM_SRFSM_Lambert_NTF_Code SRFSM_Universal_Polar_Stereographic_Code SRM_SRFSM_UPS_Code SRFSM_Unive
23、rsal_Transverse_Mercator_Code SRM_SRFSM_UTM_Code SRFSM_Wisconsin_SPCS_Code SRM_SRFSM_Wisconsin_SPCS_Code SRFT_Code SRM_SRFT_Code SRFT_Parameters SRM_SRFT_Parameters Status_Code SRM_Status_Code TM_Parameters SRM_TM_Parameters Vector_3D SRM_Vector_3D 4.4 ISO/IEC 18026 . 4.4 ISO/IEC 18026 SRM_Axis_Dire
24、ction Axis_Direction SRM_Boolean Boolean SRM_CD_3D_Coordinate CD_3D_Coordinate SRM_CD_Surface_Coordinate CD_Surface_Coordinate SRM_Coordinate Coordinate SRM_Coordinate2D_Array Coordinate2D_Array SRM_Coordinate3D_Array Coordinate3D_Array SRM_Coordinate_Valid_Region Coordinate_Valid_Region SRM_CS_Code
25、 CS_Code SRM_Direction_Array Direction_Array SRM_DSS_Code DSS_Code SRM_EC_Parameters EC_Parameters SRM_EI_3D_Coordinate EI_3D_Coordiante SRM_Euclidean_2D_Coordinate Euclidean_2D_Coordinate SRM_Euclidean_3D_Coordinate Euclidean_3D_Coordinate SRM_Integer Integer SRM_Integer_Positive Integer_Positive S
26、RM_Interval_Type Interval_Type SRM_LCC_Parameters LCC_Parameters SRM_LCE_3D_Parameters LCE_3D_Parameters SRM_Local_Tangent_Parameters Local_Tangent_Parameters SRM_Long_Float Long_Float SRM_LSA_2D_Coordinate LSA_2D_Coordinate SRM_LSP_2D_Coordinate LSP_2D_Coordinate SRM_LSR_2D_Parameters LSR_2D_Parame
27、ters SRM_LSR_3D_Parameters LSR_3D_Parameters KS X ISO/IEC 180424:2009 9 4.4 () ISO/IEC 18026 SRM_LTSAS_3D_Coordinate LTSAS_3D_Coordinate SRM_LTSAS_Surface_Coordinate LTSAS_Surface_Coordinate SRM_LTSC_3D_Coordinate LTSC_3D_Coordinate SRM_LTSC_Surface_Coordinate LTSC_Surface_Coordinate SRM_LTSE_3D_Coo
28、rdinate LTSE_3D_Coordinate SRM_LTSE_Parameters LTSE_Parameters SRM_LTSE_Surface_Coordinate LTSE_Surface_Coordinate SRM_Map_Projection_3D_Coordinate Map_Projection_3D_Coordinate SRM_Map_Projection_Surface_Coordinate Map_Projection_Surface_Coordinate SRM_M_Parameters M_Parameters SRM_Object_Reference
29、Object_Reference SRM_Oblique_Mercator_Parameters Oblique_Mercator_Parameters SRM_OBRS_Code OBRS_Code SRM_ORM_Code ORM_Code SRM_ORMT_Code ORMT_Code SRM_ORM_Transformation_2D_Parameters ORM_Transformation_2D_Parameters SRM_ORM_Transformation_3D_Parameters ORM_Transformation_3D_Parameters SRM_Polar_Asp
30、ect Polar_Aspect SRM_PS_Parameters PS_Parameters SRM_RD_Code RD_Code SRM_RT_Code RT_Code SRM_Spatial_Coordinate_Code Spatial_Coordinate_Code SRM_Spherical_3D_Coordinate Spherical_3D_Coordinate SRM_SRF_Code SRF_Code SRM_SRF_Parameters_Info SRF_Parameters_Info SRM_SRF_Parameters_Info_Code SRF_Paramete
31、rs_Info_Code SRM_SRF_Reference_Surface_Info SRF_Reference_Surface_Info SRM_SRFS_Code SRFS_Code SRM_SRFS_Code_Info SRFS_Code_Info SRM_SRFS_Info SRFS_Info SRM_SRFSM_Alabama_SPCS_Code SRFSM_Alabama_SPCS_Code SRM_SRFSM_GTRS_GCS_Code SRFSM_GTRS_Global_Coordiante_System_Code SRM_SRFSM_Japan_Rectangular_Pl
32、ane_CS_Code SRFSM_Japan_Rectangular_Plane_CS_Code SRM_SRFSM_Lambert_NTF_Code SRFSM_Lambert_NTF_Code SRM_SRFSM_UPS_Code SRFSM_Universal_Polar_Stereographic_Code SRM_SRFSM_UTM_Code SRFSM_Universal_Transverse_Mercator_Code SRM_SRFSM_Wisconsin_SPCS_Code SRFSM_Wisconsin_SPCS_Code SRM_SRFT_Code SRFT_Code
33、SRM_SRFT_Parameters SRFT_Parameters SRM_Status_Code Status_Code SRM_TM_Parameters TM_Parameters SRM_Unused SRM_Vector_3D Vector_3D KS X ISO/IEC 180424:2009 10 4.3.3 4.5 ISO/IEC 18026 . 4.5 BaseSRF GetCSCodes GetORMCodes GetSRFCodes SRM_GetCSCodes SRM_GetORMCodes SRM_GetSRFCodes BaseSRF2D ChangeCoordinate2DArraySRF ChangeCoordinate2DArraySRFObject ChangeCoordinate2DSRF ChangeCoordinate2DSRFObject CreateCoordinate2D EuclideanDistance Generating2D GetCoordinate2DValues InverseGenerating2D SRM_ChangeCoordinate2DArraySRF SRM_ChangeCoordinate2DArraySRFObject SRM_ChangeCoordinate2DSRF SRM_ChangeCo