MCPcopy Create free account
hub / github.com/LAStools/LAStools / Vert_Unit_Epsg

Method Vert_Unit_Epsg

src/wktparser.cpp:361–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 return res;
360}
361int WktParserSem::Vert_Unit_Epsg() {
362 int res = 0;
363 if (isWkt1) {
364 res = ValueInt(compoundPfx + "VERT_CS.UNIT.AUTHORITY");
365 } else {
366 // no epsg unit in wkt2
367 }
368 if (res == 0) {
369 // reverse calculation from unit
370 res = UnitValueToEpsg(Vert_Unit());
371 }
372 return res;
373}
374
375int WktParserSem::Gcs_Epsg() {
376 int res;

Callers 1

Calls 1

UnitValueToEpsgFunction · 0.85

Tested by

no test coverage detected