POST
|
Thank you Xander for the solution. I had to use var last_point = paths[0][Count(paths[0])-1]; to get the last point. It didn't like paths[1] for some reason but I got it working. Not sure if other people would have this issue. Thank you again.
... View more
05-23-2019
06:35 PM
|
2
|
2
|
3534
|
POST
|
How can you calculate the start and stop coordinates of a polyline in ArcGIS online using Arcade? With points you can use the following expression. var CoorX = Round(geometry($feature).x, 6); var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (CoorX / originShift) * 180.0; // var lat = (y / originShift) * 180.0; // lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return lon; What is a comparable expression to use for a polyline feature? I am just trying to get the coordinates at the start and end of the polyline. I don't need any points in between. Thanks in advance.
... View more
05-18-2019
02:28 PM
|
2
|
5
|
4128
|
POST
|
I changed the two file names to lower case and checked to make sure there were no other issues and I got the error again. I am thinking I might have to make a 2.0 version and archive the surveys from the other version in another location.
... View more
12-05-2018
07:32 AM
|
0
|
0
|
581
|
POST
|
Hi James, It is being created in Survey 123 Connect. The form has a geopoint field where the user selects the location of the survey. I want to add 2 text fields that calculate the longitude and latitude of the location. Users have submitted surveys already and they are on the Survey123 website. I am trying to publish changes from Survey 123 Connect to the Survey 123 Website but I cannot for any surveys that have existing submitted surveys. The image below shows the 2 fields I am trying to add to the survey.
... View more
12-01-2018
10:40 AM
|
0
|
2
|
581
|
POST
|
Hello everyone, I am trying to add some text entries for a Survey123 form that has existing surveys submitted. When I try to publish the changes from the Survey123 Connect for ArcGIS program, I get an error "Unable to add feature service layer definition". I've noticed I only have this issue with any surveys that have existing surveys submitted. Is there a way to make changes and publish them for a survey form that has existing surveys submitted? Or do I need to remove the surveys? Thank you in advance!
... View more
11-30-2018
07:20 AM
|
0
|
4
|
884
|
Title | Kudos | Posted |
---|---|---|
2 | 05-23-2019 06:35 PM | |
2 | 05-18-2019 02:28 PM | |
1 | 06-30-2019 10:38 AM |
Online Status |
Offline
|
Date Last Visited |
11-09-2023
06:26 PM
|