[GRASS-dev] terminology issues in grass7

On Aug 9, 2008, at 2:54 PM, <grass-dev-request@lists.osgeo.org> wrote:

Date: Sat, 09 Aug 2008 23:45:27 +0200
From: Maciej Sieczka <tutey@o2.pl>
Subject: Re: [GRASS-dev] terminology issues in grass7
To: grass-dev@lists.osgeo.org
Cc: Martin Landa <landa.martin@gmail.com>, Michael Barton
  <michael.barton@asu.edu>
Message-ID: <489E0FF7.7010002@o2.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Michael Barton pisze:

I agree with changing map to layers and using map to refer to the
composited group of layers.

Sounds alright to me as well.

However, I disagree with using "field number" for the features that are
now called "layers" in vectors. These are "key fields" or "keys" in
standard DBMS terminology for linking the vector table with the
attribute table. I propose using "key" or "keyfield".

In GRASS there is already a term "key column" (the column that links the
category number with the table row). Since terms "field" and "column"
are sometimes used interchangeably, and term "key column" is already a
part of GRASS terminology, using "keyfield" for something different will
lead to confussion.

"I don't think this is official", but the cat field certainly IS a key field to link vectors and attribute tables--more so than layers. So I agree that this would be confusing.

May I suggest "table link" in place of the current "layer" then? So each
vector map can have multilpe "table links", and each "table" can have
it's own "key column".

This sounds reasonable to me too. It clearly describes what the feature does.

Michael

On 10/08/08 17:25, Michael Barton wrote:

On Aug 9, 2008, at 2:54 PM, <grass-dev-request@lists.osgeo.org> wrote:

Date: Sat, 09 Aug 2008 23:45:27 +0200
From: Maciej Sieczka <tutey@o2.pl>
Subject: Re: [GRASS-dev] terminology issues in grass7
To: grass-dev@lists.osgeo.org
Cc: Martin Landa <landa.martin@gmail.com>, Michael Barton
    <michael.barton@asu.edu>
Message-ID: <489E0FF7.7010002@o2.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Michael Barton pisze:

I agree with changing map to layers and using map to refer to the
composited group of layers.

Sounds alright to me as well.

However, I disagree with using "field number" for the features that are
now called "layers" in vectors. These are "key fields" or "keys" in
standard DBMS terminology for linking the vector table with the
attribute table. I propose using "key" or "keyfield".

In GRASS there is already a term "key column" (the column that links the
category number with the table row). Since terms "field" and "column"
are sometimes used interchangeably, and term "key column" is already a
part of GRASS terminology, using "keyfield" for something different will
lead to confussion.

"I don't think this is official", but the cat field certainly IS a key field to link vectors and attribute tables--more so than layers. So I agree that this would be confusing.

May I suggest "table link" in place of the current "layer" then? So each
vector map can have multilpe "table links", and each "table" can have
it's own "key column".

This sounds reasonable to me too. It clearly describes what the feature does.

Well, to be absolutely precise, you don't need linked attribute tables to have multiple layers, so I'm not sure that reducing the layer concept to table links is really 100% correct.

But I have nothing to suggest as an alternative. I don't find "layer" that confusing, but then again, I'm probably just too used to it.

Moritz

On Sun, 10 Aug 2008, Moritz Lennert wrote:

May I suggest "table link" in place of the current "layer" then? So each
vector map can have multilpe "table links", and each "table" can have
it's own "key column".

This sounds reasonable to me too. It clearly describes what the feature does.

Well, to be absolutely precise, you don't need linked attribute tables to have multiple layers, so I'm not sure that reducing the layer concept to table links is really 100% correct.

I think though, that connecting multiple layers to different tables is the main application for layers? Are they much use for anything else? In which case, calling them tables makes things clearer. Perhaps even table would be enough - each vector map can be connected to multiple tables, each vector map can have multiple tables, each vector map can have multiple table links... is there a big difference in meaning between those different sentences? I feel removing the word "link" improves the clarity of the meaning without adding any additional ambiguity.

With regard to calling maps something different though, I think that would be very confusing and not a good idea (especially if they were renamed to layers). Map has IMHO a much clearer meaning than layer. There is the issue of ambiguity with a printed map I suppose, but use of the word in that context is kind of non-technical I feel. The use of the word map has a clearly defined historical meaning in GRASS (and influences other words too, e.g. a mapset = a collection of maps - should this be renamed a layerset?) and I feel that it should stay.

