Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Loading Vector Layer using python console in qgis

I don't have a Windows OS to test it, but I'm pretty sure the problem is in the path to your ShapeFile. Make sure the path is correct and try with slashes (/) or double back slashes (\\).


Add following from qgis.core import * and try to run again if still doesn't work

Tags:

Python 2.7

Vector

Qgis

Pyqgis

Related

A way to search street intersection on openstreetmap Subtracting out slope (in general) of DEM using ArcGIS for Desktop? UK coastline shapefile? Exporting layer to shapefile using PyQGIS? How to reference the ArcGIS Server JS API using RequireJS Area in KM from Polygon of coordinates Performing a 'far analysis' using ArcGIS for Desktop? Converting csv to kml/geojson using ogr2ogr or equivalent command line tools? How to split text attribute by characters in QGIS? Coordinate transformation/reprojection using DotSpatial? Using azimuthal orthographic projection in QGIS? Filtering Overpass-API by country

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy