An AssemblyScript implementation of converting GeoWebCoordinate
to GPS coordinates. See the spec.
npm install as-geo-web-coordinate
import { GeoWebCoordinate } from "as-geo-web-coordinate";
let lon = 110.0;
let lat = 38.0;
let gwCoord: u64 = GeoWebCoordinate.from_gps(lon, lat);
import { GeoWebCoordinate } from "as-geo-web-coordinate";
let gpsCoords: u64 = GeoWebCoordinate.to_gps(gwCoord);
See tests for more usage.
npm test