<DIV><BR>hi,</DIV>
<DIV>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 &nbsp;.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)&nbsp;they don´t match...</DIV>
<DIV>can i change the projection of a raster&nbsp;without changing the location?</DIV>
<DIV>thanks</DIV>
<DIV>samuel</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><B><I>Carlos Henrique Grohmann &lt;guano@usp.br&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I'm still with problems with my vect maps, so now I'll post all msgs.<BR><BR>I have this USGS Open File Report (97-470D, 1999) with a shape file of the<BR>political divisions of South America. I want to import it and make a vect map<BR>of South America without divisions. So I've imported it like this:<BR><BR><BR>&gt;v.in.ogr dsn=/mnt/cdrw_dvdrom/SAM/VIEWS/GEO output=cont5 layer=POL6_G<BR>min_area=0.0001 &gt;type=boundary snap=-1 -o <BR>&gt;Over-riding projection check.<BR>&gt;Proceeding with import...<BR>&gt;Layer: POL6_G<BR>&gt;-----------------------------------------------------<BR>&gt;Building topology ...<BR>&gt;Registering lines: <BR>&gt;337 primitives registered <BR>&gt;Building areas: <BR>&gt;<BR>&gt;196 areas built <BR>&gt;177 isles built<BR>&gt;Attaching islands: <BR>&gt;Attaching centroids: <BR>&gt;Topology was built.<BR>&gt;Number of nodes : 319<BR>&gt;Number of
 primitives: 337<BR>&gt;Number of points : 0<BR>&gt;Number of lines : 0<BR>&gt;Number of boundaries: 337<BR>&gt;Number of centroids : 0<BR>&gt;Number of areas : 196<BR>&gt;Number of isles : 177<BR>&gt;Number of incorrect boundaries : 93<BR>&gt;Number of areas without centroid : 196<BR>&gt;-----------------------------------------------------<BR>&gt;<BR>*** stuff ***<BR>&gt;<BR>&gt;Building topology ...<BR>&gt;Building areas: <BR>&gt;<BR>&gt;196 areas built <BR>&gt;182 isles built<BR>&gt;Attaching islands: <BR>&gt;Topology was built.<BR>&gt;Number of nodes : 319<BR>&gt;Number of primitives: 341<BR>&gt;Number of points : 0<BR>&gt;Number of lines : 4<BR>&gt;Number of boundaries: 337<BR>&gt;Number of centroids : 0<BR>&gt;Number of areas : 196<BR>&gt;Number of isles : 182<BR>&gt;Number of areas without centroid : 196<BR>&gt;<BR>&gt;Layer: POL6_G<BR>&gt;-----------------------------------------------------<BR>&gt;-----------------------------------------------------<BR>&gt;Building
 topology ...<BR>&gt;Registering lines: <BR>&gt;337 primitives registered <BR>&gt;Building areas: <BR>&gt;<BR>&gt;196 areas built <BR>&gt;182 isles built<BR>&gt;Attaching islands: <BR>&gt;<BR><BR>And I got my map, with all countries in South America. Then I try to dissolve<BR>all commom boundaries with:<BR><BR><BR>&gt;v.extract input=cont5 output=cont6 type=boundary layer=1 new=1 -d <BR>&gt;Building topology ...<BR>&gt;Registering lines: <BR>&gt;333 primitives registered <BR>&gt;Building areas: <BR>&gt;<BR>&gt;196 areas built <BR>&gt;182 isles built<BR>&gt;Attaching islands: <BR>&gt;Attaching centroids: <BR>&gt;Topology was built.<BR>&gt;Number of nodes : 319<BR>&gt;Number of primitives: 333<BR>&gt;Number of points : 0<BR>&gt;Number of lines : 0<BR>&gt;Number of boundaries: 333<BR>&gt;Number of centroids : 0<BR>&gt;Number of areas : 196<BR>&gt;Number of isles : 182<BR>&gt;Number of areas without centroid : 196<BR>&gt;<BR>&gt;Writing attributes ...<BR>&gt;Removing duplicate c!
 entroids
 ...Building topology ...<BR>&gt;Registering lines: <BR>&gt;<BR>&gt;333 primitives registered <BR>&gt;Building areas: <BR><BR><BR>And I got the same map! No dissolved commom boundaries..<BR><BR>So I did:<BR><BR><BR><BR>&gt;v.extract input=cont5 output=cont6 type=boundary layer=1 new=1 -d <BR>&gt;Building topology ...<BR>&gt;Registering lines: <BR>&gt;333 primitives registered <BR>&gt;Building areas: <BR>&gt;<BR>&gt;196 areas built <BR>&gt;182 isles built<BR>&gt;Attaching islands: <BR>&gt;Attaching centroids: <BR>&gt;Topology was built.<BR>&gt;Number of nodes : 319<BR>&gt;Number of primitives: 333<BR>&gt;Number of points : 0<BR>&gt;Number of lines : 0<BR>&gt;Number of boundaries: 333<BR>&gt;Number of centroids : 0<BR>&gt;Number of areas : 196<BR>&gt;Number of isles : 182<BR>&gt;Number of areas without centroid : 196<BR>&gt;<BR>&gt;Writing attributes ...<BR>&gt;Removing duplicate centroids ...Building topology ...<BR>&gt;Registering lines: <BR>&gt;<BR>&gt;333 primitives regist!
 ered
 <BR>&gt;Building areas: <BR><BR>All the same, the boundaries are still there.<BR><BR><BR>Once I get an error like this:<BR><BR>&gt;bgerror failed to handle background error.<BR>&gt; Original error: too many nested calls to Tcl_EvalObj (infinite loop?)<BR>&gt; Error in bgerror: too many nested calls to Tcl_Eval (infinite loop?)<BR><BR>and then GRASS crashed.<BR><BR>Pleas help. I don't know what to do.<BR><BR>I'll leave the shp file in <BR><BR>http://www.igc.usp.br/pessoais/guano/sam.html<BR><BR><BR>thanks<BR><BR><BR>-- <BR>+----------------------------------------------------------+<BR>Carlos Henrique Grohmann - Guano <BR>Geologist M.Sc - Doctorate Student at IGc-USP - Brazil<BR>Linux User #89721 - guano at usp dot br<BR>+----------------------------------------------------------+<BR><BR></BLOCKQUOTE><p>
                <hr size=1><a href="http://br.rd.yahoo.com/mail/taglines/*http://br.acesso.yahoo.com/">Yahoo! Acesso Grátis</a> - Internet rápida e grátis. Instale o discador do Yahoo! agora.