POST
|
Xander, I looked at the blog post you referenced and found a few more examples but I'm still not following how to accomplish this task. Would you mind elaborating a bit more? Thank you. Xander Bakker
... View more
02-06-2020
09:32 AM
|
0
|
0
|
424
|
POST
|
Hello again Xander, I was hoping you could assist once again. I am working with the flood customer and she wants a link embedded in the popup when a specific result is obtained. This is what I have so far but the hyperlink isn't showing up in the popup. Do I have to add it as a custom attribute display? I can get the hyperlink to show up properly when the return is just the link but when it's text and the link it just displays as text. This information is in the same web map I originally share with you but under an attribute expression called Test6 if you'd rather take a look at it there. Thank you. var floodzone = Intersects(FeatureSetByName($map,"FEMASupportData - Storm Surge 2016"), $feature) If(Count("CATEGORY") > 0) { return "This property is located in a storm surge area. Get a Plan at <a href=\"https://www.flgetaplan.com\">www.flgetaplan.com</a>. Find out how much flood damage could cost you at <a href=\"https://www.floodsmart.com\">www.floodsmart.com</a>" } Else { return 'This property is not located in a storm surge area.' Xander Bakker
... View more
02-04-2020
04:22 AM
|
0
|
3
|
1742
|
POST
|
That was stupidly easy, didn't know about using "distinct". Thank you! Xander Bakker
... View more
12-30-2019
10:23 AM
|
0
|
1
|
1742
|
POST
|
Xander Bakker I was hoping you could maybe help me again for another application. I am working on an attribute expression that involves multipart features. Do I need to convert to single-part to get the desired results? I want to display all future land use options but not duplicate the values. Currently it is showing each multi-part option multiple times. Ideally I would like it (for this example) to be P/ROS/RL. Any idea how to properly format that so the value in the attribute expression occurs only one time? This is what I have so far to display all potential options but want to remove it when it show up multiple times: var intersectLayer =Intersects(FeatureSetByName($map,"Future Land Use - Unincorporated"), $feature) var FutureLandUse = ""; for (var f in intersectLayer) { if (FutureLandUse == "") { FutureLandUse = f.LANDUSECODE } else { FutureLandUse += " / " + f.LANDUSECODE; } } return FutureLandUse Any help would be appreciated. Can't seem to find much documentation related to this issue, only ones associated with removing duplicates for labeling. Thank you.
... View more
12-30-2019
09:17 AM
|
0
|
3
|
1742
|
POST
|
Awesome, thanks so much for everything! This is also really helpful to know how to do as the project progresses. I appreciate all your assistance. Xander Bakker
... View more
12-13-2019
04:32 AM
|
1
|
5
|
1742
|
POST
|
Thanks so much, Xander Bakker. This is exactly what I was looking for in terms of proof of concept. I really appreciate all your assistance. The process makes sense now. Thank you.
... View more
12-12-2019
12:43 PM
|
0
|
10
|
7315
|
POST
|
This is really thorough, thanks Xander Bakker. When I tried inputting the new attribute expression (called Highest Risk Test) in the webmap it didn't work (just removed third option to mimic scenario) and the output is blank. I know this is just an example but it should've mimicked it. I have a group created in our AGOL, can I add you to it to take a look at the data in context?
... View more
12-12-2019
06:06 AM
|
0
|
2
|
7315
|
POST
|
Hello Xander Bakker Thanks for your response. I don't have the dictionary or "key" from the customer yet on the different hazards and zones but if I provide you with a hypothetical one, would that work? For instance, say the possible options for PC_FHA values are A, B, C, D, and E zones. With zone A hypothetically being the lowest risk and zone E as the highest...or a score from 1-5 with A=1 risk (lowest risk), then B=2 (moderate), then C=3 (slightly more moderate), then D=4 (higher risk), and E=5 (highest risk potential). Let's say the parcel shown above is split between Zone B and Zone D, I would then want the expression to only showcase D. Does that help you formulate the language?
... View more
12-12-2019
04:12 AM
|
0
|
4
|
7315
|
POST
|
Xander Bakker Here is what I have so far: var intersectLayer =Intersects(FeatureSetByName($map,"PC FPs nonTidal Regulated"), $feature) var Hazard = ""; for (var f in intersectLayer) { if (Hazard == "") { Hazard = f.PC_FHA } else { Hazard += " And " + f.PC_FHA; } } return Hazard What I am looking for next is when there's a parcel that intersects both PC_FHA_NonTidal And PC_FHA_Floodway_NonTidal, I want it to return the option with a higher risk for instance PC_FHA_NonTidal. The parcel referenced is within both areas (hatched and blue symbology) and I want to default to the higher risk flood answer (whatever it ends up being- this is for proof of concept at this stage). The end goal is to have all the risk layer intersections added to the parcel layer for customers to find out information but I am stuck when there are multiple options for a specific parcel boundaries. The popup will end up being very similar to the floodplain inquiry solution but more specific parameters because I want to default to a specific answer when multiple intersecting options are found. Does that make sense? Thank you!
... View more
12-11-2019
01:18 PM
|
0
|
22
|
10558
|
BLOG
|
I am trying to formulate an arcade expression for a bunch of polygon flood related feature classes. I am trying to intersect each of those features with our parcel layer. The ultimate goal is to dynamically add the name of those flood zones to a custom attribute popup expression within our parcel data. The problem I am running into is that some of the parcels have split flood zones. I want to 1. show all the possible options for each parcel's flood zone AND 2. Have another custom attribute expression that returns the value for the highest flood risk zone. The featureset works fine for a single option but when it has split and I am doing it based on attributes (and not largest area for buffering or based on percentages) I cannot get the syntax formatted properly. The idea is for a customer to be able to search for their address and know all the information about the flood hazards at that location. Any help would be greatly appreciated. Thanks.
... View more
12-11-2019
11:44 AM
|
0
|
0
|
5872
|
Title | Kudos | Posted |
---|---|---|
1 | 12-13-2019 04:32 AM |
Online Status |
Offline
|
Date Last Visited |
12-31-2020
12:32 PM
|