<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 .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...</DIV>
<DIV>can i change the projection of a raster without changing the location?</DIV>
<DIV>thanks</DIV>
<DIV>samuel</DIV>
<DIV> </DIV>
<DIV><BR><B><I>Carlos Henrique Grohmann <guano@usp.br></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>>v.in.ogr dsn=/mnt/cdrw_dvdrom/SAM/VIEWS/GEO output=cont5 layer=POL6_G<BR>min_area=0.0001 >type=boundary snap=-1 -o <BR>>Over-riding projection check.<BR>>Proceeding with import...<BR>>Layer: POL6_G<BR>>-----------------------------------------------------<BR>>Building topology ...<BR>>Registering lines: <BR>>337 primitives registered <BR>>Building areas: <BR>><BR>>196 areas built <BR>>177 isles built<BR>>Attaching islands: <BR>>Attaching centroids: <BR>>Topology was built.<BR>>Number of nodes : 319<BR>>Number of
primitives: 337<BR>>Number of points : 0<BR>>Number of lines : 0<BR>>Number of boundaries: 337<BR>>Number of centroids : 0<BR>>Number of areas : 196<BR>>Number of isles : 177<BR>>Number of incorrect boundaries : 93<BR>>Number of areas without centroid : 196<BR>>-----------------------------------------------------<BR>><BR>*** stuff ***<BR>><BR>>Building topology ...<BR>>Building areas: <BR>><BR>>196 areas built <BR>>182 isles built<BR>>Attaching islands: <BR>>Topology was built.<BR>>Number of nodes : 319<BR>>Number of primitives: 341<BR>>Number of points : 0<BR>>Number of lines : 4<BR>>Number of boundaries: 337<BR>>Number of centroids : 0<BR>>Number of areas : 196<BR>>Number of isles : 182<BR>>Number of areas without centroid : 196<BR>><BR>>Layer: POL6_G<BR>>-----------------------------------------------------<BR>>-----------------------------------------------------<BR>>Building
topology ...<BR>>Registering lines: <BR>>337 primitives registered <BR>>Building areas: <BR>><BR>>196 areas built <BR>>182 isles built<BR>>Attaching islands: <BR>><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>>v.extract input=cont5 output=cont6 type=boundary layer=1 new=1 -d <BR>>Building topology ...<BR>>Registering lines: <BR>>333 primitives registered <BR>>Building areas: <BR>><BR>>196 areas built <BR>>182 isles built<BR>>Attaching islands: <BR>>Attaching centroids: <BR>>Topology was built.<BR>>Number of nodes : 319<BR>>Number of primitives: 333<BR>>Number of points : 0<BR>>Number of lines : 0<BR>>Number of boundaries: 333<BR>>Number of centroids : 0<BR>>Number of areas : 196<BR>>Number of isles : 182<BR>>Number of areas without centroid : 196<BR>><BR>>Writing attributes ...<BR>>Removing duplicate c!
entroids
...Building topology ...<BR>>Registering lines: <BR>><BR>>333 primitives registered <BR>>Building areas: <BR><BR><BR>And I got the same map! No dissolved commom boundaries..<BR><BR>So I did:<BR><BR><BR><BR>>v.extract input=cont5 output=cont6 type=boundary layer=1 new=1 -d <BR>>Building topology ...<BR>>Registering lines: <BR>>333 primitives registered <BR>>Building areas: <BR>><BR>>196 areas built <BR>>182 isles built<BR>>Attaching islands: <BR>>Attaching centroids: <BR>>Topology was built.<BR>>Number of nodes : 319<BR>>Number of primitives: 333<BR>>Number of points : 0<BR>>Number of lines : 0<BR>>Number of boundaries: 333<BR>>Number of centroids : 0<BR>>Number of areas : 196<BR>>Number of isles : 182<BR>>Number of areas without centroid : 196<BR>><BR>>Writing attributes ...<BR>>Removing duplicate centroids ...Building topology ...<BR>>Registering lines: <BR>><BR>>333 primitives regist!
ered
<BR>>Building areas: <BR><BR>All the same, the boundaries are still there.<BR><BR><BR>Once I get an error like this:<BR><BR>>bgerror failed to handle background error.<BR>> Original error: too many nested calls to Tcl_EvalObj (infinite loop?)<BR>> 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.