We're updating the issue view to help you get more done. 

API to format coordinate units

Description

CLDR unit data includes <coordinateUnit> patterns such as

1 2 3 4 5 6 <coordinateUnit> <coordinateUnitPattern type="east">{0}E</coordinateUnitPattern> <coordinateUnitPattern type="north">{0}N</coordinateUnitPattern> <coordinateUnitPattern type="south">{0}S</coordinateUnitPattern> <coordinateUnitPattern type="west">{0}W</coordinateUnitPattern> </coordinateUnit>

These are meta-patterns, like the <compoundUnit> pattern; they are not intended to be used to format numeric values directly, but rather, they are patterns into which another formatted unit value is inserted. For example, a number can be formatted using the angle-degree pattern, then that is inserted into the coordinateUnitPattern to yield something like "12°N" (e.g. for latitude).

We need to design an API for MeasureFormat to handle formatting of coordinate units with a given MeasureUnit and a given direction.

Environment

Status

Assignee

Peter Edberg

Reporter

Peter Edberg

tracCc

mark,pedberg,shane

tracCreated

Jan 17, 2017, 11:27 PM

tracOwner

pedberg

tracProject

all

tracReporter

pedberg

tracStatus

design

Components

Fix versions

Priority

assess