Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Multiexcerpt include macro
macro_uuid77a79df7-a5d1-4f8f-828d-6c8d8a40e9b2
nameSoftware Plan - Pro
templateDataeJyLjgUAARUAuQ==
pageCommCare Help Site Design Guidance
addpanelfalse

...

The image of the map and polygon will now be saved to the image capture question when the form is submitted. 

...


Saving Coordinates

In order to capture the coordinates of the polygon, follow the steps below. 

  1. Add an extra to the Area Calculator question with key: coordinates and value: 'true'

  2. Add a hidden value to the form to save the coordinates in

  3. Add a key/value pair to the Response section of the Area Calculator question, with key: coordinates and value: drag and drop the hidden value created in step 2 above

The coordinates of the polygon will now be saved to the hidden value as a string of lat/lng doubles when the form is submitted. 

Info

The Area Mapper tool in CommCare is designed to measure the surface area of a region by creating a polygon around the surveyed area. However, it's important to note that this tool measures the 'planar' or 'flat' area enclosed by the polygon, not the actual surface area of a sloped or uneven terrain. The tool is most accurate when used on level ground.