Create Web GIS layers

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
+
# In QGIS, select {{mitem|text=Plugins --> Manage and Install Plugins...}}
 +
# Search and install the '''qgis2web''' plugin.
 +
# Prepare a map as QGIS projekt:
 +
#* Set your project title, and background and highlight colours in {{mitem|text=Project --> Project Properties...}}
 +
#* Give your layers human-friendly names in the Layers Panel
 +
#* Give your layer columns human friendly names via {{mitem|text=Layer --> Properties --> Fields --> Alias}}
 +
#* Hide the columns you don't want to appear in your popups by changing their Edit widget to "Hidden"
 +
#* If any of your fields contain image filenames, change their Edit widget to "Photo" to have the images appear in popups
 +
#* Style your layers, and set their scale-dependent visibility, if required.
 +
# Run {{mitem|text=Web --> qgis2web --> Create web map}} 
 +
# Click checkbox '''Openlayers''' on.
 +
# In the '''Layers and groups''' tabs configure Layers and labels.
 +
# Click {{button|text=Update preview}}.
 +
# If you are happy with the preview you may save your webmap to a local folder: In the '''Export''' tab choose a lokal folder. Click {{button|text=Export}}.
  
 
[[Category: Working with Online Data Sources]]
 
[[Category: Working with Online Data Sources]]

Revision as of 10:31, 26 May 2020

  1. In QGIS, select Plugins --> Manage and Install Plugins...
  2. Search and install the qgis2web plugin.
  3. Prepare a map as QGIS projekt:
    • Set your project title, and background and highlight colours in Project --> Project Properties...
    • Give your layers human-friendly names in the Layers Panel
    • Give your layer columns human friendly names via Layer --> Properties --> Fields --> Alias
    • Hide the columns you don't want to appear in your popups by changing their Edit widget to "Hidden"
    • If any of your fields contain image filenames, change their Edit widget to "Photo" to have the images appear in popups
    • Style your layers, and set their scale-dependent visibility, if required.
  4. Run Web --> qgis2web --> Create web map
  5. Click checkbox Openlayers on.
  6. In the Layers and groups tabs configure Layers and labels.
  7. Click Update preview.
  8. If you are happy with the preview you may save your webmap to a local folder: In the Export tab choose a lokal folder. Click Export.
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export