Thanks a lot for your help. You got it right! The Problem is, that there
is not only one city (so it is not only one agricultural area) but 187
of them. So I have to calculate the area of the resulting map after
every run for each point. In fact, i need something like "r.lake" but it
should stop on each starting-point, when the required area for this
point is reached. Is there a possibility to do something like that?

Thanks a lot
Martin

>
>
> -------- Original-Nachricht --------
> Betreff:     Re: [GRASS-user] buffer vector within a given area
> Datum:     Tue, 28 Apr 2009 16:02:52 +0300
> Von:     Maris Nartiss <maris....@gmail.com>
> An:     Moritz Lennert <mlenn...@club.worldonline.be>
> CC:     Martin Schweizer <schweizermar...@students.unibe.ch>,
> grass-user@lists.osgeo.org
> Referenzen:     <49ef6468.5010...@students.unibe.ch>
> <49ef87c9.6000...@club.worldonline.be>
> <49f0dc15.2080...@students.unibe.ch>
> <402115d10904240705wb2f9a09h2dc930ee664f2...@mail.gmail.com>
> <49f1cf64.4010...@students.unibe.ch>
> <49f2c9e0.4000...@club.worldonline.be>
>
>
>
> If I got it right - You need to fill possible agriculture land till it
> reaches required area.
> I think You can use mapcalc sample provided in r.lake documentation.
> Just replace ${variables} with Your map name and calculate resulting
> map area after every run. Mask nonagriculture land with MASK and it
> will not be used.
> Like (pseudocode):
> while $area<$target:
> r.mapcalc newmap={code from r.lake docs}
> area = r.report newmap area
>
> If You need additional help, drop a note.
> Maris.
>
>
>


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

Reply via email to