[qgis-qwc2] Reporting

Bernhard Ströbl bernhard.stroebl at jena.de
Wed Apr 17 22:45:40 PDT 2019


Hi Sandro,
thanks for pointing me to the repo. My basic idea was to run Jasper via 
QGIS Server plugin (I have that already) but I will look at your 
reporting-service project, too.
However: how (where) can I call the report from qwc2-demo-app?
And further: in the sample themesConfig.json it says: "a": "template_a" 
- what is "a" referring to?

all the best
Bernhard

Am 17.04.2019 um 16:46 schrieb Sandro Mani:
> Hi Bernhard
> 
> You will need an actual reporting service which returns a document when 
> invoked as
> 
> <serviceUrl>/<template>?feature=<featureId>&x=<mouseX>&y=<mouseY>&crs=<crs>
> 
> where template is what you configured in themesConfig.json.
> 
> The reporting service could be a jasper reporting service like [1], or 
> something else.
> 
> Best
> 
> Sandro
> 
> [1] https://github.com/qwc-services/jasper-reporting-service
> 
> 
> On 17.04.19 12:45, Bernhard Ströbl wrote:
>> Hi,
>>
>> could anybody explain how to configure and run reports? Anybody has a 
>> working example?
>> Following the documentation I added an URL for featureReportService in 
>> config.json and used "featureReport":{... as given in the sample 
>> themesConfig.json.
>> How/where can I access the report now? Or do I have to implement 
>> something e.g. in the getFeatureInfo being returned from the WMS-Server?
>> How can I associate a report to a certain layer?
>>
>> regards
>> Bernhard
>>
>>
>>


__________ Information from ESET Mail Security, version of virus signature database 19214 (20190418) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the qgis-qwc2 mailing list