Esri/terraformer

ArcGIS Parser fails because of incorrect Terraformer dependency version

Closed this issue · 0 comments

The ArcGIS Parser fails in coordinatesContainCoordinates() because it's trying to call arrayIntersectsArray() which I guess isn't in version 0.1.7 of Terraformer.

function coordinatesContainCoordinates(outer, inner){
  var intersects = Terraformer.Tools.arrayIntersectsArray(outer, inner);
  var contains = Terraformer.Tools.coordinatesContainPoint(outer, inner[0]);
  if(!intersects && contains){
    return true;
  }
  return false;
}

and

https://github.com/Esri/Terraformer/blob/master/dist/node/Parsers/ArcGIS/package.json#L24