[Qgis-user] how show themes from single polygon having rainfall time series data

Brent Wood Brent.Wood at niwa.co.nz
Sun Mar 22 12:31:28 PDT 2020


One way that might work for you, see the QGIS action tool.

Create a system invoked R script that plots the time series for a specified polygon, taking the polygon ID as a parameter on the command line.
Then create a QGIS action that invokes the script & passes in the polygon ID.

I have done something similar with Postgis/QGIS & R - the R function was embedded as a PL/R function inside the database, so the SQL generated the plot of the data (rather than just retrieving the data). The SQL created the plot & returned the filename of the plot it just created.

This worked on both a web site & from QGIS (QGIS on Linux & Windows both worked, but the script was a bit different on each)

HTH,

Brent Wood

Brent Wood

Programme leader: Environmental Information Delivery
NIWA
DDI:  +64 (4) 3860529

________________________________________
From: Qgis-user <qgis-user-bounces at lists.osgeo.org> on behalf of shrawan tripathi <shrawantripathi1983 at gmail.com>
Sent: Monday, March 23, 2020 08:12
To: qgis-user
Subject: [Qgis-user] how show themes from single polygon having rainfall        time series data

Hi,
I want to show rainfall distribution for a time series for a single polygon, is it possible?
if yes please let me suggest.

--
Warm regards
Shrawan Kumar Tripathi

[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png]<https://www.niwa.co.nz>
 Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 |
National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz> Facebook<https://www.facebook.com/nzniwa> LinkedIn<https://www.linkedin.com/company/niwa> Twitter<https://twitter.com/niwa_nz> Instagram<https://www.instagram.com/niwa_science>
To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems


More information about the Qgis-user mailing list