How to use the new embedded Saiku queries feature??

  • Asked
  • Active
  • Viewed 8971 times
0

Hello,

I just saw in the website news that the new version of Collect Earth can incorporate Saiku queries lined to a survey.

Could you please explain how to do this for my survey?

Thanks!

0

Accepted answer

The process to add Saiku queries to your survey is quite straight forward.

Say that you have a survey that is already tested and you have already developed some Saiku queries to analyze the data.

If you saved those queries they should be located in a folder in your computer ( HERE IS HOW TO SAVE QUERIES ). Usually this folder will be here (in Windows):

C:\OpenForis\CollectEarth\saiku-server_2.6\tomcat\webapps\saiku\WEB-INF\classes\saiku-repository

The saiku queries are actually files (you can open them with a text editor) with the extension .saiku!

So you have your queries. Now you need to add them to the survey itself. This is done through Open Foris Collect Survey Designer. Once you go start editing a survey, in the main tab there is a section called "Files" . Here you can add the .saiku files to the survey.

alt text

alt text

Done!!! Now you need to export the survey using the Collect Earth format. This generates a .CEP file and if you double click on the file it is open by Collect Earth.

If you run the Saiku analysis now ( Tools->Start Saiku analysis ) you will notice that the Saiku queries that you added to the survey will be available in the Open query window.

alt text

And here it is

alt text

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.