Jump to content

PyGIS & multi criteria selection


Recommended Posts

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.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.



If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist