Hello! How can we help?

Search our knowledge base for loads of useful advice and answers to common questions

If you're still stuck you can always submit a support request and we'll get back to you ASAP

Setting validation rules for geo questions

Ally Stuart -

This article is for Citizen Space Geospatial. Please speak to your account manager if you are interested in learning more about it.

What is a valid area?

Setting a valid area adds a boundary limit for geospatial responses, ensuring that respondents only answer a question within a set area.

If a respondent tries to add a response (adding a pin, or a point on their line or polygon) outside the valid area they will be told that it is invalid and have to resubmit.

How to set a valid area

To set a valid map area (or areas) you must have already set up an online survey, created a mapping page, added a question and chosen the mapping component. For more information on how to do those things, read the following posts:

Once you have a mapping component saved, you can add a validation rule.

  1. Click on the Validation rules link on the mapping component, to open the /validation_rules menu
  2. Set the valid area by drawing an area or uploading a file (geojson or shapefile)
    • To upload a file you need a GeoJSON or Shapefile
    • To draw a shape follow the instructions in the guide bubble to add your shape to the map
    • You can edit a drawn or uploaded shape by dragging or adding new points
  1. Update the Key Label to choose what you want the valid area to be called in the map key
  2. Click Save changes