diff options
author | Evan Siroky <evan.siroky@yahoo.com> | 2016-07-07 16:44:01 -0700 |
---|---|---|
committer | Evan Siroky <evan.siroky@yahoo.com> | 2016-07-07 16:44:01 -0700 |
commit | 783532da1235f9a91952761396d3709ba51997fa (patch) | |
tree | 47890be9823ca484a277c15048124b8e03c71ded /index.js | |
parent | becb56e871d8130aa5c7c8f902b7d0b80305465f (diff) | |
download | timezone-boundary-builder-783532da1235f9a91952761396d3709ba51997fa.tar.gz |
America/Chicago
- Able to work with precision reduction in experimental build of jsts
that should ultimately be fixed in jsts 1.2.1.
- Updating intersecting polygon to work as best as possible w/ efele and
osm boundaries. It's slightly off near the town of Mexico Beach, FL.
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ debugGeo = function(op, a, b) { } catch(e) { if(e.name === 'TopologyException') { console.log('retry with GeometryPrecisionReducer') - var precisionModel = new jsts.geom.PrecisionModel(6), + var precisionModel = new jsts.geom.PrecisionModel(10000), precisionReducer = new jsts.precision.GeometryPrecisionReducer(precisionModel) a = precisionReducer.reduce(a) |