[GRASS-user] 2 important broken wiki-links

I am looking for a centroid definition (how is it calculated exactly)
and found some links in the wiki:

http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background
http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf

Regards, Nikos

P.S. I am not satisfied with the "centroid: a point within a closed
boundary" description. I am searching the archive but there is nothing
but this:
1. http://www.nabble.com/Re%3A-centroids-td8604170.html#a8604170
2. http://www.nabble.com/centroid-definition-td13296211.html#a13296211
(first post, unanswered)
3.
http://www.nabble.com/-GRASS-user--Geographic-Mean-td5692468.html#a5692443 (which I don't understand exactly).

On Wed, Nov 12, 2008 at 9:08 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

I am looking for a centroid definition (how is it calculated exactly)
and found some links in the wiki:

http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background

... leads to
http://download.osgeo.org/grass/grass6_progman/Vector_Library.html#background

which is broken since for a couple of weeks the Vector Library isn't
build any more on grass.osgeo.org.

I have no idea why.

see
http://download.osgeo.org/grass/grass6_progman/
-> vector: Vector_Library (GRASS Vector and Direct Graph Library)

Try in the main source code directory:
make htmldocs-single
it should build also the Vector_Library docs (lib/vector/) but on the server it
fails for unknown reasons. Does that work for you?

Markus

Thank you Markus

On Wed, 2008-11-12 at 22:39 +0100, Markus Neteler wrote:

Try in the main source code directory:
make htmldocs-single
it should build also the Vector_Library docs (lib/vector/) but on the
server it
fails for unknown reasons. Does that work for you?

I guess not :frowning:

nik@vertical:/usr/local/src/grass6_devel$ make htmldocs-single
(cd lib/ ; make cleandocs ; make htmldocs-single)
make[1]: Entering directory `/usr/local/src/grass6_devel/lib'
rm -rf ./latex ./html
make[1]: Leaving directory `/usr/local/src/grass6_devel/lib'
make[1]: Entering directory `/usr/local/src/grass6_devel/lib'
/bin/sh: line 0: type: doxygen: not found
ERROR: Install 'doxygen' software first (get from
http://www.doxygen.org)
make[1]: *** [checkdoxygen] Error 1
make[1]: Leaving directory `/usr/local/src/grass6_devel/lib'
make: *** [htmldocs-single] Error 2

Kind regards, Nikos

Sorry...

On Wed, 2008-11-12 at 22:47 +0100, Nikos Alexandris wrote:

doxygen

# install it first... :-0
sudo apt-get install doxygen

# and then
make htmldocs-single

[...]
Generating file index...
Generating directory index...
Generating example index...
Generating file member index...
HTML reference in directory ./html/index.html
make[1]: Leaving directory `/usr/local/src/grass6_devel/swig'

Seems it works :slight_smile:

On Wed, Nov 12, 2008 at 10:54 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

Sorry...

On Wed, 2008-11-12 at 22:47 +0100, Nikos Alexandris wrote:

doxygen

# install it first... :-0
sudo apt-get install doxygen

# and then
make htmldocs-single

[...]
Generating file index...
Generating directory index...
Generating example index...
Generating file member index...
HTML reference in directory ./html/index.html
make[1]: Leaving directory `/usr/local/src/grass6_devel/swig'

Seems it works :slight_smile:

Please check if the desired vector library pages were generated.

Just start to navigate from ./html/index.html
I would like to understand if we have a broken doxygen on the main
server or a problem in our Makefile(s).

Markus

On Thu, 2008-11-13 at 06:28 +0100, Markus Neteler wrote:

./html/index.html

Any specific?

locate index.html | grep grass6_devel
/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/docs/html/full_index.html
/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/docs/html/index.html
/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/docs/html/gem/index.html
/usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/docs/html/nviz/index.html
/usr/local/src/grass6_devel/gem/docs/GEM-Manual/index.html
/usr/local/src/grass6_devel/gem/docs/GEM-Manual/.svn/prop-base/index.html.svn-base
/usr/local/src/grass6_devel/gem/docs/GEM-Manual/.svn/text-base/index.html.svn-base
# maybe this!?
/usr/local/src/grass6_devel/lib/html/index.html
## it works :slight_smile:
/usr/local/src/grass6_devel/rfc/html/index.html
/usr/local/src/grass6_devel/swig/html/index.html
/usr/local/src/grass6_devel/visualization/nviz/html/index.html
/usr/local/src/grass6_devel/visualization/nviz/html/.svn/prop-base/index.html.svn-base
/usr/local/src/grass6_devel/visualization/nviz/html/.svn/text-base/index.html.svn-base

