pe_authority_from_string

Creates an authority object from its string representation

Usage syntax

PE_AUTHORITY pe_authority_from_string (const char *buffer);

Parameters
buffer The string representation of the authority objectc
Description

This function creates an authority object from its string representation.

Returns

On success, an authority object; otherwise, a null pointer

Examples

PE_AUTHORITY auth1;

char *authority_metadata = "AUTHORITY[\"EPSG\",4326]";

auth1 = pe_authority_from_string(authority_metadata);