GeoJSON is a format for encoding geospatial features, such as points, lines and polygons. The GeoJSON format is based on Java Script Open Notation. You can use GIS software to export your shapefiles as GeoJSONs or convert your shapefiles by using online services such as this one.
In Maptionnaire, you can use GeoJSONs for example for creating clickable map objects in questionnaires.
How to upload a GeoJSON?
Go to Materials. Choose the Maps tab and click Add Map on the upper right corner. Choose GeoJSON from the drop-down menu. You can also add the layer directly in the questionnaire editor in the Maps section of the main settings.
Click Upload and choose the GeoJSON file from your computer. The supported coordinate reference system for GeoJSONs is WGS84 with the latitude and longitude units in decimal degrees.
Once the upload is complete, you can edit the settings of the GeoJSON:
- 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 shapefile to its producers. The attribution is displayed on the lower right corner of the map.
- Name an ID key, if you want to use the GeoJSON as part of the Clickable map object element. The ID key is any key that distinguishes the elements in your GeoJSON from each other. For example, if your GeoJSON contains several points, each point will have a unique key; all of these keys will be listed under the same column in Properties. The name of the column is the ID key.
Next, you can make decisions related to feature labels and visual appearance.
- Name a label key and switch on Show feature labels to activate them. You can also make decisions regarding the visual presentation of the labels.
Choose the way in which the objects are visualized on the map by changing their color, size and opacity.
Finally, click Create item, or Save if you are editing the settings after creating the item.
Please sign in to leave a comment.