|
POST
|
OK that's WGS84 and the lengths I guess are decimal degrees. Unless there's another Geodesic Method available I think you'd really need to project the coordinates into a planimetric coordinate system to get a meaningful output.
... View more
01-09-2025
06:41 AM
|
1
|
0
|
3342
|
|
POST
|
From the geometry methods doc and the doc screenshot in that thread, the 2nd value appears to be the distance from the line start along the line. I think it's the 3rd value you're looking for. Without knowing more about your data etc. I'm not sure what may be happening with the results. I'd print out the JSON of the inputs also and maybe something with the SRID/WKID might show up. https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/geometry.htm
... View more
01-09-2025
06:29 AM
|
1
|
1
|
3344
|
|
POST
|
Are you able to share the full code and possibly the mapped polyline and point inputs and point result? Values look like a spatial reference issue, possibly. I don't think there's any angles calculated so likely not radians. I found the Python API Geometry Class docs to be a bit confusing as they suggested a result being a tuple of xy coords and the distance. Then I found this https://community.esri.com/t5/arcgis-api-for-python-questions/need-query-point-and-distance-clarification/td-p/1514270 which describes the actual result object (straight from the arcpy function). 😐
... View more
01-09-2025
03:29 AM
|
0
|
0
|
3347
|
|
POST
|
Yeh the CSV looks fine. the space in the filename made my eye start twitching a bit but I know AGOL should take it without issue. I'd say it's some connection hiccup. Log out and back in and try again later and it will probably work. Only other possibility is where it's being added from. If Google Drive/Dropbox/One Drive is playing up..
... View more
01-08-2025
01:15 PM
|
0
|
1
|
2105
|
|
POST
|
Are you using a standard Notebook? I think you'd require an Advanced Notebook type to then be able to import the required ArcPy module. access_res.type is probably returning none
... View more
01-08-2025
11:25 AM
|
2
|
0
|
3371
|
|
POST
|
Yes I did think the same was a simple effective solution, but a route could be indirect but still not very 'curvy'. After a google, it did lead to an interesting tool which is the logical continuation of your idea Dan, which is to measure the sinuosity - but then do this with much smaller line segments (you'd need to split the polylines up prior of course). Comparing the means of the 2 route's sinuosity indices would give an indication of relative 'curvyness' I guess 🙂 https://www.arcgis.com/home/item.html?id=00e708a448b74810a0e805c4a97f9d46 all really from this thread and linked threads: https://gis.stackexchange.com/questions/195370/determining-curvature-of-polylines https://gis.stackexchange.com/questions/37058/algorithm-to-find-out-points-of-inflection-for-a-polyline/37078#37078
... View more
01-07-2025
11:39 AM
|
0
|
0
|
1602
|
|
POST
|
That seems to be correct values from the logic of the first question. What are you expecting as the results? (1,700,000 / 100) * 3 + 1500 = 52500 (1,100,000 / 100) * 3 + 1500 = 34500
... View more
01-07-2025
09:12 AM
|
0
|
0
|
1684
|
|
POST
|
I'm not sure there is anything built-in to do it. There's a way mentioned here https://community.esri.com/t5/arcgis-survey123-questions/in-survey-123-connect-is-there-a-way-to-format-the/m-p/740717
... View more
01-07-2025
08:49 AM
|
0
|
0
|
1694
|
|
POST
|
if(${estValueofWrk} < 1000, (${estValueofWrk} div 100) * 2 + 25,
if(${estValueofWrk} >= 1000 and ${estValueofWrk} < 50000, (${estValueofWrk} div 1000) * 5 + 50,
if(${estValueofWrk} >= 50000 and ${estValueofWrk} < 100000, (${estValueofWrk} div 1000) * 4 + 250,
if(${estValueofWrk} >= 100000 and ${estValueofWrk} < 500000, (${estValueofWrk} div 1000) * 3 + 450,
if(${estValueofWrk} >= 500000 and ${estValueofWrk} < 16166666, (${estValueofWrk} div 100) * 3 + 1500,
if(${estValueofWrk} >= 16166666, 50000, 0))))))
... View more
01-07-2025
08:14 AM
|
0
|
5
|
1703
|
|
POST
|
Ah I do recall something with split policies on a domain. https://community.esri.com/t5/arcgis-pro-questions/splitting-line-wipes-out-domain-attributes/td-p/244137 I did find this for AGOL domain policies (I never knew they existed). So may be worth a read and try out in the Python API. https://learn.finaldraftmapping.com/update-split-merge-policy-for-a-domain-in-an-arcgis-online-hosted-feature-service-with-the-arcgis-api-for-python/
... View more
01-07-2025
08:07 AM
|
2
|
1
|
1418
|
|
POST
|
You are putting the expression in the column called 'relevant' right?
... View more
01-07-2025
06:00 AM
|
0
|
0
|
4030
|
|
POST
|
Ah yes, apologies I read through too quickly. Are you able to screenshot to include the relevant column and contents and copy past the exact cell content/expression into the thread? It really seems like missing parentheses, syntax or spelling error - e.g. I can also see farm_type instead of Farm_type in the expression you shared previously (but am unsure if it is case sensitive).
... View more
01-07-2025
04:21 AM
|
0
|
3
|
4086
|
|
POST
|
The error seems to reference crops_grown which doesn't seem to be related to this question. I'd look for that expression and fix or remove it from xls. The first xepression should work, aside from a dash instead of underscore typo in main_farm_enterprise. selected(${farm_type}, 'Arable') or selected(${Main_farm_enterprise}, 'Arable') or selected(${Other_enterprises}, 'Arable')
... View more
01-07-2025
03:37 AM
|
0
|
5
|
4091
|
|
POST
|
If you go to the settings page of the hosted feature layer you can set Editor Tracking with the 'Keep track of changes to the data (add, update, delete features)' option https://doc.arcgis.com/en/arcgis-online/manage-data/manage-editing-hfl.htm
... View more
01-06-2025
09:02 AM
|
0
|
1
|
1301
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-13-2025 01:08 PM | |
| 1 | 09-25-2025 03:19 PM | |
| 1 | 09-24-2025 02:35 PM | |
| 1 | 09-17-2025 02:42 PM | |
| 1 | 09-10-2025 02:35 PM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|