How to export from qgis to webmap and from webmap to qgis layers #QGIS

#qgis2web #web2qgis

Real-time Air Quality Tile API #QGIS

Tile Map Service Endpoint

The tile map server is available from the url{aqi}/{z}/{x}/{y}.png, where aqi refers for the type of marker to be plotted, which can be:

  • usepa-aqi: Plots markers based on the composite AQI calculated with the US EPA standard.
  • usepa-pm25: PM2.5 based AQI – if a station does not have PM2.5 reading, then it is not plotted.
  • usepa-10: Same as above, but for PM10.
  • usepa-o3: Same as above, but for Ozone (based on the 1 hour breakpoints).
  • usepa-no2: Same as above, but for Nitrogen Dioxide.
  • usepa-so2: Same as above, but for Sulfur Dioxide.
  • usepa-co: Same as above, but for Carbon Monoxide.
  • asean-pm10: Asean PM10 raw PM10 concentration (explanations).

Web-Service usage conditions

The map webservice is provided for free, under the condition of reasonable usage limits and acceptable usage policy. The tiles are currently refreshed every 15 minutes (and up to 1 hour in case of high traffic). 

Note that our server capacity is limited, so we reserve the right to pause the service at any time, for instance to performance server maintenance. If you need a more stable integration, contact us to find a proper solution, such as setting-up a dedictated server. 

Last you also need to specify your own token ID as an extra argument to the tile service endpoint, like token=_TOKEN_ID_ in the following url:{aqi}/{z}/{x}/{y}.png?token=_TOKEN_ID_. You can request your own token ID from this page. You just need to provide a valid email, and you can get your own token within a minute. 



QWeb Plugin

This plugin enables users to open a fixed window within the QGIS environment where the user can browse through the web. This can help the user to view for example tutorials and manuals for QGIS or any other web content.

[the_ad id=”2743″]

Load your custom HTML file!

[the_ad id=”2737″]

Demands in distribution networks #QGIS #EPANET

Calculates demand on nodes:

Estimate the demand at the nodes (hubs), based on household consumption. The calculation is performed by adding the demand in the households and designating the total demand in the nodes of the distribution network. This processing plugin is based on component “Distance to nearest hub“.

Operation: Given a layer of origin (households) and another layer representing destination points (nodes), the algorithm calculates the distance between each point of origin (households) and the nearest point of detention (Nodes) households, and totaling the demand value that will be assigned to the nearest node (hub).

In addition, the algorithm displays a “line” layer, created by the “Distance to nearest hub” component, which identifies households (origin) and Nodes (destination), allowing easy verification of geoprocessing connectivity.

QGIS 2.8 or higher processing provider plugin that calculates demand on distribution network nodes.null

Where to find the algorithm:

Once installed and active, this plugin adds the new provider (Algorithms to designate demands on nodes in the distribution network) in the Processing Toolbox. You find the algorithm in the Toolbox under Algorithms to designate demands on the nodes in the distribution network -> Algorithms -> Calculate the Demand Flow in the Nodes.

Processing Toolbox
Config and Result: 
Config and Result

QCopycanvas #QGIS

QCopycanvas v0.5 – Active Version

QGIS 3 plugin

This tool can be used to copy the map canvas and place it in the clipboard. Using button or shortcut Ctrl-Space. Also, you can copy canvas with legend using button or shortcut Ctrl-W. This plugin is based on the plugin “Copy Canvas to Clipboard” in QGIS 2 by Bo Victor Thomsen – Municipality of Frederikssund.

Modified plugin on QGIS 3

Road Inspection Viewer #QGIS

Displays photos from a road inspection

One assumes that the QGIS layer has continuous ids of points. The points have “file_names” field of photo file names that are separated with semicolons. The plugin can be started by a button with its icon on the plugin toolbar. You should first set a path to the photos folder (“path” button). If in road inspection is more than one photo per point, You can add extra windows (“extra window” button).


EMT v2.2 prelease

Current version EMT v2.1.8

The EPANET-Matlab Toolkit is an open-source software, originally developed by the KIOS Research Center for Intelligent Systems and Networks of the University of Cyprus which operates within the Matlab environment, for providing a programming interface for the latest version of EPANET, a hydraulic and quality modeling software created by the US EPA, with Matlab, a high-level technical computing software. The goal of the EPANET Matlab Toolkit is to serve as a common programming framework for research and development in the growing field of smart water networks.

The EPANET-Matlab Toolkit features easy to use commands/wrappers for viewing, modifying, simulating and plotting results produced by the EPANET libraries.

For support, please use the OWA community forum:

How to cite

D.G. Eliades, M. Kyriakou, S. Vrachimis and M.M. Polycarpou, “EPANET-MATLAB Toolkit: An Open-Source Software for Interfacing EPANET with MATLAB”, in Proc. 14th International Conference on Computing and Control for the Water Industry (CCWI), The Netherlands, Nov 2016, p.8. (doi:10.5281/zenodo.831493)

author={Eliades, Demetrios G. and Kyriakou, Marios and Vrachimis, Stelios and Polycarpou, Marios M.}, 
title={EPANET-MATLAB Toolkit: An Open-Source Software for Interfacing EPANET with MATLAB}, 
booktitle={Proc. 14th International Conference on Computing and Control for the Water Industry (CCWI)}, 
address = {The Netherlands},

How to install necessary compilers

In order to use the EPANET-MATLAB-Toolkit the MinGW-w64 compiler must be installed:

How to install MinGW-w64 compiler #Matlab

In case you have a version of Matlab older than 2015b install the Windows SDK compiler:

How to install Windows SDK compiler compiler #Matlab

Video tutorials

How to use EPANET-MATLAB-Toolkit

How to use EPANET-MATLAB-Toolkit

Rotate EPANET water network

Rotate water network via EPANET-MATLAB-Toolkit

Change/set the flow units of EPANET Input Files

Set flow units of input file #EPANET-MATLAB-Toolkit #EMT #EPANET