opengeospatial / ogcapi-records

An open standard for the discovery of geospatial resources on the Web.
https://ogcapi.ogc.org/records
Other
58 stars 27 forks source link

ISO code for country? #261

Closed m-mohr closed 1 year ago

m-mohr commented 1 year ago

I'm implementing the contacts field right now and the country field in the address would be much more helpful (e.g. for address formatting) if it was just an ISO 3166 (alpha-2?) code instead of a free-form text.

I'm wondering whether we should:

tomkralidis commented 1 year ago

Perhaps recommend? fwiw, WMO WIS2 standards put forth ISO 3166 alpha-3.

m-mohr commented 1 year ago

Not sure about alpha-2 vs 3, I just used alpha-2 because it sometimes used for address generation (e.g. "DE-33607 Bielefeld"), but that shouldn't be the primary base for a decision.

pvretano commented 1 year ago

06-JUL-2023: Will add recommendation to specification to use ISO 3166 ... most likely to use alpha-3 since there are a couple of implementations that use that.

tomkralidis commented 1 year ago

PR in #297