[GRASSLIST:5448] Re: problems with r.in.srtm

samuel cavalcante rioapaporis at yahoo.com.br
Wed Jan 19 18:59:19 EST 2005


hi william,


> First, r.in.srtm is meant to run on zip file as
> downloaded.  It 
> automatically unzips it, creates the support files
> and imports it.  It 
> figures out the extents of the srtm tile from the
> file name, so you 
> can't rename it.  It goes thru an intermediate
> geotif, so if it worked 
> it should have left behind a tiff as well.  It
> probably stopped because 
> it coouldn't find the zip.

i forgot to say, but i did so, using the zip
file...after all it generates only  .proj , .bil and
an other i didn't remember (.hdr?)

>  The .bil file should be
> OK to import with 
> r.in.gdal.

r.in.gdal worked but with the mentioned projection
problems...

> But there is a bug in the code that figures out the
> extents so maybe 
> that's why it's not registering with your data.  I
> gave a patch to 
> Markus a while back but he hasn't applied it to the
> CVS yet, I'll have 
> to bother him about that again.

ok, thanks

another word about: apparently both data are in he
same "region" and in the same projection..but
r.in.gdal returns me the same error message (something
like: the data i am trying  to import doesn't fit in
the location)..even if i extend the region boundaries
the data also doesn't fit...


>
> On Jan 19, 2005, at 1:44 PM, samuel cavalcante
> wrote:
> 
> >
> > hi,
> > i tried to import .hgt files using r.in.srtm but
> it didn´t 
> > work...r.in.srtm instead produces 3 files ... then
> i did run r.in.gdal 
> > to import the  .bil file, but it didn´t recognize
> well the 
> > projection...i have another rasters i want to
> overlay but even if they 
> > (apparently) are in the same projection (lat/long
> wgs84) they don´t 
> > match...
> > can i change the projection of a raster without
> changing the location?
> > thanks
> > samuel
> >
> 
> -----
> William Kyngesburye <kyngchaos at charter.net>
> http://webpages.charter.net/kyngchaos/
> 
> "I ache, therefore I am.  Or in my case - I am,
> therefore I ache."
> 
> - Marvin
> 
>  


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis




More information about the grass-user mailing list