Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
swissgrid_reframe
Advanced tools
Transform between the Swiss projected coordinate systems (LV03 and LV95).
JavaScript library for transforming coordinates between the Swiss projected coordinate systems (LV03 and LV95).
LV03
is the old reference frame derived from triangulation and was used in Switzerland until 2016.
LV03 coordinates are by convention designated by the letters y
for the easting and x
for the northing,
with origin at y = 600 000 m
/ x = 200 000 m
. The origin is not at 0 / 0
to avoid confusion between
easting and northing, this is sometimes called "false easting" and "false northing".
LV95
is the new reference frame derived from GNSS surveying and is used in Switzerland since 2016.
LV95 coordinates are by convention designated by the letters E
for the easting and N
for the northing,
with origin at E = 2 600 000 m
/ N = 1 200 000 m
. This still avoids confusion between easting and northing,
and the additional 2 000 000 m
/ 1 000 000 m
offset also avoids confusion with LV03.
Due to local distortions of the LV03 reference frame, coordinates in LV03 and LV95 can differ by up to 1.6 meters. Swisstopo provides a dataset of triangles (CHENyx06) for local affine transformations to model these distortions which the swissgrid_reframe library uses to transform between LV03 and LV95.
See Swisstopo reference document about Swiss projected coordinate systems for more information.
import { lv03_to_lv95, lv95_to_lv03 } from "swissgrid_reframe";
lv03_to_lv95([722758.81, 87649.67]);
// Result: [2722759.06, 1087648.19]
lv95_to_lv03([2722759.06, 1087648.19]);
// Result: [722758.81, 87649.67]
See LICENSE.txt.
The following software also uses CHENyx06 to transform between LV03 and LV95:
Swisstopo also provides an NTv2 grid for transformations between LV03 and LV95:
Note that this has slightly lower precision than the CHENyx06-based transformations.
FAQs
Transform between the Swiss projected coordinate systems (LV03 and LV95).
The npm package swissgrid_reframe receives a total of 1 weekly downloads. As such, swissgrid_reframe popularity was classified as not popular.
We found that swissgrid_reframe 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.