Hello everyone,
I am a beginner using QGIS and especially using Python for QGIS.
I want to build a QGIS Python program to request a database and to find (and to select) the records that meet certain conditions.
How can I do, for each value of an attribute field, to select the more relevant line (in other attribute field Date & Time) with the nearest date and time of the one defined by the user and to export the information into a new shapefile?
Thank you for your help.
Have a good day.