[GRASS-dev] [GRASS GIS] #2757: r.import: ERROR: Input raster map is outside current region
GRASS GIS
trac at osgeo.org
Wed Feb 22 01:16:42 PST 2017
#2757: r.import: ERROR: Input raster map is outside current region
--------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: normal | Milestone: 7.0.6
Component: Python | Version: svn-trunk
Resolution: | Keywords: r.import
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by mmetz):
Replying to [comment:16 hellik]:
>
> I've seen some related commits to this: r70642, r70643, r70644, r70645,
r70646, r70647
also r70656
>
> any test cases, hints how to test this new feature?
Population for Madagascar from http://www.worldpop.org.uk/
{{{
resolution is 0.000833300000000, should be 0.000833333333333
GRASS 7.2
N: 11:57:04.9988S S: 25:36:24.03236S Res: 0:00:02.99988
E: 50:29:05.949529E W: 43:11:16.000369E Res: 0:00:02.99988
trunk
N: 11:57:04.9988S S: 25:36:24.03236S Res: 0:00:02.99988
E: 50:29:05.949529E W: 43:11:16.000369E Res: 0:00:02.99988
trunk, automatic adjustment
N: 11:57:05S S: 25:36:26S Res: 0:00:03
E: 50:29:07E W: 43:11:16E Res: 0:00:03
}}}
worldclim global 2.5 minutes
{{{
GRASS 7.2
N: 90N S: 60S Res: 0:02:30
E: 180E W: 180E Res: 0:02:30
-> West is wrong, must be 180W
trunk
N: 90N S: 60S Res: 0:02:30
E: 180E W: 180W Res: 0:02:30
trunk, automatic adjustment
N: 90N S: 60S Res: 0:02:30
E: 180E W: 180W Res: 0:02:30
}}}
CHELSA version 1.1
{{{
GRASS 7.2
N: 83:59:59.497495N S: 90S Res: 0:00:29.999976
E: 179:59:59.494816E W: 179:59:59.5E Res: 0:00:30
-> South has been cut
-> West is too far east,
East will silently be wrapped by lib/gis/adj_cellhd.c:L119,120
to 539:59:59.494816E, causing all sorts of problems
trunk
N: 83:59:59.497495N S: 90:00:00.5S Res: 0:00:30
E: 179:59:59.494816E W: 180:00:00.5W Res: 0:00:30
trunk, automatic adjustment
N: 83:59:59.5N S: 90:00:00.5S Res: 0:00:30
E: 179:59:59.5E W: 180:00:00.5W Res: 0:00:30
}}}
The automatic adjustment in trunk is not yet used by any module,
candidates are r.in.gdal, r.external, r.region.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2757#comment:17>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list