You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in _parseTIFF code should be altered:
// http://geotiff.maptools.org/spec/geotiff2.7.html
// https://geotiffjs.github.io/geotiff.js/geotiffimage.js.html
// http://duff.ess.washington.edu/data/raster/drg/docs/geotiff.txt
if (meta.ModelTiepoint) {
var x_min = meta.ModelTiepoint[3];
var x_max = x_min + meta.ModelPixelScale[0]*meta.ImageWidth;
var y_min = meta.ModelTiepoint[4];
var y_max = y_min - meta.ModelPixelScale[1]*meta.ImageLength;
}
else if (meta.ModelTransformation) {
var x_min = meta.ModelTransformation[3];
var x_max = x_min + meta.ModelTransformation[0]*meta.ImageWidth;
var y_min = meta.ModelTransformation[7];
var y_max = y_min + meta.ModelTransformation[5]*meta.ImageLength;
}
The text was updated successfully, but these errors were encountered:
in _parseTIFF code should be altered:
// http://geotiff.maptools.org/spec/geotiff2.7.html
// https://geotiffjs.github.io/geotiff.js/geotiffimage.js.html
// http://duff.ess.washington.edu/data/raster/drg/docs/geotiff.txt
if (meta.ModelTiepoint) {
var x_min = meta.ModelTiepoint[3];
var x_max = x_min + meta.ModelPixelScale[0]*meta.ImageWidth;
var y_min = meta.ModelTiepoint[4];
var y_max = y_min - meta.ModelPixelScale[1]*meta.ImageLength;
}
else if (meta.ModelTransformation) {
var x_min = meta.ModelTransformation[3];
var x_max = x_min + meta.ModelTransformation[0]*meta.ImageWidth;
var y_min = meta.ModelTransformation[7];
var y_max = y_min + meta.ModelTransformation[5]*meta.ImageLength;
}
The text was updated successfully, but these errors were encountered: