[GRASS5] anyone use/need fragstats?

I'm going to be taking a couple of months off from work and will be
completing a few projects I've been wanting to do for some time. I would
like to start to contribute to the GRASS project in earnest (an
assistantship would be great, but not required) and I'm not sure about how
much I'll be able to contribute to the 5.1 code stream. I *really* need lots
more functionality in the vector libs (be able to generate adjacency lists,
simple stats) and would like to contribute lots to the database
functionality. I need to be able to store more than one attribute to a
polygon and I need to be able to perform ARC/INFO UNION type operations. So,
my questions are:

1) Would it be useful to port FRAGSTATS for those landscape planning folks?
2) Is there a function that currently allows you to combine vector areas and
the values as well?
3) It sounds like the release date for 5.1 is about two years out. I need
this/these function this fall. Should I even try?
4) Are there people that are in the Pacific Northwest I could talk (voice)
to regarding these issues? Anywhere?

Thanks for now,
Jeff.

Jeff D. Hamann
jeff_hamann@hamanndonald.com
541-753-7333

On Tuesday 17 June 2003 22:52, Jeff D. Hamann wrote:

2) Is there a function that currently allows you to combine vector areas
and the values as well?

What does mean "combine vector areas and the values"?

Radim

On Wednesday 18 June 2003 16:49, Jeff D. Hamann wrote:

If I "patch" two (or more) vector files I need for each of the resulting
polygons to contain the attributes from each of the component polygons.
Basically, I need the arc/info UNION functionality which means I need to be
able to have multiple attributes with each polygon.

If I understand well, there is not such module, but it should be possible
to get such result with sequence of commands (say that we have 2 area maps
a and b with attached tables in postgres):

v.patch input=a,b output=c1
v.clean input=c1 output=c2 tool=break,rmdupl
v.category input=c2 output=c3 option=del
v.category input=c3 output=c4 type=area
echo "create table c4 (id int, a int, b int)" | db.execute
v.db.connect map=c4 driver=pg database=db key=id table=c4
v.to.db map=c4 option=cat col1=id
v.distance from=c4 to=a from_type=centroid to_type=area max=0 upload=cat column=a
v.distance from=c4 to=b from_type=centroid to_type=area max=0 upload=cat column=b
Create a view in postgres from a, b and c.

:slight_smile:

To put it to one module, should not be a big problem (I mean regular module,
not script).

Radim