[GRASS-dev] [GRASS GIS] #2055: r.in.gdal lacks flag "-r Limit import to the current region"

GRASS GIS trac at osgeo.org
Fri Feb 10 03:19:02 PST 2017


#2055: r.in.gdal lacks flag "-r Limit import to the current region"
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  martinl
      Type:  enhancement  |     Status:  assigned
  Priority:  normal       |  Milestone:  7.2.1
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.in.gdal, r.import
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by martinl):

 Replying to [comment:18 mmetz]:
 > you cast the numerator of the division to int while
 `Rast_align_window()` uses `floor()` and `ceil()` for the equivalent
 calculations. Why?

 I have overlooked this issue, thanks for comment. It was changed in
 attachment:r_in_gdal_2055_1.diff

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2055#comment:21>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list