Paul

Paul Kelly pisze:

On Sun, 10 Aug 2008, Moritz Lennert wrote:

Well, to be absolutely precise, you don't need linked attribute tables to have multiple layers, so I'm not sure that reducing the layer concept to table links is really 100% correct.

I think though, that connecting multiple layers to different tables is the main application for layers? Are they much use for anything else? In which case, calling them tables makes things clearer. Perhaps even table would be enough - each vector map can be connected to multiple tables, each vector map can have multiple tables, each vector map can have multiple table links... is there a big difference in meaning between those different sentences? I feel removing the word "link" improves the clarity of the meaning without adding any additional ambiguity.

I don't agree with Paul. In GRASS vector terminology the term "table"
already has a very well defined meaning and it must not be used for
anything else.

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

Any good?

Talking about layers (in their current meaning) - there is no convenient
tool to report the number of layers in a vector map. There is only
v.category opt=report. Could v.info be extended in this regard? Oh, and
the regular v.info already reports number of "dblinks" (which I guess
might be renamed to "table links", but I won't insist), while v.info -t
doesn't. Could this be addressed too please?

With regard to calling maps something different though, I think that would be very confusing and not a good idea (especially if they were renamed to layers). Map has IMHO a much clearer meaning than layer. There is the issue of ambiguity with a printed map I suppose, but use of the word in that context is kind of non-technical I feel. The use of the word map has a clearly defined historical meaning in GRASS (and influences other words too, e.g. a mapset = a collection of maps - should this be renamed a layerset?) and I feel that it should stay.

Paul has points here. Yet I *guess* I'd prefer to trade legacy for
clarity anyway. Calling GRASS "maps" "layers" would improve clarity
IMHO, especially for newcommers. Word "map" has been in use for
centuries and the word immediately brings a nice picture with north
arrow, legend and stuff to my mind. "Layer" is *the* GIS word for a set
of features that can be represented graphically as a map, as well as a
table or a set of statistic properties etc.

Maciek

--
Maciej Sieczka
www.sieczka.org

On Monday 11 August 2008, Maciej Sieczka wrote:

Paul Kelly pisze:
> On Sun, 10 Aug 2008, Moritz Lennert wrote:
>> Well, to be absolutely precise, you don't need linked attribute tables
>> to have multiple layers, so I'm not sure that reducing the layer
>> concept to table links is really 100% correct.
>
> I think though, that connecting multiple layers to different tables is
> the main application for layers? Are they much use for anything else? In
> which case, calling them tables makes things clearer. Perhaps even table
> would be enough - each vector map can be connected to multiple tables,
> each vector map can have multiple tables, each vector map can have
> multiple table links... is there a big difference in meaning between
> those different sentences? I feel removing the word "link" improves the
> clarity of the meaning without adding any additional ambiguity.

I don't agree with Paul. In GRASS vector terminology the term "table"
already has a very well defined meaning and it must not be used for
anything else.

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

Any good?

Talking about layers (in their current meaning) - there is no convenient
tool to report the number of layers in a vector map. There is only
v.category opt=report. Could v.info be extended in this regard? Oh, and
the regular v.info already reports number of "dblinks" (which I guess
might be renamed to "table links", but I won't insist), while v.info -t
doesn't. Could this be addressed too please?

> With regard to calling maps something different though, I think that
> would be very confusing and not a good idea (especially if they were
> renamed to layers). Map has IMHO a much clearer meaning than layer.
> There is the issue of ambiguity with a printed map I suppose, but use of
> the word in that context is kind of non-technical I feel. The use of the
> word map has a clearly defined historical meaning in GRASS (and
> influences other words too, e.g. a mapset = a collection of maps -
> should this be renamed a layerset?) and I feel that it should stay.

Paul has points here. Yet I *guess* I'd prefer to trade legacy for
clarity anyway. Calling GRASS "maps" "layers" would improve clarity
IMHO, especially for newcommers. Word "map" has been in use for
centuries and the word immediately brings a nice picture with north
arrow, legend and stuff to my mind. "Layer" is *the* GIS word for a set
of features that can be represented graphically as a map, as well as a
table or a set of statistic properties etc.

Maciek

+1 on Maciek's suggestions. This has been a point of controversy and confusion
for some time now, and we could potentially have a nice clean start from the
7.0 branch.

Cheers,

Dylan

--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341

On Mon, 11 Aug 2008, Maciej Sieczka wrote:

Paul Kelly pisze:

I think though, that connecting multiple layers to different tables is the main application for layers? Are they much use for anything else? In which case, calling them tables makes things clearer. Perhaps even table would be enough - each vector map can be connected to multiple tables, each vector map can have multiple tables, each vector map can have multiple table links... is there a big difference in meaning between those different sentences? I feel removing the word "link" improves the clarity of the meaning without adding any additional ambiguity.

I don't agree with Paul. In GRASS vector terminology the term "table"
already has a very well defined meaning and it must not be used for
anything else.

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Agree 100%. In fact, that was exactly my point. In the interests of clarity/simplicity, I was proposing to consider a table as "belonging" to a particular map, e.g. the table containing a key column (or key field) whose values correspond to the categories in layer 1 of vector map x could be considered as table 1 of vector map x. The fact that tables may belong to multiple vector maps, and indeed exist independently outside of GRASS, doesn't IMO impede on the clarity of this relationship between a vector map and multiple tables: the same table may belong to different vector maps and be associated with a different table number in each.

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

Any good?

I think we are thinking the same :slight_smile: IIUC, a category set is quite meaningless unless the table containing more information on each category in the set is also known. My proposal is simply to leave the concept that a category set can be meaningful in the context of more than one linked table to advanced users, and associate the table directory with the vector map. This could lead to the situation where, e.g. table 0 of vector map x and table 1 of vector map y refer to the same table.

My question is still open though - are there any other practical applications for layers, other than enabling vector maps to be connecyed to multiple tables?

Talking about layers (in their current meaning) - there is no convenient
tool to report the number of layers in a vector map. There is only
v.category opt=report. Could v.info be extended in this regard? Oh, and
the regular v.info already reports number of "dblinks" (which I guess
might be renamed to "table links", but I won't insist), while v.info -t
doesn't. Could this be addressed too please?

With regard to calling maps something different though, I think that would be very confusing and not a good idea (especially if they were renamed to layers). Map has IMHO a much clearer meaning than layer. There is the issue of ambiguity with a printed map I suppose, but use of the word in that context is kind of non-technical I feel. The use of the word map has a clearly defined historical meaning in GRASS (and influences other words too, e.g. a mapset = a collection of maps - should this be renamed a layerset?) and I feel that it should stay.

Paul has points here. Yet I *guess* I'd prefer to trade legacy for
clarity anyway. Calling GRASS "maps" "layers" would improve clarity
IMHO, especially for newcommers. Word "map" has been in use for
centuries and the word immediately brings a nice picture with north
arrow, legend and stuff to my mind. "Layer" is *the* GIS word for a set
of features that can be represented graphically as a map, as well as a
table or a set of statistic properties etc.

Well I have no idea here; all I can do is point out that I learned GIS from GRASS and have no experience of any other GIS, and the concept that each raster and vector file is actually a real map was really helpful to me when learning. :slight_smile:

Paul

There are 2 issues being discussed here. I'll guess I'll go with the flow, however, and comment on both

On Aug 11, 2008, at 12:26 PM, Paul Kelly wrote:

On Mon, 11 Aug 2008, Maciej Sieczka wrote:

Paul Kelly pisze:

I think though, that connecting multiple layers to different tables is the main application for layers? Are they much use for anything else? In which case, calling them tables makes things clearer. Perhaps even table would be enough - each vector map can be connected to multiple tables, each vector map can have multiple tables, each vector map can have multiple table links... is there a big difference in meaning between those different sentences? I feel removing the word "link" improves the clarity of the meaning without adding any additional ambiguity.

I don't agree with Paul. In GRASS vector terminology the term "table"
already has a very well defined meaning and it must not be used for
anything else.

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Agree 100%. In fact, that was exactly my point. In the interests of clarity/simplicity, I was proposing to consider a table as "belonging" to a particular map, e.g. the table containing a key column (or key field) whose values correspond to the categories in layer 1 of vector map x could be considered as table 1 of vector map x. The fact that tables may belong to multiple vector maps, and indeed exist independently outside of GRASS, doesn't IMO impede on the clarity of this relationship between a vector map and multiple tables: the same table may belong to different vector maps and be associated with a different table number in each.

See below.

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

Any good?

I think we are thinking the same :slight_smile: IIUC, a category set is quite meaningless unless the table containing more information on each category in the set is also known. My proposal is simply to leave the concept that a category set can be meaningful in the context of more than one linked table to advanced users, and associate the table directory with the vector map. This could lead to the situation where, e.g. table 0 of vector map x and table 1 of vector map y refer to the same table.

My question is still open though - are there any other practical applications for layers, other than enabling vector maps to be connecyed to multiple tables?

Issue 1:

In short, yes. For example, when you color a vector area map randomly, it does so by cat numbers. If a map has multiple "layers" (i.e., catsets) with different features grouped according to cat values in different ways, you will get a different map depend which "layer" you choose. You also can query and/or display directly on the cats in a "layer"; selecting all the features with cat=1 in layer=1 might well be a different result from selecting all features with cat=1 in layer=2.

Each "layer" is a 1-column "table" tightly coupled to the features in a vector data file. You can use the column (i.e., cat) values in each of these coupled tables (i.e., layers) as key fields to match with the key fields of a loosely coupled attribute table. That is to link two tables in a RDBMS, you need a key field in each of the tables being linked. Each GRASS "layer" holds the key field (i.e., "cat" or "category") in the vector object table. These must be matched by a key field in an attribute table (i.e., with integer values only).

In this sense, we could call a layer a "cat table". However, to just refer to them as tables is something of a misnomer given that most people will be thinking of the potentially larger attribute tables. "Catset" also captures this concisely.

Talking about layers (in their current meaning) - there is no convenient
tool to report the number of layers in a vector map. There is only
v.category opt=report. Could v.info be extended in this regard? Oh, and
the regular v.info already reports number of "dblinks" (which I guess
might be renamed to "table links", but I won't insist), while v.info -t
doesn't. Could this be addressed too please?

With regard to calling maps something different though, I think that would be very confusing and not a good idea (especially if they were renamed to layers). Map has IMHO a much clearer meaning than layer. There is the issue of ambiguity with a printed map I suppose, but use of the word in that context is kind of non-technical I feel. The use of the word map has a clearly defined historical meaning in GRASS (and influences other words too, e.g. a mapset = a collection of maps - should this be renamed a layerset?) and I feel that it should stay.

Paul has points here. Yet I *guess* I'd prefer to trade legacy for
clarity anyway. Calling GRASS "maps" "layers" would improve clarity
IMHO, especially for newcommers. Word "map" has been in use for
centuries and the word immediately brings a nice picture with north
arrow, legend and stuff to my mind. "Layer" is *the* GIS word for a set
of features that can be represented graphically as a map, as well as a
table or a set of statistic properties etc.

Well I have no idea here; all I can do is point out that I learned GIS from GRASS and have no experience of any other GIS, and the concept that each raster and vector file is actually a real map was really helpful to me when learning. :slight_smile:

Issue 2:

Actually, each raster and vector file is a file of geospatial data of some kind. To make a map (a visual and perhaps also an analytical entity), we combine or composite one or more of these files and display it in a GIS. The metaphor of combining multiple layers to produce a map is pretty widely understood too. I kind of like the conceptual clarity of differentiating the spatial data "layers" from the "map" that is produced in the GIS by compositing one or more layers.

The big issue comes if we want to switch the terminology as expressed in GRASS command modules: d.rast map=myraster vs. d.rast layer=myraster.

This begins to seem very reasonable if we are looking at the possibility of having something along the lines of d.rast layers=myraster1,myraster2,myraster3 map=mycompositedmap.ps

g.pnmcomp has similar syntax, but uses the generic "input=" and "output=" instead of "layers=" and "map="

Layers compositing into a map also makes much sense in the GUI canvas context. If you are combining a series of maps in a display context, what are you making in the end?

A few cents worth of thoughts.

Michael

On Monday 11 August 2008, Paul Kelly wrote:

On Mon, 11 Aug 2008, Maciej Sieczka wrote:
> Paul Kelly pisze:
>> I think though, that connecting multiple layers to different tables is
>> the main application for layers? Are they much use for anything else? In
>> which case, calling them tables makes things clearer. Perhaps even table
>> would be enough - each vector map can be connected to multiple tables,
>> each vector map can have multiple tables, each vector map can have
>> multiple table links... is there a big difference in meaning between
>> those different sentences? I feel removing the word "link" improves the
>> clarity of the meaning without adding any additional ambiguity.
>
> I don't agree with Paul. In GRASS vector terminology the term "table"
> already has a very well defined meaning and it must not be used for
> anything else.
>
> (A "table" is an object in the database that stores the given "layer"'s
> attributes, and the "table" and "layer"'s geometrical features are
> linked using "key column" in which the "categories" are stored inside
> the "table".)

Agree 100%. In fact, that was exactly my point. In the interests of
clarity/simplicity, I was proposing to consider a table as "belonging" to
a particular map, e.g. the table containing a key column (or key field)
whose values correspond to the categories in layer 1 of vector map x
could be considered as table 1 of vector map x. The fact that tables may
belong to multiple vector maps, and indeed exist independently outside of
GRASS, doesn't IMO impede on the clarity of this relationship between a
vector map and multiple tables: the same table may belong to different
vector maps and be associated with a different table number in each.

> Regarding Moritz's remark I indeed missed the fact that the vector map
> having 0 or more "layers" does not directly imply it has the same number
> of data "tables". Given that, "table link" to replace "layer" as I
> suggested is bad. If we are to change the term, we should do it right.
> How do you like "category set" then, "catset" in short? Together with
> with replacing term vector "map" with vector "layer" it would yield:
>
> Each vector "feature" (line, point etc.) can have 0 or more "categories"
> in a vector "layer". Each "category" belongs to only 1 "category set".
> Each "category set" of a vector "layer" can be connected or not with a
> single database "table". The "key column" in that "table" stores the
> "categories" of "features" present in the given "category set".
>
> Any good?

I think we are thinking the same :slight_smile: IIUC, a category set is quite
meaningless unless the table containing more information on each category
in the set is also known. My proposal is simply to leave the concept that
a category set can be meaningful in the context of more than one linked
table to advanced users, and associate the table directory with the vector
map. This could lead to the situation where, e.g. table 0 of vector map x
and table 1 of vector map y refer to the same table.

After some more thought--

There may be an obvious reason that I am missing, but what about labeling
geometry primitives (points, line, boundaries, etc.) with a "feature id"
instead of a "category". I understand that the 'cats' have been a fundamental
part of GRASS for a long time, but replacing the construct now may lead to
simpler verbage downstream:

Each geometry primitive (feature) has an ID that links that feature to 1 or
more records in a table-- we could even call this the "FID" for short,
or "GID" (geometry ID) if "FID" is off-limits.

I tend to think about the entire "layer" notation as if it were a sheet with
IDs that has been draped over the geometry. Changing the "layer" allows one
to change the relationship to records in some table.

Some thoughts on how to convey these concepts:

cat -> FID/GID

layer -> FID interface 1,2,3,...
layer -> table interface 1,2,3,...
layer -> feature to table relationship 1,2,3...

... I don't really like any of these, but you probably get the idea.

Cheers,

Dylan

My question is still open though - are there any other practical
applications for layers, other than enabling vector maps to be connecyed
to multiple tables?

> Talking about layers (in their current meaning) - there is no convenient
> tool to report the number of layers in a vector map. There is only
> v.category opt=report. Could v.info be extended in this regard? Oh, and
> the regular v.info already reports number of "dblinks" (which I guess
> might be renamed to "table links", but I won't insist), while v.info -t
> doesn't. Could this be addressed too please?
>
>> With regard to calling maps something different though, I think that
>> would be very confusing and not a good idea (especially if they were
>> renamed to layers). Map has IMHO a much clearer meaning than layer.
>> There is the issue of ambiguity with a printed map I suppose, but use of
>> the word in that context is kind of non-technical I feel. The use of the
>> word map has a clearly defined historical meaning in GRASS (and
>> influences other words too, e.g. a mapset = a collection of maps -
>> should this be renamed a layerset?) and I feel that it should stay.
>
> Paul has points here. Yet I *guess* I'd prefer to trade legacy for
> clarity anyway. Calling GRASS "maps" "layers" would improve clarity
> IMHO, especially for newcommers. Word "map" has been in use for
> centuries and the word immediately brings a nice picture with north
> arrow, legend and stuff to my mind. "Layer" is *the* GIS word for a set
> of features that can be represented graphically as a map, as well as a
> table or a set of statistic properties etc.

Well I have no idea here; all I can do is point out that I learned GIS
from GRASS and have no experience of any other GIS, and the concept that
each raster and vector file is actually a real map was really helpful to
me when learning. :slight_smile:

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

--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341

Hi,

2008/8/11 Maciej Sieczka <tutey@o2.pl>:

[...]

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

after some time I am going to re-open this topic... I have summarized
the proposals on the wiki

http://grass.osgeo.org/wiki/GRASS_7_Terminology#Vector_layer

From my point of view, I would suggest to use "category set" (catset)

as replacement for 'layer'.

Please feel free to put here your suggestions. It would be good to
close this topic soon. Then I can start changing terminology in GRASS
7.

Best regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

I am wondering whether this should be discussed at osgeo level to make sure
that we have at least some consistency in terminology used in OSGeo software stack.

I checked some on-line GIS terminology and category is mostly used in a different
context so I am curious what are the current vector data layers as they are called in GRASS6
(with "category set" suggested as a better term) called in other packages such as QGIS (if they are supported)?
For GRASS7 release there is a unique opportunity to align the terminology
within OSGeo if there is an interest to do that although most efforts on terminology
and dictionary tend to die pretty quickly, but maybe we can least find some
common ground for vector data model,

Helena

http://www.lib.unc.edu/reference/gis/datafinder/glossary.html
http://www.opengeospatial.org/ogc/glossary/
http://support.esri.com/index.cfm?fa=knowledgebase.gisDictionary.gateway

On Apr 26, 2009, at 7:01 PM, Martin Landa wrote:

Hi,

2008/8/11 Maciej Sieczka <tutey@o2.pl>:

[...]

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

after some time I am going to re-open this topic... I have summarized
the proposals on the wiki

http://grass.osgeo.org/wiki/GRASS_7_Terminology#Vector_layer

From my point of view, I would suggest to use "category set" (catset)

as replacement for 'layer'.

Please feel free to put here your suggestions. It would be good to
close this topic soon. Then I can start changing terminology in GRASS
7.

Best regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

I added my 2cents worth to the WIKI

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Apr 26, 2009, at 4:01 PM, Martin Landa wrote:

Hi,

2008/8/11 Maciej Sieczka <tutey@o2.pl>:

[...]

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

after some time I am going to re-open this topic... I have summarized
the proposals on the wiki

GRASS 7 Terminology - GRASS-Wiki

From my point of view, I would suggest to use "category set" (catset)
as replacement for 'layer'.

Please feel free to put here your suggestions. It would be good to
close this topic soon. Then I can start changing terminology in GRASS
7.

Best regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

According to the Open Geospatial Consortium, there are some ISO standards [1]. Of particular interest may be

- ISO/IEC 13249-3:2003, Information technology — Database languages — SQL multimedia and application packages — Part 3: Spatial
- ISO 19107:2003, Geographic information ― Spatial schema
- ISO 19125-1:2004, Geographic information — Simple feature access — Part 1: Common architecture
- ISO 19125-2:2005, Geographic information — Simple feature access — Part 2: SQL Option

[1] http://www.opengeospatial.org/standards

Markus M

Helena Mitasova wrote:

I am wondering whether this should be discussed at osgeo level to make sure
that we have at least some consistency in terminology used in OSGeo software stack.

I checked some on-line GIS terminology and category is mostly used in a different
context so I am curious what are the current vector data layers as they are called in GRASS6
(with "category set" suggested as a better term) called in other packages such as QGIS (if they are supported)?
For GRASS7 release there is a unique opportunity to align the terminology
within OSGeo if there is an interest to do that although most efforts on terminology
and dictionary tend to die pretty quickly, but maybe we can least find some
common ground for vector data model,

Helena

http://www.lib.unc.edu/reference/gis/datafinder/glossary.html
http://www.opengeospatial.org/ogc/glossary/
http://support.esri.com/index.cfm?fa=knowledgebase.gisDictionary.gateway

On Apr 26, 2009, at 7:01 PM, Martin Landa wrote:

Hi,

2008/8/11 Maciej Sieczka <tutey@o2.pl>:

[...]

(A "table" is an object in the database that stores the given "layer"'s
attributes, and the "table" and "layer"'s geometrical features are
linked using "key column" in which the "categories" are stored inside
the "table".)

Regarding Moritz's remark I indeed missed the fact that the vector map
having 0 or more "layers" does not directly imply it has the same number
of data "tables". Given that, "table link" to replace "layer" as I
suggested is bad. If we are to change the term, we should do it right.
How do you like "category set" then, "catset" in short? Together with
with replacing term vector "map" with vector "layer" it would yield:

Each vector "feature" (line, point etc.) can have 0 or more "categories"
in a vector "layer". Each "category" belongs to only 1 "category set".
Each "category set" of a vector "layer" can be connected or not with a
single database "table". The "key column" in that "table" stores the
"categories" of "features" present in the given "category set".

after some time I am going to re-open this topic... I have summarized
the proposals on the wiki

http://grass.osgeo.org/wiki/GRASS_7_Terminology#Vector_layer

From my point of view, I would suggest to use "category set" (catset)

as replacement for 'layer'.

Please feel free to put here your suggestions. It would be good to
close this topic soon. Then I can start changing terminology in GRASS
7.

Best regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

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

Hi,

2009/4/27 Helena Mitasova <hmitaso@unity.ncsu.edu>:

I am wondering whether this should be discussed at osgeo level to make sure
that we have at least some consistency in terminology used in OSGeo software
stack.

I agree, anyway I wonder in which period we can reach some consensus
and change the terminology in GRASS7...

I checked some on-line GIS terminology and category is mostly used in a
different
context so I am curious what are the current vector data layers as they are
called in GRASS6
(with "category set" suggested as a better term) called in other packages
such as QGIS (if they are supported)?
For GRASS7 release there is a unique opportunity to align the terminology
within OSGeo if there is an interest to do that although most efforts on
terminology
and dictionary tend to die pretty quickly, but maybe we can least find some
common ground for vector data model,

Helena

http://www.lib.unc.edu/reference/gis/datafinder/glossary.html
http://www.opengeospatial.org/ogc/glossary/
http://support.esri.com/index.cfm?fa=knowledgebase.gisDictionary.gateway

I added these links to wiki-page [1].

Martin

[1] http://grass.osgeo.org/wiki/GRASS_7_Terminology

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hi,

2009/5/14 Martin Landa <landa.martin@gmail.com>:

[...]

I agree, anyway I wonder in which period we can reach some consensus
and change the terminology in GRASS7...

to summarize, is there any real objections to change terminology in GRASS7

map -> layer (Map Layer)
layer -> catset (Category Set)

Then I would vote to start changing terminology in trunk ASAP
(including manual pages, etc.).

Regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Micha Silver pisze:

Martin Landa wrote:

map -> layer (Map Layer)

Yes, that sounds right to me. A map in other GIS context is the final product of many overlapping "layers". I'd like to see that change propogated to both raster and vector.

I'm all for this. A "map" is a graphic representation of geographic features (contained in GIS vector and raster data layer(s)) + additional information like scale, north arrow and decorations. Say ps.map output. Using the term "map" in GRASS for what is commonly reffered to as "layer" is against the common sense IMHO.

layer -> catset (Category Set)

This change does not remove the confusion. The concept of "layer" is explained both on the vectorintro wiki page [1], and in the manuals as database links. If that's what it is, that's what it should be called. So layer might become "data link" or "attribute link"

A "layer" is not a link between a db and GRASS vector map - you can have a vector map with multiple layers, neither of which, or only some, being connected with a db table. "layer" is indeed merely a set of categories. If we change "cat" to "key", maybe "keyset" would be OK?

And what will the term "cat" be changed to?? I still like Michael Barton's suggestion [2] of cat being renamed "key" (or "id")

"id" is already used in lower-level vector feature identification (see e.g. v.edit help). "key" sounds fine IMHO.

--
Maciej Sieczka
http://www.sieczka.org