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

mapnik-omnivore

Package Overview
Dependencies
Maintainers
38
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapnik-omnivore - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

.npmignore

1

lib/ogr.js

@@ -156,2 +156,3 @@ var gdal = require('gdal');

}
fields[field.name] = fieldDescription;

@@ -158,0 +159,0 @@ }

@@ -151,3 +151,5 @@ var gdal = require('gdal');

}
if (srs.indexOf('+units=') === -1 && srs.indexOf('+proj=longlat') !== -1) return 'decimal degrees';
//Default to meters for now, if nothing matches

@@ -161,7 +163,13 @@ else return 'm';

m: function(x) { return x; },
ft: function(x) { return x / 0.3048; },
mi: function(x) { return x / 1609.34; },
km: function(x) { return x / 1000; },
'us-ft': function(x) { return x / 0.3048; },
'us-mi': function(x) { return x / 1609.34; },
'decimal degrees': function(x) { return x / 360 * circumference; }

@@ -168,0 +176,0 @@ };

4

package.json
{
"name": "mapnik-omnivore",
"version": "5.0.4",
"version": "5.0.5",
"description": "Node module that returns metadata of spatial files.",

@@ -15,3 +15,3 @@ "main": "index.js",

"sphericalmercator": "~1.0.2",
"gdal": "0.4.1",
"gdal": "~0.4.2",
"mapbox-file-sniff": "0.3.0",

@@ -18,0 +18,0 @@ "queue-async": "1.0.7"

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