Page 1 of 1
Boundary check
Posted: May 15th, 2026, 8:34 am
by Pinalli
Dear All,
I would like to implement boundary check in cspro. I want to ensure that respondents gps coordinates does not fall outside the boundary. Any assistance on this will much appreciated.
Re: Boundary check
Posted: May 15th, 2026, 10:37 am
by htuser
This problem has been solved long ago in the CSProuser ecosystem.
Take a look at:
viewtopic.php?p=10497
viewtopic.php?p=15914
However, few times after the first post, I improved it to:
a) Using sets of geographic coordinates to trace Geojson boundary on the fly (Point to polygon);
b) Giving to the enumerator a visual of the distance to the boundary (in and out);
c) Prevent enumerator to collect data outside of his AOI (Area of Interest) or assigned cluster;
d) Etc.
With the next CSPro 8.1, it will be easier. And when released,
I'll transform existing source code I implemented to a ready to use ESM/CSPro logic library that will facilitate this for all
CSProusers around the world.
Best,