Hi,
I have performed the following steps on raster A:
vectorize(A) --> clean by removing small areas --> rasterize back
Now I have cats with large "gaps" and not starting by 0, hence an expanded range
of cats. How can "reorg" so that range starts at 0 with step=1?
Thanks a lot!
Regards,
Christian.
----------------------------------------------------------------
This mail was sent through http://webmail.uni-jena.de
On Thu, 2008-07-17 at 11:59 +0200, Christian Schwartze wrote:
Hi,
I have performed the following steps on raster A:
vectorize(A) --> clean by removing small areas --> rasterize back
Now I have cats with large "gaps" and not starting by 0, hence an expanded range
of cats. How can "reorg" so that range starts at 0 with step=1?
Thanks a lot!
Regards,
Christian.
Hi Christian!
If removing small areas is your target why not use r.reclass.area?
Kind regards,
Nikos
Thanks Nikos,
I use v.clean instead because so I am sure that the eleminated areas are
relocated to neighbours with longest bounds. With r.reclass.area the min areas
get lost, right? But nevertheless the cats would start at 0 and increases by 1
when using r.reclass.area?
Regards,
Christian.
Zitat von Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>:
On Thu, 2008-07-17 at 11:59 +0200, Christian Schwartze wrote:
> Hi,
>
> I have performed the following steps on raster A:
>
> vectorize(A) --> clean by removing small areas --> rasterize back
>
> Now I have cats with large "gaps" and not starting by 0, hence an expanded
range
> of cats. How can "reorg" so that range starts at 0 with step=1?
>
> Thanks a lot!
>
> Regards,
> Christian.
Hi Christian!
If removing small areas is your target why not use r.reclass.area?
Kind regards,
Nikos
----------------------------------------------------------------
This mail was sent through http://webmail.uni-jena.de
Christian Schwartze pisze:
Hi,
I have performed the following steps on raster A:
vectorize(A) --> clean by removing small areas --> rasterize back
Given the v.clean output name is "cleaned":
v.category in=cleaned out=cleaned_rmc opt=del
v.category in=cleaned_rmc out=cleaned_rmc_adc opt=add
Maciek
--
Maciej Sieczka
www.sieczka.org
Thank you Maciej,
it solves the task in this way that the cats are gap-less now, but still starts
with x>>0. And the label column get lost.
Regards,
Christian.
Zitat von Maciej Sieczka <tutey@o2.pl>:
Christian Schwartze pisze:
> Hi,
>
> I have performed the following steps on raster A:
>
> vectorize(A) --> clean by removing small areas --> rasterize back
Given the v.clean output name is "cleaned":
v.category in=cleaned out=cleaned_rmc opt=del
v.category in=cleaned_rmc out=cleaned_rmc_adc opt=add
Maciek
--
Maciej Sieczka
www.sieczka.org
----------------------------------------------------------------
This mail was sent through http://webmail.uni-jena.de