Re: [GRASS-user] Reorg cat entry?

2008-07-17 Thread Christian Schwartze
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 <[EMAIL PROTECTED]>:

> 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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Reorg cat entry?

2008-07-17 Thread Maciej Sieczka

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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Reorg cat entry?

2008-07-17 Thread Christian Schwartze
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 <[EMAIL PROTECTED]>:

> 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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Reorg cat entry?

2008-07-17 Thread Nikos Alexandris
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

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Reorg cat entry?

2008-07-17 Thread Christian Schwartze
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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user