[GRASS-user] error: file resolution vs region resolution
hamish_nospam at yahoo.com
Thu May 10 04:34:31 EDT 2007
M S wrote:
> I'm running r.flow (GRASS 6.2.1) on a surface.
> Here is the output:
> Allocating memory: elevation, aspect, density, flowline header, e/w
> distances,quantization tolerances.
> Reading input files: elevation...
> GRASS_INFO_ERROR(8207,2): Elevations file's resolution differs from
> current region resolution.
> I had initially generated a DEM with 2ftx2ft cell size. the
> g.regioninformation made cells slightly larger and smaller. I dont
> have the generated message, but somthing about the way the cells fit
> in the region that they needed slightly changed from 2x2?
> in r.info I get NS res: 0.99983403 and EW res: 1.0000397.
fix that with "g.region -a res=...". The -a makes it adjust the bounds
to match the resolution, not the other way around.
> So i used g.region to set my region cell vales to match those values
> above, and still got the same error message.
> Any suggestions?
r.flow elevin=yourmap ...
Then they should match exactly.
More information about the grass-user