Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

proj4

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proj4 - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1-dev.1

component.json

2

bower.json
{
"name": "proj4",
"version": "1.4.0",
"version": "1.4.1-dev.1",
"homepage": "https://github.com/proj4js/proj4js",

@@ -5,0 +5,0 @@ "description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",

{
"name": "proj4",
"version": "1.4.0",
"version": "1.4.1-dev.1",
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",

@@ -5,0 +5,0 @@ "main": "./dist/proj4.js",

@@ -15,2 +15,4 @@ define(function(require) {

this.srsCodeInput = srsCode;
this.x0 = 0;
this.y0 = 0;
var obj;

@@ -17,0 +19,0 @@ if(typeof srsCode === 'string'){

@@ -14,5 +14,2 @@ define(function(require) {

var split = a.split("=");
if (split[1] === "@null") {
return;
}
split.push(true);

@@ -90,2 +87,9 @@ paramObj[split[0].toLowerCase()] = split[1];

},
nadgrids: function(v) {
if (v==='@null') {
self.datumCode = 'none';
} else {
self.nadgrids = v;
}
},
axis: function(v) {

@@ -92,0 +96,0 @@ var legalAxis = "ewnsud";

@@ -1,1 +0,1 @@

define(function(){return '1.4.0';});
define(function(){return '1.4.1-dev.1';});

@@ -15,2 +15,3 @@ #PROJ4JS

jam install proj4
component install proj4js/proj4js
```

@@ -17,0 +18,0 @@

@@ -20,3 +20,5 @@

proj4.defs([
["EPSG:102018", "+proj=gnom +lat_0=90 +lon_0=0 +x_0=6300000 +y_0=6300000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"]//,
["EPSG:102018", "+proj=gnom +lat_0=90 +lon_0=0 +x_0=6300000 +y_0=6300000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"],
["testmerc", "+proj=merc +lon_0=5.937 +lat_ts=45.027 +ellps=sphere +datum=none"],
["testmerc2", "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +units=m +k=1.0 +nadgrids=@null +no_defs"]
]);

@@ -23,0 +25,0 @@ proj4.defs('esriOnline','PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]');

var testPoints = [
{code: 'testmerc',
xy: [-45007.0787624, 4151725.59875],
ll: [5.364315,46.623154]
},
{code: 'testmerc2',
xy: [4156404,7480076.5],
ll: [37.33761240175515, 55.60447049026976]
},
{code: 'PROJCS["CH1903 / LV03",GEOGCS["CH1903",DATUM["D_CH1903",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["latitude_of_center",46.95240555555556],PARAMETER["longitude_of_center",7.439583333333333],PARAMETER["azimuth",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000],UNIT["Meter",1]]',

@@ -3,0 +11,0 @@ xy: [660389.4751110513, 185731.68482649108],

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc