[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: Re: Clipping of an image
Hi Teo Lacava,
The following lines can be used in EASI to clip a .pix based on the
extent of .shp. Export your vector in your .pix file to .shp file. If
you have several images to clip this could be setup in a loop.
However r clip might only work in ver 10.1.
Cheers, Robby Bemrose
clipshp = "C:.shp"
fili = "C:.pix"
dbic = 1
dbsl =
sltype = "ALL"
filo = "C:.pix"
ftype ="TIF"
foptions =
clipmeth ="LAYERVEC"
clipfil = clipshp
laybnds = "SHAPES"
coordtyp = "GEOEXT"
clipul =
cliplr =
clipwh =
initvalu =
setnodata = "Y"
oclipbdy = "N"
r clip
Teodosio Lacava wrote:
>Thanks for your help,
>but I'm able to clip an image using pci commands (by focus or
imageworks),
>I need to do it by command-line.
>Regards
>Teo Lacava
>
>
>----- Messaggio originale -----
>Da: "Dr. D.V.K. Nageswara Rao" <dvknrao@xxxxxxxxx>
>A: discuss@xxxxxxxxxxxxxxxx
>Inviato: GiovedÃ, 16 ottobre 2008 12:40:46 GMT +01:00
Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
>Oggetto: Re: Clipping of an image
>
>You open both the layers first and select (highlight) raster to be
>clipped. you select the clip layer (which is a file of a vector in .pix
>format). Give a name to the output and ok it. Its done
>
>On 10/13/08, Teodosio Lacava <lacava@xxxxxxxxxxx> wrote:
>>
>> Dear all,
>> I'm not able to do (automatically, by means of an easi script) the
clipping
>> of an image,
>> using as clipping layer a vector stored in a *.pix file.
>> How can I overcome this?
>> Thanks in advance for your suggestions.
>> Regards,
>>
>> Teo Lacava
>> IMAA-CNR
>>
>
>
>
>--
>Dr. D.V.K. Nageswara Rao
>Senior Scientist (Soil Sci.)
>Crop Production Division
>Indian Grassland and Fodder Res. Inst. Jhansi - 284 003, India
>Phone # (work): 91-510-2730446; (Home): 91-510-2730121
>Mobile: 09415909612
>Alternate email: dvknrao@xxxxxxxxxx
>Website: www.dvknageswararao.bravehost.com
>