jiayuasu opened a new pull request, #12421:
URL: https://github.com/apache/iceberg/pull/12421
## Background
According to the Iceberg Geo types spec, the CRS format follows
`type:identifier` and the only allowed types are `srid` or `projjson`, no `ogc`.
Whenever the spec says `OGC:CRS84`, it always refers to the following
projjson object. It is pretty much the `srid:4326` but with axis order in
`lon/lat`.
```
{
"$schema": "https://proj.org/schemas/v0.5/projjson.schema.json",
"type": "GeographicCRS",
"name": "WGS 84 longitude-latitude",
"datum": {
"type": "GeodeticReferenceFrame",
"name": "World Geodetic System 1984",
"ellipsoid": {
"name": "WGS 84",
"semi_major_axis": 6378137,
"inverse_flattening": 298.257223563
}
},
"coordinate_system": {
"subtype": "ellipsoidal",
"axis": [
{
"name": "Geodetic longitude",
"abbreviation": "Lon",
"direction": "east",
"unit": "degree"
},
{
"name": "Geodetic latitude",
"abbreviation": "Lat",
"direction": "north",
"unit": "degree"
}
]
},
"id": {
"authority": "OGC",
"code": "CRS84"
}
}
```
## Proposed change
This PR is to fix the wrong example used in the spec. The correct example
should be either an srid or a projjson object. In this case, I am using
`srid:4326` for simplicity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]