[qgis-qwc2] Reporting
Andreas Neumann
a.neumann at carto.net
Wed Apr 17 23:46:42 PDT 2019
Hi Bernhard and Sandro,
Interesting conversation.
Just for your information: there is now also QGIS atlas print support in
QGIS server. For single-page reports per feature this might be
interesting and sufficient. Marco implemted this for us.
See https://github.com/qgis/QGIS/pull/8781
The GetProjectSettings response contains information whether a layout
has an atlas exposed. Would be nice to support this in a future QWC2
version.
Greetings,
Andreas
Am 18.04.19 um 07:45 schrieb Bernhard Ströbl:
> 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
>
>
> _______________________________________________
> qgis-qwc2 mailing list
> qgis-qwc2 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
More information about the qgis-qwc2
mailing list