pe_authority_to_string_ext

Creates an extended string representation of an authority

Usage syntax

void pe_authority_to_string_ext (PE_AUTHORITY authority, int mode, char buffer[PE_BUFFER_MAX]);

Parameters
authority The authority object
mode The mode of the string representation
buffer The string representation of the object
Description

This function creates an extended string representation of an authority object in the format:
AUTHORITY["name",code]

The values for the mode parameter are:

   PE_STR_AUTH_NONE   0  /* No authority information */
   PE_STR_AUTH_TOP    1  /* Only include authority information for the top-level object */
   PE_STR_AUTH_ALL    2  /* Include authority information for all objects */

These are only useful for other object types.

Returns

None

Examples

AUTHORITY["EPSG",4326]