idnits 2.17.1 draft-clarke-cbor-crs-02.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (March 17, 2020) is 1498 days in the past. Is this intentional? -- Found something which looks like a code comment -- if you have code sections in the document, please surround them with '' and '' lines. Checking references for intended status: Informational ---------------------------------------------------------------------------- ** Obsolete normative reference: RFC 7049 (Obsoleted by RFC 8949) Summary: 1 error (**), 0 flaws (~~), 1 warning (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group T. Clarke 3 Internet-Draft BATC 4 Intended status: Informational March 17, 2020 5 Expires: September 18, 2020 7 Concise Binary Object Representation (CBOR) Tag for Coordinate Reference 8 System (CRS) Specification 9 draft-clarke-cbor-crs-02 11 Abstract 13 The Concise Binary Object Representation (CBOR, RFC 7049) is a data 14 format whose design goals include the possibility of extremely small 15 code size, fairly small message size, and extensibility without the 16 need for version negotiation. 18 In CBOR, one point of extensibility is the definition of CBOR tags. 19 An existing CBOR tag, 103, allows for the representation of 20 geographic coordinates. Proper exploitation of geographic 21 coordinates requires an associated reference frame. The present 22 document defines a CBOR tag for referencing the coordinate reference 23 system (CRS) for a geographic coordinate. It is intended as the 24 reference document for the IANA registration of the CBOR tag defined. 26 Status of This Memo 28 This Internet-Draft is submitted in full conformance with the 29 provisions of BCP 78 and BCP 79. 31 Internet-Drafts are working documents of the Internet Engineering 32 Task Force (IETF). Note that other groups may also distribute 33 working documents as Internet-Drafts. The list of current Internet- 34 Drafts is at https://datatracker.ietf.org/drafts/current/. 36 Internet-Drafts are draft documents valid for a maximum of six months 37 and may be updated, replaced, or obsoleted by other documents at any 38 time. It is inappropriate to use Internet-Drafts as reference 39 material or to cite them other than as "work in progress." 41 This Internet-Draft will expire on September 18, 2020. 43 Copyright Notice 45 Copyright (c) 2020 IETF Trust and the persons identified as the 46 document authors. All rights reserved. 48 This document is subject to BCP 78 and the IETF Trust's Legal 49 Provisions Relating to IETF Documents 50 (https://trustee.ietf.org/license-info) in effect on the date of 51 publication of this document. Please review these documents 52 carefully, as they describe your rights and restrictions with respect 53 to this document. Code Components extracted from this document must 54 include Simplified BSD License text as described in Section 4.e of 55 the Trust Legal Provisions and are provided without warranty as 56 described in the Simplified BSD License. 58 Table of Contents 60 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 61 2. Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 3 62 3. Applicability . . . . . . . . . . . . . . . . . . . . . . . . 3 63 4. Semantics . . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 4.1. Well-known Text . . . . . . . . . . . . . . . . . . . . . 3 65 4.2. EPSG Spatial Reference Identifier . . . . . . . . . . . . 3 66 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3 67 6. Security Considerations . . . . . . . . . . . . . . . . . . . 4 68 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 69 7.1. Normative References . . . . . . . . . . . . . . . . . . 4 70 7.2. Informative References . . . . . . . . . . . . . . . . . 4 71 Appendix A. Examples . . . . . . . . . . . . . . . . . . . . . . 5 72 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 6 74 1. Introduction 76 Specifying geographic coordinates for a location on Earth requires 77 the definition of a coordinate reference system (CRS). A CRS is made 78 up of several components: [EDS1] 80 o Coordinate system: The X, Y grid upon which your data is overlayed 81 and how you define where a point is located in space. 83 o Horizontal and vertical units: The units used to define the grid 84 along the x, y (and z) axis. 86 o Datum: A modeled version of the shape of the Earth which defines 87 the origin used to place the coordinate system in space. You will 88 learn this further below. 90 o Projection Information: The mathematical equation used to flatten 91 objects that are on a round surface (e.g. the Earth) so you can 92 view them on a flat surface (e.g. your computer screens or a paper 93 map). 95 2. Objectives 97 This document aims to address the specification of coordinate 98 reference systems in CBOR [RFC7049] encoded data. This is 99 accomplished using complete CRS specification or through a well-known 100 spatial reference identifier. 102 3. Applicability 104 This tag (104) is designed for use with the Geographic Coordinates 105 CBOR Tag 103 [CBOR-GC]. A CRS tag may specify a default CRS for an 106 entire scope by using it without an associated tag 103. This tag may 107 also be encoded just after tag 103 as a way of associating a CRS with 108 a specific Geographic Coordinate. This is the expected application 109 but this tag may be used in any relevant context. 111 4. Semantics 113 The CBOR CRS tag shall be associated with one of multiple CBOR data 114 types. Each allowed type is associated with a different method of 115 specifying a CRS. 117 4.1. Well-known Text 119 OGC [OGC] Well-known Text (WKT) [WKT] is a standarized format for CRS 120 specification. When the CRS tag is associated with a Text String 121 (CBOR Major type 3), the data shall be interpreted as OGC WKT. This 122 allows for complete CRS specifcation of and subtype of CRS. 124 4.2. EPSG Spatial Reference Identifier 126 A spatial reference identifier (SRID) is a unique value which 127 unambiguously identifies a CRS. Many vendors and registries provice 128 SRIDs. This association is not intended to allow specification of an 129 arbitrary SRID, but provides a way to reference an SRID in the 130 European Pertroleum Survey Group's (EPSG) SRID database. EPSG 131 numbers are a de-facto standard for CRS reference and are very 132 commonly used. EPSG numbers can be searched and referenced in a 133 number of places including [EPSG.io] and [SpatialReference.org]. 134 When the CRS tag is associated with a basic numeric type (CBOR Major 135 type 0), the data shall be interpreted as an EPSG SRID. 137 5. IANA Considerations 139 IANA is requested to allocate a tag from the Specification Required 140 space, with the present document as the specification reference. 142 +-----+----------+--------------------------------------------------+ 143 | Tag | Data | Semantics | 144 | | Item | | 145 +-----+----------+--------------------------------------------------+ 146 | 104 | multiple | Geographic Coordinate Reference System WKT or | 147 | | | EPSG number | 148 +-----+----------+--------------------------------------------------+ 150 6. Security Considerations 152 The security considerations of [RFC7049] apply; the tag introduced 153 here are not expected to raise security considerations beyond those. 155 7. References 157 7.1. Normative References 159 [CBOR-GC] "CBOR Geographic Coordinates", n.d., 160 . 163 [RFC7049] Bormann, C. and P. Hoffman, "Concise Binary Object 164 Representation (CBOR)", RFC 7049, DOI 10.17487/RFC7049, 165 October 2013, . 167 [WKT] Open Geospatial Consortium, "Geographic information - 168 Well-known text representation of coordinate reference 169 systems", May 2015, 170 . 172 7.2. Informative References 174 [EDS1] Wasser, L., "Earthlab/Earth-Analytics-R-Course: Earth 175 Analytics Course In The R Programming Language", 176 Zenodo article, DOI 10.5281/ZENODO.1326873, August 2018. 178 [EPSG.io] "MapTiler EPSG Reference Website", n.d., 179 . 181 [OGC] "The Open Geospatial Consortium", n.d., 182 . 184 [SpatialReference.org] 185 "Spatial Reference Website", n.d., 186 . 188 [SR-ORG-7428] 189 "SR-ORG:7428 WGS 84 (3D EGM96 geoid height)", n.d., 190 . 192 Appendix A. Examples 194 CRS for EPSG:4326, the World Geodetic System 1984 horizontal 195 coordinate system used by GPS satellites, specified using an EPSG 196 SRID. 198 D8 68 # Geographic Coordinate System - tag(104) 199 19 10E6 # EPSG:4326 - unsigned(4326) 201 # Diagnostic notation: 104(4326) 203 CRS for WGS 84 3D EGM96 geoid height [SR-ORG-7428] specified using 204 WKT 205 D8 68 # Geographic Coordinate System - tag(104) 206 79 0191 # OGC WKT - text(401) 207 47454F4743535B225747532038342028 208 33442045474D39362067656F69642068 209 656967687429222C444154554D5B2257 210 6F726C642047656F6465746963205379 211 7374656D2031393834222C5350484552 212 4F49445B22574753203834222C363337 213 383133372E302C3239382E3235373232 214 333536332C415554484F524954595B22 215 45505347222C2237303330225D5D2C41 216 5554484F524954595B2245505347222C 217 2236333236225D5D2C5052494D454D5B 218 22477265656E77696368222C302E302C 219 415554484F524954595B224550534722 220 2C2238393031225D5D2C554E49545B22 221 444D53222C302E303030303034383438 222 31333638313130393533365D2C415849 223 535B2247656F6465746963206C617469 224 74756465222C4E4F5254485D2C415849 225 535B2247656F6465746963206C6F6E67 226 6974756465222C454153545D2C415849 227 535B22477261766974792D72656C6174 228 656420686569676874222C55502C4155 229 54484F524954595B2245505347222C22 230 35373733225D5D2C415554484F524954 231 595B2245505347222C2234333239225D5D 233 # Diagnostic notation: 234 104("GEOGCS[\"WGS 84 (3D EGM96 geoid height)\", 235 DATUM[\"World Geodetic System 1984\", 236 SPHEROID[\"WGS 84\",6378137.0,298.257223563, 237 AUTHORITY[\"EPSG\",\"7030\"]], 238 AUTHORITY[\"EPSG\",\"6326\"]], 239 PRIMEM[\"Greenwich\",0.0,AUTHORITY[\"EPSG\",\"8901\"]], 240 UNIT[\"DMS\",0.00000484813681109536], 241 AXIS[\"Geodetic latitude\",NORTH], 242 AXIS[\"Geodetic longitude\",EAST], 243 AXIS[\"Gravity-related height\",UP, 244 AUTHORITY[\"EPSG\",\"5773\"]], 245 AUTHORITY[\"EPSG\",\"4329\"]]") 247 Author's Address 248 Trevor R.H. Clarke 249 Ball Aerospace and Technologies Corp. 250 2875 Presidential Dr. 251 Fairborn, OH 45324 252 United States 254 Phone: +1-937-320-4000 255 Email: tclarke@ball.com