<DIV>Ian,</DIV>
<DIV>well, it worked but i have still a question about..</DIV>
<DIV>how i set the resolution of the new location to fit the original raster resolution? the way of describe the resolution in the process of creating a new location is quite different of that displayed when i run g.region or r.info (both in the original location)...</DIV>
<DIV>thanks in advance</DIV>
<DIV>samuel<BR><BR><B><I>Ian MacMillan <ian_macmillan@umail.ucsb.edu></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Samuel,<BR>If you have imported your raster into location 1, then exit that <BR>location. Open up location 2 (your desired projection) and set your <BR>region to match the incoming raster with g.region w= e= s= n=<BR>Following this, use r.proj in location 2 to bring in your raster from <BR>location 1. This is different only if location 1 is an XY location <BR>(without projection info). If so, write back and let us know, or look <BR>at the mail archives.<BR><BR>G'luck<BR>-Ian<BR><BR><BR>On Jan 31, 2005, at 8:02 AM, samuel cavalcante wrote:<BR><BR>> hi ,<BR>> what i have to do to reproject a raster that is in a different <BR>> projection to current location´s projection?<BR>> i have to quit the location an then import this raster in another <BR>> location whith the desired projection?<BR>> thanks<BR>> samuel<BR>><BR>> Radim Blazek
<BLAZEK@ITC.IT>wrote:<BR>> For me it works.<BR>> v.mkgrid map=pok grid=3,2 position=region<BR>> v.extract input=pok output=pok2 type=area list=4<BR>> ...<BR>> Number of boundaries: 8<BR>> Number of centroids : 1<BR>> ...<BR>><BR>> Radim<BR>><BR>> Dylan Beaudette wrote:<BR>> > Radim,<BR>> ><BR>> > Thanks for the idea... but doing v.extract type=area leaves me with <BR>> only the<BR>> > centroids for each grid cell...<BR>> ><BR>> > is there anyway to convert a set of line segments into a polygon?<BR>> ><BR>> > thanks!<BR>> ><BR>> > Dylan<BR>> ><BR>> > On Thursday 27 January 2005 12:14 am, Radim Blazek wrote:<BR>> ><BR>> >>Use v.extract type=area<BR>> >><BR>> >>Radim<BR>> >><BR>> >>Dylan Beaudette wrote:<BR>> >><BR>> >>>On Wednesday 26 January 2005 06:09 pm, Hamish wrote:<BR>> >>><BR>>
>>>>>I have used v.mkgrid (GRASS6-CVS) in the past to make vector <BR>> grids,<BR>> >>>>>and all has been well.<BR>> >>>><BR>> >>>>..<BR>> >>>><BR>> >>>><BR>> >>>>>However, this morning I tried to extract a single square from the<BR>> >>>>>output from v.mkgrid, and was only able to get either a single<BR>> >>>>>centroid (almost correct), or the entire boundary (not good). <BR>> Since<BR>> >>>>>the boundaries do not have CATs, there is no way for me to <BR>> extract a<BR>> >>>>>single boundary...<BR>> >>>><BR>> >>>>..<BR>> >>>><BR>> >>>><BR>> >>>>>Any ideas?<BR>> >>>><BR>> >>>>what about<BR>> >>>><BR>> >>>> v.category type=boundary option=add<BR>>
>>>><BR>> >>>>to add category numbers to the boundaries?<BR>> >>><BR>> >>>Thanks! ... this gives the boundaries CATs... but for some reason, <BR>> each<BR>> >>>grid square is made up of about 8 line segments (3 for top and <BR>> bottom<BR>> >>>lines, 1 for each vertical line)...<BR>> >>><BR>> >>>My hope is that i can make each grid "cell" into a discreet <BR>> polygon, that<BR>> >>>can be used to set the region -- i.e. so that i can accurately <BR>> subsample<BR>> >>>a larger map.<BR>> >>><BR>> >>>thanks!<BR>> ><BR>> >t;<BR>><BR>><BR>> Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador <BR>> do Yahoo! agora.</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.