'use strict'

module.exports = function readBoundingBox (buffer, offset) {
  const Xmin = buffer.readDoubleLE(offset, true)
  const Ymin = buffer.readDoubleLE(offset + 8, true)
  const Xmax = buffer.readDoubleLE(offset + 16, true)
  const Ymax = buffer.readDoubleLE(offset + 24, true)
  return {Xmin, Ymin, Xmax, Ymax}
}

'use strict'

module.exports = function readBoundingBox (buffer, offset) {
  const xMin = buffer.readDoubleLE(offset, true)
  const yMin = buffer.readDoubleLE(offset + 8, true)
  const xMax = buffer.readDoubleLE(offset + 16, true)
  const yMax = buffer.readDoubleLE(offset + 24, true)
  return {xMin, yMin, xMax, yMax}
}

Change caseing to conform with shp header
Change caseing to conform with shp header
