[GRASS-user] r.proj - how to use different dbase?

Markus Metz markus.metz.giswork at gmail.com
Sat Feb 16 08:08:40 PST 2013


On Sat, Feb 16, 2013 at 4:50 PM, Milton Cezar Ribeiro
<miltinho.astronauta at gmail.com> wrote:
> Dear all,
>
> I have two grass spatial database, each on different directory and
> with different projection/datum.
>
> How can I import a raster map while reprojectingit?
>
> Just suppose I am connected on
> C:\Mydata\GrassSDB_target
>      newLocation
>           PERMANENT
>
> and the source data are on
> C:\users\GrassSDB_source
>      newLocation
>           PERMANENT
>               mymap_UTM_sad69
>
>
> I tryed something like
>
> r.proj input=mymap_UTM_sad69 location=newLocation mapset=PERMANENT
> dbase=C:\users\GrassSDB_source
>
> But I get ERRO:Mapset <PERMANENT> in input location <newLocation> - not found
>
> Any idea of how to solve this?

r.proj tests first for the same location name, which in your case is
identical. Try to rename one and only one of your <newLocation>
locations, then try r.proj again. This is a bug in r.proj.

HTH,

Markus M


More information about the grass-user mailing list