pe_factory_authority |
Creates the authority object for the specified object
PE_AUTHORITY pe_factory_authority (struct pe_struct_t *p);
p | The pointer to an object |
Pe_factory_authority creates the authority object for the specified object. The authority describes the source and version of a particular object. For example, for the WGS 1984 geographic coordinate reference system, the authority name is EPSG and the version might be 6.15.
On success, returns the new authority object; on failure, returns a null pointer
PE_COORDSYS cs;
PE_AUTHORITY cs_auth;
PE_COORDSYS cs = pe_factory(PE_GCS_WGS_1984);
PE_AUTHORITY cs_auth = pe_factory_authority(cs);