[GRASS-dev] [GRASS GIS] #2757: r.import: ERROR: Input raster map is outside current region
GRASS GIS
trac at osgeo.org
Fri Sep 2 12:10:13 PDT 2016
#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.5
Component: Python | Version: svn-trunk
Resolution: | Keywords: r.import
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by mmetz):
Replying to [comment:11 neteler]:
> In fact, it looks reasonable:
>
> {{{
> GRASS 7.2.svn (latlong):~/software/bla > r.info bio1
>
> [...]
> | E: 180E W: 180E Res: 0:02:30
|
> }}}
The E-W extents do not look reasonable to me: E = W = 180E, thus E - W =
0, while it should be W=180W and E=180E. libgis accounts for such cases,
resulting in w=180, e=540 (180 + 360), but unfortunately GRASS restricts
(not always) longitude extents to [-180, 180].
>
> So, r.import seems to do "extra" to it...
r.import is a script calling r.in.gdal and r.proj. The reported error
{{{
ERROR: Input raster map is outside current region
}}}
comes from r.proj. I guess that the input raster region's E-W extent is
mapped to W=180W and E=540E which does not overlap with the target region.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2757#comment:12>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list