Re: [GRASS-user] raster data from one location to another

2008-12-12 Thread Hamish
Daniel wrote:
 To transfer from one location to another take a look at r.proj
 
 It's used to do projection transformation and it does so by copying
 from one location to another I guess it should work if both
 locations have the same projection, that is, copy from one location to
 another

if the projections are the same, I'd just create a new mapset, g.copy
the map(s) into it with 'g.copy m...@othermapset,map', then move the mapset
directory over.

not ideal, but it works better than anything else.


Hamish





___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] raster data from one location to another

2008-12-12 Thread José María Michia
2008/12/11 Daniel Victoria daniel.victo...@gmail.com:
 To transfer from one location to another take a look at r.proj

 It's used to do projection transformation and it does so by copying
 from one location to another I guess it should work if both
 locations have the same projection, that is, copy from one location to
 another

I've tried r.proj as you suggest. The problem is that source location
don't have projection information. Is a XY location. Not georrefenced
location.

I've used this location to fix the extents of a raster map. I get
wrong extents when import some tifs. r.in.gdal reports invalid values
(i.e., lon180).  But, I've solved this problem by editing the TFW
file manually (I think that this is correct approach).

Thanks Daniel.

 DAniel

 On Thu, Dec 11, 2008 at 12:23 PM, José María Michia
 jose.maria.mic...@gmail.com wrote:
 Hi list. Sorry for the very basic question. I can not find a convincing way
 to do it myself.

 I need to copy a raster map from one location to another. I've think this
 options:

 - use a intermediary format, like ASCII
 - use r.pack/r.unpack
 - copy manually the files needed. I think that the files needed are all
 files named with the same name that the source layer, and that are under
 directories named *cell*

 I've searched in google and in documentation, but I'm sure that exist some
 better solution. Thanks for any advice.

 Saludos
 José María

 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] raster data from one location to another

2008-12-12 Thread José María Michia
2008/12/12 Hamish hamis...@yahoo.com:
 Daniel wrote:
 To transfer from one location to another take a look at r.proj

 It's used to do projection transformation and it does so by copying
 from one location to another I guess it should work if both
 locations have the same projection, that is, copy from one location to
 another

 if the projections are the same, I'd just create a new mapset, g.copy
 the map(s) into it with 'g.copy m...@othermapset,map', then move the mapset
 directory over.

 not ideal, but it works better than anything else.

 Hamish

This solution sounds more indicated to my original problem. I not need
anymore this operation. At least for now, I have much exciting GRASS
work to the future.

Thank very much Hamish, and all list people.
José María
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] raster data from one location to another

2008-12-11 Thread José María Michia
Hi list. Sorry for the very basic question. I can not find a convincing way
to do it myself.

I need to copy a raster map from one location to another. I've think this
options:

- use a intermediary format, like ASCII
- use r.pack/r.unpack
- copy manually the files needed. I think that the files needed are all
files named with the same name that the source layer, and that are under
directories named *cell*

I've searched in google and in documentation, but I'm sure that exist some
better solution. Thanks for any advice.

Saludos
José María
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user