Random test on

1. /usr/local/src/grass6_devel/dist.x86_64-unknown-linux-gnu/docs/html/index.html
2. /usr/local/src/grass6_devel/lib/html/index.html
3. /usr/local/src/grass6_devel/rfc/html/index.html

works just fine.

Regards, Nikos

On Thu, Nov 13, 2008 at 7:44 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

Markus,

( file:///usr/local/src/grass6_devel/lib/html/Vector_Library.html )

yes it works fine (screenshot attached).

Thank you, Nikos

OK - good to know. Final question: which doxygen version do you
use?
On grass.osgeo.org we have
Doxygen version 1.5.1

Maybe there is a bug preventing Vector_Library to be built on the server.

Markus

On Fri, 2008-11-14 at 10:03 +0100, Markus Neteler wrote:

On Thu, Nov 13, 2008 at 7:44 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:
>
> Markus,
>
> ( file:///usr/local/src/grass6_devel/lib/html/Vector_Library.html )
>
> yes it works fine (screenshot attached).
>
> Thank you, Nikos

OK - good to know. Final question: which doxygen version do you
use?
On grass.osgeo.org we have
Doxygen version 1.5.1

Maybe there is a bug preventing Vector_Library to be built on the server.

Markus

Hi!

doxygen --version
1.5.5

Hopefully the problem can be traced quickly. Cheers, Nikos

On Fri, Nov 14, 2008 at 2:42 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

On Fri, 2008-11-14 at 10:03 +0100, Markus Neteler wrote:

On Thu, Nov 13, 2008 at 7:44 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:
>
> Markus,
>
> ( file:///usr/local/src/grass6_devel/lib/html/Vector_Library.html )
>
> yes it works fine (screenshot attached).
>
> Thank you, Nikos

OK - good to know. Final question: which doxygen version do you
use?
On grass.osgeo.org we have
Doxygen version 1.5.1

Maybe there is a bug preventing Vector_Library to be built on the server.

Markus

Hi!

doxygen --version
1.5.5

Hopefully the problem can be traced quickly. Cheers, Nikos

I hope so too... this requires a ticket in the trac of OSGeo, though...

Markus

On Fri, Nov 14, 2008 at 4:32 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Fri, Nov 14, 2008 at 2:42 PM, Nikos Alexandris

On Fri, 2008-11-14 at 10:03 +0100, Markus Neteler wrote:

On Thu, Nov 13, 2008 at 7:44 PM, Nikos Alexandris
> ( file:///usr/local/src/grass6_devel/lib/html/Vector_Library.html )
>
> yes it works fine (screenshot attached).

...

Maybe there is a bug preventing Vector_Library to be built on the server.

...apparently yes, with my local 1.5.3 the Vector lib docs are generated.

doxygen --version
1.5.5

Hopefully the problem can be traced quickly. Cheers, Nikos

I hope so too... this requires a ticket in the trac of OSGeo, though...

I have filed it now:
http://trac.osgeo.org/osgeo/ticket/314

Markus

On Wed, Nov 12, 2008 at 10:39 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Nov 12, 2008 at 9:08 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

I am looking for a centroid definition (how is it calculated exactly)
and found some links in the wiki:

http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background

... leads to
http://download.osgeo.org/grass/grass6_progman/Vector_Library.html#background

which is broken since for a couple of weeks the Vector Library isn't
build any more on grass.osgeo.org.

I have fixed the broken Vector architecture pages:
http://download.osgeo.org/grass/grass6_progman/
-> Vector Library

cheers
Markus

On Mon, 2008-11-17 at 17:56 +0100, Markus Neteler wrote:

On Wed, Nov 12, 2008 at 10:39 PM, Markus Neteler <neteler@osgeo.org> wrote:
> On Wed, Nov 12, 2008 at 9:08 PM, Nikos Alexandris
> <nikos.alexandris@felis.uni-freiburg.de> wrote:
>> I am looking for a centroid definition (how is it calculated exactly)
>> and found some links in the wiki:
>>
>> http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background
>
> ... leads to
> http://download.osgeo.org/grass/grass6_progman/Vector_Library.html#background
>
> which is broken since for a couple of weeks the Vector Library isn't
> build any more on grass.osgeo.org.

I have fixed the broken Vector architecture pages:
http://download.osgeo.org/grass/grass6_progman/
-> Vector Library

cheers
Markus

Nice :slight_smile:
Thank you for your efforts Markus.

Nikos