Upload a GeoJSON

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?

    1. 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.

      materials_choose_map.png

    2.  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

      GeoJSON_upload_screen.png

    3.  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.
      Geojson_settings.png
    4. 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.

        geojson_label_settings.png
    5. Finally, click Create item, or Save if you are editing the settings after creating the item.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.