[GRASS-user] r.proj (grass 7)

Hi Users,

Having some problems moving some landsat 8 composite images into a different location/mapset with the same projection. Have tried r.proj (this produces the ‘ERROR: Input raster map is outside current region’) and v.in.region method (this produces a ‘blank’ map). Not sure if the resolutions need changing with g.region?

Anyone else had this?

Source Location
g.region -p
projection: 99 (Transverse Mercator)
zone: 0
datum: osgb36
ellipsoid: airy
north: 5848507.5
south: 5605492.5
west: 300892.5
east: 540907.5
nsres: 15
ewres: 15
rows: 16201
cols: 16001
cells: 259232201

Target Location
g.region -p
projection: 99 (Transverse Mercator)
zone: 0
datum: osgb36
ellipsoid: airy
north: 1466741.93548387
south: -315435.48387097
west: -309963.70967742
east: 1037084.67741935
nsres: 14.99997828
ewres: 15.00003772
rows: 118812
cols: 89803
cells: 10669674036

···

Paul J. Shapley

Hi Paul,

On Tue, Mar 24, 2015 at 2:09 PM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi Users,

Having some problems moving some landsat 8 composite images into a different
location/mapset with the same projection. Have tried r.proj (this produces

.. please do not reproject, it will alter the data.

For simple moving (different locations, same projection), use r.pack
and r.unpack.

http://grass.osgeo.org/grass70/manuals/r.pack.html
http://grass.osgeo.org/grass70/manuals/r.unpack.html

Best
Markus

--
http://courses.neteler.org
http://gis.cri.fmach.it/neteler/

On Tue, Mar 24, 2015 at 9:18 AM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Paul,

On Tue, Mar 24, 2015 at 2:09 PM, Paul Shapley <p.shapley@gmail.com> wrote:
> Hi Users,
>
> Having some problems moving some landsat 8 composite images into a
different
> location/mapset with the same projection. Have tried r.proj (this
produces

.. please do not reproject, it will alter the data.

For simple moving (different locations, same projection), use r.pack
and r.unpack.

http://grass.osgeo.org/grass70/manuals/r.pack.html
http://grass.osgeo.org/grass70/manuals/r.unpack.html

So I guess we miss a version of g.copy which would be able to copy from

different Database/Location (with same-projection check)? (Even
implementation through r|v.pack and unpack would be possible.)

Best
Markus

--
http://courses.neteler.org
http://gis.cri.fmach.it/neteler/
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On 24.03.2015 17:00, Vaclav Petras wrote:
..

So I guess we miss a version of g.copy which would be able to copy from
different Database/Location (with same-projection check)? (Even
implementation through r|v.pack and unpack would be possible.)

Nice idea! Shouldn't be difficult.

Nikos