LoGISpace Posted July 18, 2016 Report Share Posted July 18, 2016 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. Quote Link to comment Share on other sites More sharing options...
Lurker Posted July 20, 2016 Report Share Posted July 20, 2016 Im not familiar with python in QGIS, but it should be the same with ArcPY in general, http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#iterating-over-vector-layer Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.