This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
Fix boundary definition bug in ArcGIS and Grid headers #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The point (min_x, min_y) is the southwest corner of the bounding box of the input dataset as well as the center of the bottom left cell in the grid, and the point (max_x, max_y) is the northeast corner of the bounding box of the input dataset.
The ArcGIS format allows the coordinates of the origin to be defined by either the center or lower left corner of the lower left cell. I've fixed the values printed to be consistent with the lower left corner.
The GRASS Grid format calls for the N, S, E, W boundaries to describe the outer edges of the region. Printed values now represent these edges instead of the bounding box of the input dataset.
Related to bugs #6 and #7