
Security News
Microsoft Releases Open Source Toolkit for AI Agent Runtime Security
Microsoft has released an open source toolkit for enforcing runtime security policies on AI agents as adoption accelerates faster than governance controls.
mt-coordtransform
Advanced tools
Coordinate transformations between latitude/longitude WGS84 and OSGB36.
Coordinate transformations between latitude/longitude WGS84 and OSGB36.
$ npm install mt-coordtransform
The module contains methods for transforming latitude/longitude coordinates between WGS84 (generally used by GPS systems or any world-wide reference system) and OSGB36 (used in all Ordnance Survey mapping).
var LatLon = require('mt-latlon');
var CoordTransform = require('mt-coordtransform');
var pointWGS84 = new LatLon(51.5136, 0.0);
var pointOSGB36 = CoordTransform.convertWGS84toOSGB36(pointWGS84);
The available methods of the CoordTransform module object is listed below.
Convert latitude/longitude point in OSGB36 to WGS84.
var pointOSGB36 = new LatLon(51.5136, 0.0);
var pointWGS84 = CoordTransform.convertOSGB36toWGS84(pointOSGB36);
// => 51°30′51″N, 000°00′06″W (as LatLon object)
Convert latitude/longitude point in WGS84 to OSGB36.
var pointWGS84 = new LatLon(51.5136, 0.0);
var pointOSGB36 = CoordTransform.convertWGS84toOSGB36(pointWGS84);
// => 51°30′47″N, 000°00′06″E (as LatLon object)
Convert latitude/longitude from one ellipsoidal model to another.
q.v. Ordnance Survey 'A guide to coordinate systems in Great Britain' Section 6 (www.ordnancesurvey.co.uk/oswebsite/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf)
Please visit www.movable-type.co.uk/scripts/latlong-convert-coords.html for more information on conversion between WGS84 and OGSB36 systems.
The original code was written by Chris Veness and can be found at www.movable-type.co.uk/scripts/latlong-convert-coords.html. It is released under the simple Creative Commons attribution license (http://creativecommons.org/licenses/by/3.0/).
This project is released under the MIT license.
FAQs
Coordinate transformations between latitude/longitude WGS84 and OSGB36.
The npm package mt-coordtransform receives a total of 7 weekly downloads. As such, mt-coordtransform popularity was classified as not popular.
We found that mt-coordtransform demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Microsoft has released an open source toolkit for enforcing runtime security policies on AI agents as adoption accelerates faster than governance controls.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.