| 4082 | // --------------------------------------------------------------------------- |
| 4083 | |
| 4084 | static VerticalCRSNNPtr createVerticalCRS() { |
| 4085 | PropertyMap propertiesVDatum; |
| 4086 | propertiesVDatum.set(Identifier::CODESPACE_KEY, "EPSG") |
| 4087 | .set(Identifier::CODE_KEY, 5101) |
| 4088 | .set(IdentifiedObject::NAME_KEY, "Ordnance Datum Newlyn"); |
| 4089 | auto vdatum = VerticalReferenceFrame::create(propertiesVDatum); |
| 4090 | PropertyMap propertiesCRS; |
| 4091 | propertiesCRS.set(Identifier::CODESPACE_KEY, "EPSG") |
| 4092 | .set(Identifier::CODE_KEY, 5701) |
| 4093 | .set(IdentifiedObject::NAME_KEY, "ODN height"); |
| 4094 | return VerticalCRS::create( |
| 4095 | propertiesCRS, vdatum, |
| 4096 | VerticalCS::createGravityRelatedHeight(UnitOfMeasure::METRE)); |
| 4097 | } |
| 4098 | |
| 4099 | // --------------------------------------------------------------------------- |
| 4100 |
no test coverage detected