UNPKG

vgridjs

Version:

Vgrid DGGS JS

26 lines (25 loc) 772 B
// dggs/qtm.ts function qtmIdToFacet(qtmId) { throw new Error("Not implemented"); } function latlonToQtmId(lat, lon, resolution) { throw new Error("Not implemented"); } function qtmIdToLatlon(qtmId) { throw new Error("Not implemented"); } function qtmParent(qtmId) { if (!qtmId || qtmId.length <= 1) { throw new Error("Cannot get parent of an empty or single-character QTM ID."); } return qtmId.slice(0, -1); } function qtmChildren(qtmId, resolution) { if (resolution !== void 0 && qtmId.length >= resolution) { return qtmId.length === resolution ? [qtmId] : []; } throw new Error("Not implemented"); } export { latlonToQtmId, qtmChildren, qtmIdToFacet, qtmIdToLatlon, qtmParent }; //# sourceMappingURL=qtm.js.map //# sourceMappingURL=qtm.js.map