Skip to content

Sample: Projecting a Point from WGS84 to another projection

Travis Butcher edited this page Jun 16, 2021 · 3 revisions

This sample will show how to set up a survey field to project from WGS84 to another project using the proj4js javascript library.

Extension setup

For this sample we will be using the proj4js javascript library http://proj4js.org/ for projecting the point. In the project repository install using npm install proj4 (or whatever package manager you use)

Sample XLSForm

Included in the repo is a sample XLSForm that can be used to start a new survey in Survey123 Connect by browsing to the file. This sample XLSForm contains all the elements to test and develop with these extensions.

Clone this wiki locally