User Tools

Site Tools


terra4d:qgis

QGIS

Create a Shape file with QGIS

  1. Download QGIS
  2. Install QGIS with default options
  3. Start QGIS Desktop
  4. Select from the Menu, Plugins→Manage and install
    1. Search for OpenLayers plugin
    2. Select OpenLayers plugin and press “install plugin”
    3. Close dialog
  5. Select from the Menu, Web→OpenLayers plugin→OpenStreetMap→OpenStreetMap
  6. Select from the Menu, Layer→Create Layer→New shapefile layer
    1. Select type “Line”
    2. Select CRS: EPSG:4326, WGS84
    3. Select Encoding: UTF-8
    4. Add data field with the name “name”, type text, length 80
    5. Add more data fields as needed
    6. Press ok
    7. Save the new shapefile (e.g. electric_lines.shp) on a location/directory of your choice
  7. In the “Layers Panels”, the layer “electric_lines” should appear
    1. right-click on “electric_lines” and select “toggle editing”
  8. In the “Edit” toolbar, press “Add feature” button
    1. left-click on the map to add a new point to the line
    2. right-click to end editing
    3. “Add feature“ dialog appears
    4. Enter the required fields/attributes for the feature (e.g. power line identifier/number, name, etc)
  9. Repeat “Add feature” step for more features
  10. After the “last edit”, right-click on the layer (in layers panel) and select “Save Layer Edits” and afterwards unselect “Toggle Editing”
  11. QGIS will ask if you want to save the changes to the layer file.

WARNING: Without this last step the changed/added/deleted feature will not be commited to the shapefile and all changes are lost when QGIS is closed.

terra4d/qgis.txt · Last modified: 2020/03/03 08:44 by editor