Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- countyLayer = QgsVectorLayer(countySHP, "County_Layer", "ogr")
- QgsMapLayerRegistry.instance().addMapLayer(countyLayer)
- table = QgsVectorLayer(inputFile, "table", "delimitedtext")
- QgsMapLayerRegistry.instance().addMapLayer(table)
- processing.runandload('qgis:joinattributestable', countyLayer, table, 'AFFGEOID', 'GEO_ID','memory:layer')
- joinedLayer = QgsMapLayerRegistry.instance().mapLayersByName('memory:layer')[0]
- table = QgsVectorLayer(inputFile, "table", "ogr")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement