[GRASS-user] r.cost.rast Problem with output raster map of cumulative cost

Anna Petrášová kratochanna at gmail.com
Tue Feb 17 19:02:21 PST 2015


On Tue, Feb 17, 2015 at 6:36 PM, Paul Quéré <paul.quere2 at gmail.com> wrote:

> Hi everyone,
>
> I have a problem on output raster map of cumulative cost when running the
> r.cost.rast algorithm. the resolution of Output raster is 5 m. Or the
> resolution of my input raster ( cost raster and raster of starting points)
> is 1 m.
>
> I cannot figure out how the resolution can be diffrent form input to output
>

The resolution doesn't depend on the input, rather the computational extent
and resolution must be set using g.region module:
http://grass.osgeo.org/grass70/manuals/g.region.html

so for example if you want to set the extent and resolution based on a
raster map 'my_input_raster' you use (-p is for printing resulting region):

g.region raster=my_input_raster -p


Cheers,

Anna


>
> Thanks,
>
>
> --
>
> *   Paul  QUERE*
>
>    Chef de projet en géomatique/Géomaticien
>
>    tel: 07 86 18 44 65
>
>    paul.quere2 at gmail.com
>
>    LinkedIn
> <https://www.linkedin.com/profile/view?id=211987275&trk=nav_responsive_tab_profile_pic>
>
>
>
>
> <https://www.linkedin.com/profile/view?id=211987275&trk=nav_responsive_tab_profile_pic>
>
>
>
> <https://www.linkedin.com/profile/view?id=211987275&trk=nav_responsive_tab_profile_pic>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150217/b80b26ce/attachment.html>


More information about the grass-user mailing list