database creation

Hartmut Guendra cr1 at aixterm1.urz.uni-heidelberg.de
Mon Jun 26 08:00:00 EDT 1995


1??95?12?07?39?pm at bnr.ca>
content-type: text/plain; charset=US-ASCII
organization: University of Illinois at Urbana
mime-version: 1.0
reply-to: grassu-list at max.cecer.army.mil
newsgroups: info.grass.user
originator: daemon at ux1.cso.uiuc.edu


Conrad wrote, 

> 
> Hello,
>    I'm having trouble importing a raster image that was exported
> from IDRISI with the GRASSIDR module in GRASS4.1. The IDRISI exported
> file is in ascii format, which should be able to be imported into GRASS
> with the r.in.ascii command. The problem could be that the MAPSET doesn't 
> have a determined coordinate region. Is this a possibility or could the
> problem be that the location and mapset settings are wrong. 
>    I've tried the r.in.ascii command and the system appears to perform 
> the operation, but the resultant output file is never created. The 
> syntax of the line that I entered is:
>  r.in.ascii input=file output=file1 [title="file1"] [mult=1.0].
>    Has anyone experienced a similar problem ? I would appreciate any
> suggessions that may help solve my problem.
> Thanks in advance.
> 
>                                                      CONRAD POWER
>                                 
>                                   E-mail:     ccpower at ganymede.cs.mun.ca
> 

I never had any problems doing a conversion from a IDRISI raster image to 
GRASS. You have to be sure that your MAPSET has the right coordinate region. 
If not, the file would be imported, but you couldn't display it on your 
graphics monitor. Try to assign the right coordinate region with the 
g.region command: g.region rast=<idris_image> and d.erase. If you can 
display your IDRISI image after this procedure, the only problem was the 
wrong region settings. 

Hope this helps ...  ;-)

Hartmut
-- 
***************************************************************************
Hartmut Guendra
Geographisches Institut
Universitaet Heidelberg          Phone: (+49)-6221-564576 
INF 348                          FAX  : (+49)-6221-564996
69120 Heidelberg                 email: hartmut at geo0.geog.uni-heidelberg.de
Germany
***************************************************************************





More information about the grass-user mailing list