[GRASS-user] Importing an small piece of the image using r.in.gdal

Daniel Victoria daniel.victoria at gmail.com
Tue Jun 22 07:54:08 EDT 2010


Katrin,

I don't know if gdalwarp will clip your image, check the man page at
http://www.gdal.org/gdalwarp.html

I'd recomend you clip the image before reprojecting so you will be
running gdalwarp in a smaller file

Cheers
Daniel

On Tue, Jun 22, 2010 at 5:26 AM, katrin eggert
<katrineggert1980 at gmail.com> wrote:
> Greetings
> THanks Daniel. Since I'm already using gdalwarp, can it be also used to only
> reproject a small piece of the image?
> Thanks
> Best regards,
> Katrin
> 2010/6/22 Daniel Victoria <daniel.victoria at gmail.com>
>>
>> Check out the gdal_translate utility
>> http://www.gdal.org/gdal_translate.html
>>
>> Actualli, it's not a grass tool but grass relies heavily on gdal tools
>> for raster import so chances are you have that program installed. Just
>> open a terminal and type gdal_translate. Use the options -projwin to
>> clip your image to the desired coordinates
>>
>> Cheers
>> Daniel
>>
>> On Mon, Jun 21, 2010 at 1:15 PM, katrin eggert
>> <katrineggert1980 at gmail.com> wrote:
>> > Greetings
>> > I'm working with LandCover global datasets and I need to import only an
>> > area
>> > of the dataset since my Region definition will only displays a small
>> > area
>> > (e.g. I'm working with European GLobcover and I only want Belgium and my
>> > Location/Mapset destination region  only displays Belgium). How can I
>> > only
>> > import a small region in order to avoid no-needed processing and data
>> > (because If I import and process European dataset it will take much more
>> > time than just belgium).
>> > Thanks
>> > Best regards,
>> > Katrin
>> > _______________________________________________
>> > grass-user mailing list
>> > grass-user at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/grass-user
>> >
>> >
>
>


More information about the grass-user mailing list