[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #8396(closed: fixed)

Opened 4 years ago

Last modified 4 years ago

Add patterns for N,E,S,W coordinates

Reported by: mark Owned by: mark
Component: other Data Locale:
Phase: dsub Review: pedberg
Weeks: Data Xpath:

Description (last modified by mark) (diff)

For latitude and longitude, we have the mechanism in place for degrees-minutes-seconds. But we need the patterns for North/East/South/West, so that we can do: 47°36′35″N 122°19′59″W

I suggest:

			<unit type="coordinate-north">
				<unitPattern count="one">{0}N</unitPattern>
				<unitPattern count="other">{0}N</unitPattern>

This is related to say, wind directions for weather, but might be inflected differently (eg the wind is "from" the north"), and we don't need the intercardinal directions (NE,...)


Change History

comment:1 Changed 4 years ago by mark

  • Description modified (diff)

comment:2 Changed 4 years ago by pedberg

  • Cc fredrik, mark, pedberg added

If we don't think plurals and separate displayName are needed, we could use a structure under <units> similar to that used for <durationUnit> (which just has a pattern)

comment:3 Changed 4 years ago by mark

We concluded that we didn't need the extra structure for plurals, etc., and would add a simpler structure. Proposed:

    <coordinateUnitPattern type="north">{0}N</coordinateUnitPattern>
    <coordinateUnitPattern type="east">{0}E</coordinateUnitPattern>
    <coordinateUnitPattern type="south">{0}S</coordinateUnitPattern>
    <coordinateUnitPattern type="west">{0}W</coordinateUnitPattern>
Last edited 4 years ago by mark (previous) (diff)

comment:4 Changed 4 years ago by mark

  • Status changed from new to accepted
  • Component changed from unknown to other
  • Priority changed from assess to critical
  • Milestone changed from UNSCH to 28
  • Owner changed from anybody to mark
  • type changed from unknown to dtd

comment:5 Changed 4 years ago by mark

  • Status changed from accepted to reviewing
  • Review set to pedberg

comment:6 Changed 4 years ago by pedberg

  • Status changed from reviewing to closed
  • Resolution set to fixed

Hmm. A lot of the support related to SurveyTool and LDML2ICU was added commented out (e.g. in ldml2icu_locale.txt, PathDescription.txt, PathHeader.txt) so I filed cldrbug 8929: to enable this support in a future release.

comment:7 Changed 4 years ago by mark


Add a comment

Modify Ticket

as closed
Next status will be 'new'
Next status will be 'closed'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.