Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. countyLayer = QgsVectorLayer(countySHP, "County_Layer", "ogr")
  2. QgsMapLayerRegistry.instance().addMapLayer(countyLayer)
  3.  
  4. table = QgsVectorLayer(inputFile, "table", "delimitedtext")
  5. QgsMapLayerRegistry.instance().addMapLayer(table)
  6.  
  7. processing.runandload('qgis:joinattributestable', countyLayer, table, 'AFFGEOID', 'GEO_ID','memory:layer')
  8. joinedLayer = QgsMapLayerRegistry.instance().mapLayersByName('memory:layer')[0]
  9.  
  10. table = QgsVectorLayer(inputFile, "table", "ogr")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement