@itowns_gc/geodesy
v2.42.0
Published
Geodesy
Downloads
13
Readme
iTowns Geodesy
install
npm install @itowns/geodesy
getting started
import { Coordinates, Extent } from @itowns/geodesy;
const coordinates = new Coordinates('EPSG:4326', 88.002445, 50.336522, 120.32201);
const extent = new Extent('EPSG:4326', 88.002445, 50.336522, 22.021, 50.302548);
// change projection system to pseudo mercator
coordinates.as('EPSG:3857');
extent.as('EPSG:3857');
Visiting epsg.io to more coordinate system worldwide.
Visiting iTowns documentation for more information.