REFAC: refactor and add option for vector data

2 jobs from qgis_parameter_status_2 in 35 minutes and 16 seconds (queued for 2 seconds)
latest merge request
Status Job ID Name Coverage
  Build
passed #1206
native-build

00:35:16

passed #1207
shark-build

00:20:19