What is a WFS map layer?
WFS is an abbreviation for Web Feature Service. It is an interface allowing for requests for geospatial information regardless of the platform used. To read more about WFS, see this link. The WFS maps that you use in Maptionnaire should be in WGS84/EPSG: 4326 or 3857.
How to upload a WFS map layer?
Go to Materials. Choose the Maps tab and click Add Map on the upper right corner. Choose Add WFS layer from the drop-down menu. You can also add the layer directly in the questionnaire editor in the Maps section of the main settings.
Enter the WFS server URL in the window that opens.
Once Maptionnaire has established a connection to the server, the map should be visible in the area that was grey in the previous window. You can now edit the settings:
- Name the map.
- Write a Description for it (to be displayed in the item card).
- Write a Control label or the map layer name that will be used in the map menu of the questionnaire if several map layers are in use.
- Attribute the map to its producers (e.g. City of Denver). The attribution is displayed on the lower right corner of the map
In the next settings, you are asked to choose settings directly related to the content of the maps:
- In Feature you can browse the layers provided by the server and choose the ones you want to use.
- Set the Zoom range of the map. Set the zoom range for the map server. This should be the range for which the map server can produce tiles. Setting an incorrect range can make your map load slowly or not show up at all. Most servers support the range 1 to 19, and in general you should not need to change the lower end value of the range. If the map server supports very detailed views, you can increase the upper end of the range up to a maximum of 25. If the map layer disappears at high zoom levels, try lowering the upper end of the range.
- Decide on how the map should look by adjusting the colors, size and opacity of the map features.
Finally, click Create item, or Save if you are editing the settings after creating the item.
How do I use this map in a questionnaire?
For more information on how to use maps in questionnaires, please see Questionnaire backgrounds