[GRASS-dev] [GRASS-SVN] r62856 - in grass/trunk: lib/gis man

Markus Neteler neteler at osgeo.org
Sun Nov 23 07:53:39 PST 2014


On Sat, Nov 22, 2014 at 10:52 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Sat, Nov 22, 2014 at 4:24 PM, Markus Neteler <neteler at osgeo.org> wrote:
>>
>> Hi Vaclav,
>>
>> please see the todo the commit...
>> I have a solution prepared but the python script chokes without a further
>> modification. No time tonight to finish that...
>
> Sorry, I don't understand what are you trying to achieve there. I though
> that links from all the keywords to keywords are the simplest option.

The current implementation is as follows:
- first word: command family (raster/vector/imagery/...)
- second word: topic
- third and more word: keywords

> I suggest to treat all the keywords the same (in this list of keywords
> section) and do not link topic page since it is anyway very similar to the
> keyword one (although module description is a big plus).

Exactly. That's why I would like to simply add the words "topic:" and
"keyword:" in front of the respective words. An example:

Old:

KEYWORDS
raster, landscape structure analysis, diversity index

New:

KEYWORDS
raster, topic: landscape structure analysis, keywords: diversity index

(ok here is only one keyword which is not enough but anyway)

Like this we have a clear distinction.
I'd like to keep the topic page as it makes more sense as only keeping
the links to the keyword page.

Just the man/build_keywords.py script needs a tweak to filter out the
words "topic:" and "keyword:" while processing the list. Will be some
simple split() change...

Markus


More information about the grass-dev mailing list