POST
|
Xander, no apology necessary - thank you for your time and help -- yeah that was what threw me for a loop too
... View more
02-15-2021
01:32 PM
|
0
|
0
|
1756
|
POST
|
Xander, that worked! Thanks again your patience and help!
... View more
02-15-2021
01:22 PM
|
0
|
2
|
1759
|
POST
|
Hi Xander, if you check your PM i sent you a public web map with a snippet of the data im using that replicates the issue
... View more
02-15-2021
12:15 PM
|
0
|
4
|
1768
|
POST
|
Hi all, Xanders expression seems to work great in the arcade test area of the expression builder, but when I add it to the popup nothing shows, ive no idea what could be causing that to happen?
... View more
02-15-2021
11:48 AM
|
0
|
6
|
3704
|
POST
|
Hi David, thank you I think your code is alot more stream lined and I'll use that with a few adjustments to catch those that were painted today, yesterday or within the same year etc. Many thanks !
... View more
02-12-2021
04:34 PM
|
0
|
1
|
3769
|
POST
|
var timeNow = Now(); var survey = $feature["DATE_PAINTED"]; var years = DateDiff(timeNow, survey, 'Years'); // 2.1116274159012844 var y = Floor(years, 0); var d = (years - y) * 365; if (IsEmpty($feature.DATE_PAINTED)){ return "-" } else if (y >= 2) { return "Last Painted: " + Round(y, 0) + " years and " + Round(d , 0) + " days ago." } else if (y == 1) { return "Last Painted: " + Round(y, 0) + " year and " + Round(d , 0) + " days ago." } else if (y == 0 && d > 1) { return "Last Painted: " + Round(d , 0) + " days ago." } else if (y == 0 && d <= 1) { return "Last Painted: " + Round(d , 0) + " day ago." } Still playing around with it, and getting myself slightly more confused as this point! When comparing the duration I'm getting from the above code its not quite the same as most online time duration calculators - actually short by 2 days -- is there something obvious that I missing here? (See attachment for context)
... View more
02-12-2021
12:04 PM
|
0
|
12
|
3793
|
POST
|
Hi all, I'm sort of new to coding in general, but I have started trying to use some arcade expressions in my web maps, currently I have a web map which has a date painted field for hydrants and with the arcade expression below I am using the current date and this field to provide a count of the years and days since a hydrant was last painted. However, I was QC'ing the data and noticed that for hydrants painted after 2020, it is going to be a day short as 2020 was a leap year - if the web map persists beyond 2024, it will then start being 2 days short. With my limited knowledge I believe that I need to use some type of when or if statement to be able to use 366 rather than 365 (in var d calculation) i'm just now sure how I would go about doing it - would anybody be able to provide some pointers? Many thanks! var timeNow = Now(); var survey = $feature["DATE_PAINTED"]; var years = DateDiff(timeNow, survey, 'Years'); // 2.1116274159012844 var y = Floor(years, 0); var d = (years - y) * 365; if (IsEmpty($feature.DATE_PAINTED)){ return "-" } else if (y >= 2) { return "Last Painted: " + Round(y, 0) + " years and " + round(d , 0) + " days ago." } else if (y == 1) { return "Last Painted: " + Round(y, 0) + " year and " + round(d , 0) + " days ago." } else if (y == 0) { return "Last Painted: " + round(d , 0) + " days ago." }
... View more
02-12-2021
09:19 AM
|
0
|
19
|
5593
|
POST
|
Hi all - in the case anyone else runs into this problem, it was solved by removing the z and m values from the address locator datasets - refer to the urls below for more info; https://support.esri.com/en/technical-article/000013340 https://support.esri.com/en/Technical-Article/000010389 https://support.esri.com/en/bugs/nimbus/TklNMDk1MDEx
... View more
01-22-2021
04:16 AM
|
0
|
0
|
536
|
POST
|
Hi all, We recently just upgraded to 10.7 from 10.3, I've had afew address locators that ive built in order to create a composite address locator. Up until now I've only been using it for address searches in the geocoding bar in which they function fine. However I was trying to geocode a batch of addresses this week (127) and noticed that even after all were successfully matched in the geocoding window, when it generated the geocoded point data, only 38 or so show up on the map, but if I open the attribute table I can see all 127 - they even have an XY field populated. Does anyone know why this is happening? I didnt have this issue prior to update, and I thought it was because I was using 10.3 composite address locator, but even after creating a new 10.7 composite locator I am getting the same issue --- I tried it on one of the address locators that form part of the composite and it seems to work ok so it must be some sort of issue with the composite? Image shows when I select all 172 and zoom to selected (they arent outside the extent you see) The second picture shows manual selection of the same extent only returning 26, its like the remainder are not being drawn for some reason?
... View more
01-20-2021
02:35 PM
|
0
|
1
|
555
|
POST
|
Thanks Xander, in regards to the first suggestion, would arcade actually be able to hide/not show the points outside the study area? Thats what I am interested in, just being about to only show the points from the third party service that fall within my area of study (which would be my own polygon)
... View more
01-04-2021
11:24 AM
|
0
|
1
|
1138
|
POST
|
Hi all, there maybe a simple resolution for this but I've looked in the online help and cannot seem to locate anything, prior to upgrading to 10.7 when I entered an address in my address locator (ArcMap 10.3) the potential match would show up when I hit enter, but would not automatically pan to the location unless I right clicked and panned. Since updating I noticed as soon as I enter an address and hit enter it will pan instantly, is there a way to adjust this back to the original way that I described? Its more annoying than anything - thanks!
... View more
12-28-2020
04:52 AM
|
1
|
0
|
343
|
POST
|
Hi Keiren, unfortunately I don't (I'm using 10.7) - would that suggestion not make the data static too? I wanted to be able to just filter based on my area of interest, but also to keep the connection to the original data so I did not have to worry about maintaining the data. Luke
... View more
12-28-2020
04:36 AM
|
0
|
3
|
1163
|
POST
|
Hi all, I'm using a national point data web service form a third party and I am only interested in the data for my local area in the web map, to which I have a small area polygon. I wanted to ask is there a way to use arcade or something like this to just be able to perform something like a definition query on the layer, so the data that shows up only within my polygon boundary will be shown? I cant/don't want to edit/delete the additional data that is redundant for my purposes. Many thanks!
... View more
12-18-2020
04:40 AM
|
0
|
5
|
1258
|
POST
|
Hi all, I have a map service from another organization in my AGOL web map (well locations). I wanted to be able to spatially filter this by the county polygon data set that I created and uploaded to AGOL. I don't want to create my own static data set of the well locations, as I would like my web map to stay in sync when the third party map service (wells) are updated. Is there a straight forward way achieving this? I see there is an option to filter by field, but this is not going to achieve the result I am looking for. In ArcMap (with static datasets) this would be very straightforward but finding it a little frustrating in AGOL. Thanks
... View more
09-10-2020
06:18 AM
|
0
|
0
|
476
|
POST
|
Hi Egge, Thanks for the prompt response - funny enough I actually came across as started working through Lisa's blog example with my own data, I'm hopefully this will be what I need - thanks!
... View more
06-22-2020
05:29 AM
|
0
|
0
|
1337
|
Title | Kudos | Posted |
---|---|---|
1 | 11-18-2022 07:39 AM | |
1 | 12-28-2020 04:52 AM | |
4 | 05-14-2020 04:57 PM | |
1 | 04-02-2019 03:35 AM | |
2 | 11-07-2018 10:54 AM |
Online Status |
Offline
|
Date Last Visited |
08-20-2024
12:40 PM
|