I have looked at a few tutorials on Python scripts for QGIS. All of them create new vector and raster layers with some existing data source e.g. shapefile or GeoTIFF or PostGIS database table.
Is it possible to create a QGIS layer through a python script, where I can create/add/modify new features in the Python script, as the need arises?
It will be typically a vector layer with point data and custom symbols.
Will this be possible? Is there an example I can look at?