Opened 22 years ago

Last modified 21 years ago

#201 closed defect (fixed)

OGC WKT strings with AUTHORITY tag must use string codes, not integers

Reported by: martin.daly@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

The EBNF for the AUTHORITY element, from OGC project document 01-009, is as 
follows:

<authority> = AUTHORITY["<name>", "<code>"]

From the revision history in the same document:

1.3 Revision History
1.3.1 00-007r4

...

The significant changes to the specification are as follows:
...
·  The CS_Info.code, and CT_CoordinateTransformation.code, attributes have been 
renamed authorityCode, and converted from a Long Integer to a String.

Change History (1)

comment:1 by warmerdam, 21 years ago

This has been corrected.  The OGR_SRSNode.exportToWkt() method now inspects
the parent node and quotes the value if the parent is AUTHORITY. 


Note: See TracTickets for help on using tickets.