[GeoNetwork-devel] Choosing a product to generate graphics

Hi all,

Currently working on the Geocat branch of the GN project, we integrate some administration part to log search queries made through the GUI.
Among the functionnalities, we have to display charts (pie, bar) to present some stats (eg: number of searches by year, month, etc).
Some of these functions could be integrated into the trunk.

We already looked at JFreeChart (http://www.jfree.org/jfreechart/) for an other project and it seems to produce nice graphics.
It is opensource though the Dev manual is not free.

What do you think about using this for the graphics. Do you have any experience, maybe with another package ?

Thanks
___________________________________
Nicolas Ribot
nicolas.ribot@anonymised.com

CampToCamp
18 avenue de l'Europe
F-31520 Ramonville Saint-Agne
05 61 52 22 64
06 18 75 42 21

Hi all,

Currently working on the Geocat branch of the GN project, we integrate
some administration part to log search queries made through the GUI.
Among the functionnalities, we have to display charts (pie, bar) to
present some stats (eg: number of searches by year, month, etc).
Some of these functions could be integrated into the trunk.

We already looked at JFreeChart (http://www.jfree.org/jfreechart/) for
an other project and it seems to produce nice graphics.
It is opensource though the Dev manual is not free.

What do you think about using this for the graphics. Do you have any
experience, maybe with another package ?

Hi,
we decided to use JFreeChart to generate graphics.

Nicolas

Hi Nicolas,
I had a look but didn't feel I had much to contribute to the discussion since I don't know other packages, hence my silence :slight_smile: However, it looks like a very good solution, so I fully support your choice. Looking forward to the result!
Ciao,
Jeroen

On Feb 25, 2009, at 10:06 AM, Nicolas Ribot wrote:

Hi all,

Currently working on the Geocat branch of the GN project, we integrate
some administration part to log search queries made through the GUI.
Among the functionnalities, we have to display charts (pie, bar) to
present some stats (eg: number of searches by year, month, etc).
Some of these functions could be integrated into the trunk.

We already looked at JFreeChart (JFreeChart) for
an other project and it seems to produce nice graphics.
It is opensource though the Dev manual is not free.

What do you think about using this for the graphics. Do you have any
experience, maybe with another package ?

Hi,
we decided to use JFreeChart to generate graphics.

Nicolas

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

I used JFreeChart once (long ago) and I liked it.

Kind regards,
Heikki Doeleman

On Wed, Feb 25, 2009 at 10:06 AM, Nicolas Ribot <nicolas.ribot@anonymised.com> wrote:

Hi all,

Currently working on the Geocat branch of the GN project, we integrate
some administration part to log search queries made through the GUI.
Among the functionnalities, we have to display charts (pie, bar) to
present some stats (eg: number of searches by year, month, etc).
Some of these functions could be integrated into the trunk.

We already looked at JFreeChart (http://www.jfree.org/jfreechart/) for
an other project and it seems to produce nice graphics.
It is opensource though the Dev manual is not free.

What do you think about using this for the graphics. Do you have any
experience, maybe with another package ?

Hi,
we decided to use JFreeChart to generate graphics.

Nicolas


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Nicolas,

Couldn't contribute anything on JFreeChart but can I ask a slightly more oblique question? Which query are you using to the do the logging/stats generation? Is it the generated lucene query (ie. after going through the query xslt etc)? Reason is that we're planning some changes that expose the lucene query string to the user and which will (not yet but soon) allow users to build and save these query strings from/to a client side store (with most of the query parsing and validation in the client as well). A prototype is in the BlueNet sandbox (see the 'Lucene Search' tab). Really would like to use your query logger/stats analyzer so I'm interested in what you're using to generate the stats. Maybe others are working on/have done something similar to this too?

Cheers,
Simon
________________________________________
From: Nicolas Ribot [nicolas.ribot@anonymised.com]
Sent: Wednesday, 25 February 2009 8:06 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Choosing a product to generate graphics

Hi all,

Currently working on the Geocat branch of the GN project, we integrate
some administration part to log search queries made through the GUI.
Among the functionnalities, we have to display charts (pie, bar) to
present some stats (eg: number of searches by year, month, etc).
Some of these functions could be integrated into the trunk.

We already looked at JFreeChart (JFreeChart) for
an other project and it seems to produce nice graphics.
It is opensource though the Dev manual is not free.

What do you think about using this for the graphics. Do you have any
experience, maybe with another package ?

Hi,
we decided to use JFreeChart to generate graphics.

Nicolas

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net

GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

We're using JFreeChart as well, it's easy to use and generates high quality
images. It would be nice to see some stats gathering functionality added to
GN. Right now, we're interested in basic usage counts, and are logging the
URL and query string of all requests to /geonetwork/srv/.

Chris

--
View this message in context: http://n2.nabble.com/Choosing-a-product-to-generate-graphics-tp2371468p2391975.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hi Nicolas,

Couldn't contribute anything on JFreeChart but can I ask a slightly more oblique question? Which query are you using to the do the logging/stats generation? Is it the generated lucene query (ie. after going through the query xslt etc)? Reason is that we're planning some changes that expose the lucene query string to the user and which will (not yet but soon) allow users to build and save these query strings from/to a client side store (with most of the query parsing and validation in the client as well). A prototype is in the BlueNet sandbox (see the 'Lucene Search' tab). Really would like to use your query logger/stats analyzer so I'm interested in what you're using to generate the stats. Maybe others are working on/have done something similar to this too?

Hi Simon,

I realized this afternoon that I forgot to answer your message and
would like to apologize about that.

Yes, indeed, we are logging after the Lucene work, juste before
returning from the search result. When the Lucene expression is buit,
the Logger class inserts into the database (in Requests and Params
tables) information about the current search query (user ip, searched
terms, number of hits, simple vs advanced search, etc.)

Then, when playing with statistics page, queries are made to the
database to extract logged information and to present it: tagcloud for
most searched queries, tabular information, charts.

Francois-Xavier has created a wiki page
(http://trac.osgeo.org/geonetwork/wiki/Statistics) to present this
work and to allow community to discuss these functionalities.

I hope my answer is not coming too late...
Best regards

Nicolas Ribot

Francois-Xavier has created a wiki page
(http://trac.osgeo.org/geonetwork/wiki/Statistics) to present
this work and to allow community to discuss these functionalities.

If at all possible, I would suggest staying away from an in-browser Java
requirement. Are there any suitable JavaScript (or even server side)
alternatives?

..Tom

If at all possible, I would suggest staying away from an in-browser Java
requirement. Are there any suitable JavaScript (or even server side)
alternatives?

..Tom

Hi Tom
There is no in-browser Java for the statistics part. Java is used on
the server side to generate the image, and its url is sent to the
client for dislplay.

--
Nicolas Ribot
nicolas.ribot@anonymised.com

CampToCamp
18 avenue de l'Europe
F-31520 Ramonville Saint-Agne
05 16 57 01 02
06 18 75 42 21