[GRASSLIST:3356] Re: help for tiff image import

Eric G. Miller egm2 at jps.net
Thu Mar 21 11:03:45 EST 2002


On Thu, Mar 21, 2002 at 04:58:18PM +0530, Anil Kumar Bhagat wrote:
> Dear Grass Users ,
>                   I have a scaned tiff map ( Uncompress  ) . I hvae
> created a new location with  PROJECTION (Latitude-Longitude). I want to 
> import the tiff map in this new location . I an getting the following
> error 
> 
> WARNING: G_set_window(): Illegal latitude for North
> ERROR: couldn't set cellhd.
> 
> I have given the correct North(13.00) & South(12.55) latitude in degree.
> I am from India so everst56 I am using . 

I'm going to guess the TIFF doesn't have a world file, therefore the
extents will be the X-Y pixel values of the image (which are out of
the range of lat/lon).  If that's the case, you need to import the image
into an X-Y location and rectify it to your lat/lon coordinate system.

If it does have a world file, are you sure it's a lat/lon projection?
The last two numbers specify the coordinates at the center of the upper
left pixel.  Are they between 90 and -90, and 180 and -180,
respectively?

> %%One more doubt is the mapset should be PERMANENT or something else .
> by default it takes my login name
> Please Help me in this problem .

If you're referring to the startup, you can change the mapset to
whatever you want it to be.  There will always be a PERMANENT mapset,
when you create a location, regardless of whether you use it as the
active mapset or not.

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list