|
POST
|
Hi Phil, I was going to use a nested if() statement, but wasn't sure if there was a better way to achieve what I wanted. So below is what I ended up creating and it appears to be what I wanted. if(selected(${Fraction_Present},'Yes') and selected(${Prefix_Present},'Yes') and selected(${Suffix_Present},'Yes'), concat(${STREET_NUM}+" "+${FRACTION}+" "+${PREFIX}+" "+${STREET_NAME}+" "+${SUFFIX}+" "+${STREET_TYPE}),if(selected(${Fraction_Present},'No') and selected(${Prefix_Present},'Yes') and selected(${Suffix_Present},'Yes'), concat(${STREET_NUM}+" "+${PREFIX}+" "+${STREET_NAME}+" "+${SUFFIX}+" "+${STREET_TYPE}),if(selected(${Fraction_Present},'No') and selected(${Prefix_Present},'No') and selected(${Suffix_Present},'Yes'), concat(${STREET_NUM}+" "+${STREET_NAME}+" "+${SUFFIX}+" "+${STREET_TYPE}),concat(${STREET_NUM}+" "+${STREET_NAME}+" "+${STREET_TYPE})))) Thanks for the help!
... View more
06-01-2021
11:22 AM
|
1
|
1
|
1499
|
|
POST
|
I've created a survey for address collection and was wanting to create a multi-conditional instance_name. Within the addresses, some could have a prefix or a suffix with the road. I've created a select_one field that allows the user to determine if a prefix or suffix exists. I want to do something like if prefix exists and suffix exists print 123 E Main W St, else if prefix exist and suffix doesn't exist print 123 E Main St, else if prefix doesn't exist and suffix does exist print 123 Main W St, else if prefix doesn't exist and suffix doesn't exist print 123 Main St. What's the best way to create something like above for the instance_name?
... View more
05-27-2021
08:32 AM
|
0
|
3
|
1577
|
|
POST
|
Thank you @r3weber and @DanPatterson for suggesting using the dot notation. I changed the script to include the dot notation and was getting the same results. I looked at the results from the spatial join layer and the spatial join layer isn't getting all the attributes from the polygon layer, but I'm not exactly sure why some of the fields aren't getting populated even though the polygon layer has attributes for those fields.
... View more
05-10-2021
04:19 PM
|
0
|
0
|
1947
|
|
POST
|
I created a Python script that calculates fields of newly added points. When I run the script in ArcGIS Pro 2.5 everything works correctly, but when I upgraded to version 2.7.3 of Pro, 3 of the fields no longer populate. I don't get any errors from the script. Thanks in advance for any help! import arcpy
#Setup the user inputs
customerPointSelection = arcpy.GetParameterAsText(0)
customerPoint = arcpy.GetParameterAsText(1)
automatedCollection = arcpy.GetParameterAsText(2)
#Create a spatial join between customerPointSelection and automatedCollection
arcpy.SpatialJoin_analysis(customerPointSelection, automatedCollection, "in_memory/CustomerAutoJoin", "JOIN_ONE_TO_MANY","KEEP_COMMON","","WITHIN")
#Create a new join to the customerPoint
arcpy.AddJoin_management(customerPoint,"OBJECTID","in_memory/CustomerAutoJoin","TARGET_FID","KEEP_COMMON")
#Calculate the needed fields
arcpy.CalculateField_management(customerPoint,"SEC_NAME","!CustomerAutoJoin.SEC_NAME_1!","PYTHON3","","TEXT")
arcpy.CalculateField_management(customerPoint,"COLLECT_DAY","!CustomerAutoJoin.DAY!","PYTHON3","","TEXT")
arcpy.management.CalculateField(customerPoint,"QUAD","!CustomerAutoJoin.QUAD_1!","PYTHON3","","TEXT")
arcpy.CalculateField_management(customerPoint,"HELP_SECTION","!CustomerAutoJoin.HELP_SECTION_1!","PYTHON3","","SHORT")
#Remove the join and delete the in memory feature
arcpy.RemoveJoin_management(customerPoint)
arcpy.Delete_management("in_memory/CustomerAutoJoin")
... View more
05-06-2021
06:54 AM
|
0
|
5
|
2002
|
|
POST
|
If you go to the map options while in the story map, there should be a gear icon. Click the gear icon then you should see map configuration options which includes the legend.
... View more
01-21-2021
01:32 PM
|
1
|
1
|
7166
|
|
POST
|
I'm new to using TypeScript and had a question regarding how to use external libraries with the ArcGIS for JavaScript API. I'm trying to use the Chart.js library within my application, but I'm not sure how I would incorporate the library into the application. Is it as easy as using NPM to install the library? Thanks for the help! Michael
... View more
11-13-2020
09:56 AM
|
0
|
1
|
924
|
|
POST
|
Owen, I'm currently using the collections feature to create an interactive report for water basins. I have several story maps that are kind of equivalent to executive summaries and then several story maps for each water basin. The story maps for each water basin has bookmarks for the different watersheds that are within the basin. I was asked if there was a way to have a link to a particular watershed so that a user wouldn't have to leave the executive summary then select the correct water basin story map then find the bookmark for the watershed the user wants to read about. They want to make getting to a particular watershed as easy as possible for the user. Thanks, Michael
... View more
10-01-2020
08:35 AM
|
0
|
0
|
1200
|
|
POST
|
In the old Story Maps, you could do create a link for a specific tab or index (see this blog post), but is it possible to do something similar with the bookmarks in the new version of the Story Maps? Thanks, Michael
... View more
07-31-2020
02:33 PM
|
1
|
2
|
1234
|
|
POST
|
Owen, Here's the link to the story: ArcGIS StoryMaps
... View more
06-09-2020
11:14 AM
|
0
|
1
|
997
|
|
POST
|
When I click to print my story map, none of the maps display. Is this a bug or an expected behavior? Thanks, Michael
... View more
06-09-2020
10:59 AM
|
0
|
3
|
1034
|
|
POST
|
I'm adding pictures in a sidecar panel and the pictures are kind of small. Is there a way to make the pictures larger or to pop the pictures out when a user clicks on them? Thanks, Michael
... View more
04-13-2020
09:55 AM
|
0
|
2
|
608
|
|
POST
|
Gayle, How are you adding the query layer into the dashboard? If the query layer is like a map or feature service then if you overwrite the query layer, it should update automatically in the dashboard and you won't need to add the data again.
... View more
03-16-2020
06:48 AM
|
0
|
1
|
3064
|
|
POST
|
The layer I used to test to see if the date would work is a feature layer. However, it is a hosted layer and not on my server, but I wouldn't think that would make a difference.
... View more
03-16-2020
06:42 AM
|
0
|
0
|
3202
|
|
POST
|
You might have already tried this, but it might be easier if you create three separate web maps at the various scales then set a transition to the correct web map as the user scrolls the story down.
... View more
02-28-2020
08:08 AM
|
0
|
0
|
585
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-09-2024 07:44 AM | |
| 1 | 03-29-2023 01:20 PM | |
| 2 | 11-07-2022 07:38 AM | |
| 1 | 01-21-2021 01:32 PM | |
| 1 | 08-25-2022 07:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-18-2025
07:01 AM
|