Reporting Function
From Geoikia-english
> Main Page > Configuring the Geoide Viewer with the Geoide Author > Reporting Function
Contents |
Introduction
The following describes how reports can be made through the Geoide Viewer. It makes use of the reporting tool "Jasper Reports". Jasper Reports is a free to use Java framework/tool that can easily create reports. Because of the JasperReports XML source format, you can use a simple text or xml editor. You can also use the graphical user tool iReport, which generates the necessary XML code by itself. iReport is also free to use. IDgis is currently working with iReport 3.0.0 version. JasperSoft, the supplier of iReport, provides (additional fee) documentation in the form of a PDF manual.
Report characteristics
The Reporting Tool allows you, based on selected items in the active map layers, to create a report of all administrative data within a user selected area and buffer. If no administrative details can be found for a selected map layer/feature type, then this is specified in the report.
The reports have the following characteristics:
- Only data of selected map layers are printed.
- Data from all the found objects are printed;
- Per feature type a specific sub-report can be printed .
- Reports can be printed only for Geoide Service map layers.
- Results are sorted by Feature Type and inside/outside the buffer.
Architecture
> Go to Architecture of Reporting Function
Workflow
To be successful in generating reports in Geoide, use the following steps:
1. Installing iReport
2. Adding new FT to Jasper Reports for sub-reports per Feature Type.
3. Make the map layer "reportable" via the Geoide Author.
4. Add Selection and reporting buttons to the Geoide Viewer, if not present.
5. Generate reports via the Geoide Viewer
Installation iReport
It is important that the same version of iReport is used as the delivery of Geoide by the developer (IDgis). The version currently used is 3.0.0.
> Download: iReport 3.0.0.
This is a zip file you may extract in any directory (eg c:\program files). After unpacking the zip file, you run iReport.exe. iReport is then started.
Adding New Feature Type (for application manager )
> Go to Reporting Function: Add New Feature Type
Make the map layer "Reportable" via Geoide Author
To make the report avialable, you have to make the Feature Type in the map layer "Reportable" through the Geoide Author:
1. Start the Geoide Author.
2. Go to the tab Contexts & Maps.
3. Scroll to the desired Contexts → Maps → Layers and select the layer.
4. Tick the checkbox reportable.
Add Selection and reporting buttons to the Geoide Viewer
To create reports, you should at least add the following buttons to the layout of the Geoide Viewer.
PrintDialogButton.
- One or more Report Selection buttons: See make selections for the Report in the Geoide Viewer.
> Go to Help with add buttons to the Geoide Viewer.
Generating reports in the Geoide Viewer
After successfully adding a Fetaure Type and configuration of the Geoide Viewer, you can follow these steps to make a report in the Geoide Viewer:
1. Start the Geoide Viewer
2. Select the map where you want to generate reports from.
3. Select the layers in the map legend (tick) from which you want to generate reports.
4. Select the area with a selection button in the Geoide Viewer. Go to information about make selections in the Geoide Viewer.
5. Click the button
PrintDialogButton.
6. Choose a template for the report.
7. Enter the title of the report.
8. Enter the subtitle of the report.
9. Change the (map) layers which must be reported by layers to select/deselect using the Ctrl key.
10. Click on Report.
> The report is generated. Then a new window appears displaying the report in pdf format.
