pjdohertygis / SARCOP

This is a GitHub page for recording and resolving issues related to SARCOP.
https://nsargc.napsgfoundation.org/
GNU General Public License v3.0
10 stars 0 forks source link

Enhancement: Reverse geocoding address field using geopoint / pull data #26

Closed pjdohertygis closed 4 years ago

pjdohertygis commented 5 years ago

https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm

According to the Survey123 Team, this will only work online, but will not disrupt the workflow offline.

Eric Shreve from AZDEMA also recommended this.

pjdohertygis commented 5 years ago

From Joe Simora jsimora@ycpc.org

Seems to work well in our test environment here. We are planning on testing more and utilizing during our regional drill in November to test further but thought I would let you know where we are with the Deployment Kit and utilizing the kit on the our AGOL account here.

I attached the modified Deployment Kit we are using. Maybe it will be on some use in the future.

If you have any questions or comments, feel free to reach out here.

SCTF SAR Survey2.xlsx

pjdohertygis commented 5 years ago

Here is the pull data function Joe used

pulldata("@geopoint",${location},"reversegeocode.address.Match_addr","https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer","featureTypes=" + "PointAddress") image

pjdohertygis commented 4 years ago

I believe @jdokemaps has implemented this in the current version of the form, check his work before beginning R&D.

pjdohertygis commented 4 years ago

Cross-reference with County / State approach https://github.com/pjdohertygis/SARandFirstResponderSurvey/issues/17

pjdohertygis commented 4 years ago

Questions: There is an ability to set a threshold on horizontal accuracy if the GPS is showing +10m accuracy do we even want an address? What should the horizontal accuracy threshold be set to? Does dragging the pin override it? @tedrick

tedrick commented 4 years ago

Regarding horizontal accuracy - that can be set either by the body::accuracyThreshold column (maximum error in m) or via the constraint (using pulldata('@geopoint', ${q}, 'accuracy') function to retrieve the value and compare). A manually moved point has null accuracy; it will pass a body::accuracyThreshold check but not a constraint check.

jdokemaps commented 4 years ago

I added pulldata("@geopoint",${location},"reversegeocode.address.Match_addr") to the Address field. I did not yet put in a maximum error yet. We should discuss what a good threshold is if any.

jdokemaps commented 4 years ago

Reverse geocoding was implemented, but we have decided to not include an accuracy threshold at this time. This will be something we come back to in future versions.