ImportEpanetInpFiles #QGIS

Older Videos:

QGIS Open Day – QHF March 2021

Join in on the QGIS INTEGRATED open day. Our amazing lineup of presenters will show you how QGIS can work in a network with other software and programs to create dynamic and sharable spatial data, maps, and systems.

If you would like to discuss topics on our QGISOpenDay, please add sections below for each discussion along with the proposed time and agenda.

Simply join the meeting on Jitsi and say hi!

To keep up to date with QGIS Open Day events, please join the Telegram channel

Programme overview:

Virtual events will be taking place online (see links below) and in the telegram chat room, and with many events also being live-streamed on YouTube. See the individual event descriptions below for an indication of where to join each event.

QGISOpenDay 26th March 2021

No Name Time Coordinator Language
1 Input and Mergin: collect data, sync, and collaborate with ease 08h00 UTC Saber Razmjooei English
2 Using QGIS, Input, Mergin, and Metabase to map the Waterberg 09h00 UTC Gavin Fleming English
3 Using QGIS and a laser cutter to make 3D contour models 10h30 UTC Raymond Nijssen English
4 Seamless fieldwork with QField & QFieldCloud 12h00 UTC Marco Bernasocchi English

QField 1.9.0 – Taivaskero

Taivaskero brings not only new gadgets like the print of atlas features, the Finnish address search, and an improved relation editor widget. There are as well lots of other improvements like a smarter progressive rendering and some revamp in the user interface.

  1. Search for Finnish addresses
  2. Print Atlas Features to PDF
  3. Geometry digitizing when adding a child feature
  4. Opening of individual vector/raster datasets
  5. Smarter progressive rendering
  6. Restore last viewed map extent
  7. Support for colors in attribute forms
  8. Other nice things and fixes
    • NMEA UI/UX improvements
    • UI/UX of the fill ring tool improvements
    • Preference of lowercase characters when entering username on layer login
    • No UI hang/freeze when opening the layer properties panel due to slow feature count
    • No lock of screen Orientation in QFieldActivity – means you can change the orientation during runtime
    • Use of C locale to validate doubles
    • Fixed remembered values
    • Fixed not showing the display string in the value relation
    • Fixed weird behavior on tab change


QGIS Dashboard





Using basemaps with QGIS temporal controller

QGIS 3.14

Old version:

for i, layer in enumerate(QgsProject.instance().mapLayers().values()):
    if isinstance(layer, QgsRasterLayer):
        mode = QgsRasterLayerTemporalProperties.ModeFixedTemporalRange
        tprops = layer.temporalProperties()
        tprops.setFixedTemporalRange(QgsDateTimeRange(QDateTime(QDate(2020, 1, 1), QTime(1, i, 0, 0), Qt.UTC),
                                                   QDateTime(QDate(2020, 1, 1), QTime(1, 1+i, 0, 0), Qt.UTC)))


Github repo traffic

Get traffic of your repository.
GitHub provides traffic data for the last 14 days.
This code can be used to run one time of day or every 14 days to collect the traffic.

Python requirements (GithubAPI):
pip install githubpy

run the python file
But First set this variables based on your repo:
repo = ‘ImportPhotos’
org = ‘KIOS-Research’
token = ‘%token%’

Python code:

How to get your token:

Then generate token!


#Date, Visitors, Views
2019-07-04T00:00:00Z, 7, 15
2019-07-05T00:00:00Z, 13, 93
2019-07-06T00:00:00Z, 6, 7
2019-07-07T00:00:00Z, 10, 55
2019-07-08T00:00:00Z, 16, 321
2019-07-09T00:00:00Z, 18, 282
2019-07-10T00:00:00Z, 11, 171
2019-07-11T00:00:00Z, 10, 145
2019-07-12T00:00:00Z, 15, 182
2019-07-13T00:00:00Z, 8, 18
2019-07-14T00:00:00Z, 5, 14
2019-07-15T00:00:00Z, 3, 85
2019-07-16T00:00:00Z, 10, 242
2019-07-17T00:00:00Z, 15, 314
2019-07-18T00:00:00Z, 15, 248
2019-07-19T00:00:00Z, 14, 66


Total visitors: 176
Total views: 2258

Other links:

Example code: layer.setSubsetString(“‘4′ LIKE “dist_code””’)

# Show every province features (postcodes) one by one

from time import sleep

def stopped(task):
def completed(exception, result=None):
def run(task, wait_time):

    # main code
    postcodes = QgsProject.instance().mapLayersByName('postcodes')[0]
    wait_time = wait_time / 100
    prov = [1, 3, 4, 5, 6]
    for i, m in enumerate(prov):
        postcodes.setSubsetString("'" + str(m) + "'" + ''' LIKE "dist_code"''')

        if task.isCanceled():
            return None

task = QgsTask.fromFunction(u'Task', run,
                            on_finished=completed, wait_time=150)

Or by right click on layer and go to Source and Query Builder:

Filter features on a layer #QGIS #PyQGIS