Comparing version 1.5.1 to 1.5.2
@@ -5,2 +5,6 @@ # Change Log | ||
## [1.5.2] - 02-10-2017 | ||
### Fixed | ||
* Rebuild | ||
## [1.5.1] - 02-10-2017 | ||
@@ -79,2 +83,3 @@ ### Fixed | ||
[1.5.2]: https://github.com/dmfenton/winnow/compare/v1.5.1..v1.5.2 | ||
[1.5.1]: https://github.com/dmfenton/winnow/compare/v1.5.0..v1.5.1 | ||
@@ -81,0 +86,0 @@ [1.5.0]: https://github.com/dmfenton/winnow/compare/v1.4.2..v1.5.0 |
'use strict' | ||
var sql = require('./sql') | ||
var Query = require('./query') | ||
var Geometry = require('./geometry') | ||
var Params = require('./params') | ||
@@ -6,0 +5,0 @@ var Options = require('./options') |
@@ -92,3 +92,8 @@ var transformEnvelope = require('./geometry/transform-envelope') | ||
function normalizeProjection (options) { | ||
var projection = options.projection || options.outSR | ||
var projection | ||
if (options.projection) { | ||
projection = options.projection | ||
} else if (options.outSR) { | ||
projection = options.outSR.latestWkid || options.outSR.wkid || options.outSR.wkt | ||
} | ||
// Support the old esri code for web mercator | ||
@@ -95,0 +100,0 @@ if (projection === 102100) { return "EPSG:3857" } |
{ | ||
"name": "winnow", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Apply sql-like filters to GeoJSON", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39271
528