|
POST
|
Not where I can test, but think it might have to do with the if/elseif/else statements. This would exclude any other matching items (if the first IF is true, then doesn't execute the elseif, and so on). I am doing something similar here (and further in the post is more info), but looking for intersections with multiple point featureclasses. But, I do an "IF" comparison for each condition, and if there is a value, add it to the dictionary. This way each if statement gets executed, regardless of the results of the others. Then, once the dict is populated, return it. This code was originally taken from here. Suspect you want something similar to what I have inside the 'for' loop (as you are only intersecting against a single FC) so shouldn't have to iterate. In any case, I think if you set the 'NA' values first, then if they intersect, they get updated with the appropriate value, otherwise will return NA. Hope this helps get you on track, R_
... View more
07-16-2024
02:24 PM
|
0
|
1
|
1145
|
|
POST
|
You can use Attribute Rules for this. Example for nearest features here. R_
... View more
07-16-2024
07:40 AM
|
1
|
1
|
1004
|
|
POST
|
are you trying to publish a MapService from SDE data to local ArcGIS Server? If so, I have seen this error when I had to register the database with the server. Even though the data IS already registered, and Server Manager validates it, re-register with different name often makes it work. If not, not out much testing.... R_
... View more
07-15-2024
07:59 AM
|
1
|
1
|
930
|
|
POST
|
You can hover over the file/folder in Catalog and the popup will show you the path: or, right click the folder in the catalog pane and choose "Show in File Explorer" (or "Copy Path"): R_
... View more
07-10-2024
11:36 AM
|
0
|
0
|
3274
|
|
POST
|
It appears as if you can configure the swipe tool to utilize one layer out of the grouped layers, but you need to set that in the configuration itself. This app is great for comparing imagery, but not really intended as a general swipe app. If you want more flexibility, may need to create an Experience Builder app with swipe options. Though a quick test I didn't get it to behave as expected and is less intuitive for the user than the old swipe tool. However, though it doesn't support group layers (not really needed as normally create a web map just for feeding into the App), and is going away soon, using the swipe widget in the Web App Builder and Map Viewer Classic will allow you to select any/all layers that are visible in the map. (If you want group layers in the Classic Viewer, you will need to group them before publishing the MapService.) R_
... View more
07-09-2024
08:39 AM
|
0
|
0
|
4362
|
|
POST
|
Yes, I have 8 different years of overhead imagery in one web map (and some landbase layers). I create an Image Viewer instant app and select the multi imagery web map as the input. Then, in the config, I turn on the swipe tool, select which imagery I want on each side (I chose horizontal layout) of the slider: Then open the Instant App. Can toggle layers on/off, pan/zoom, etc. just like any other webmap, but, open the swipe tool, choose which layer you want on the right vs left, and you will see it update as you move the slider. R_
... View more
06-26-2024
08:40 AM
|
0
|
5
|
4503
|
|
POST
|
If all you are using it for is comparing imagery, the Imagery Viewer instant app works great for this. Just have to enable the swipe toggle in the setup. R_
... View more
06-25-2024
01:23 PM
|
1
|
7
|
4543
|
|
POST
|
Wonder if You can use a 'borrowed' license? You can increase the Borrowed license timeout to 65,000 days (178 years): Of course, this won't help if you change computers..... R_
... View more
06-24-2024
03:15 PM
|
0
|
0
|
1161
|
|
POST
|
Are you trying to insert an OBJECTID? That field is handled by the database itself and ESRI should populate the OBJECTID for you. Have not tested, but possible that getting the max OBJECTID and incrementing it then inserting might be trying to insert your OBJECTID as well as automatically generating one, so they would/could be the same (already in table). Also, not sure what/how you are inserting a row with arcpay.da.InsertCursor AND SQL insert into..... Could you clarify this a bit? R_
... View more
06-20-2024
12:15 PM
|
0
|
1
|
1730
|
|
POST
|
Are you talking about manually selecting features on the map window or processing only the features that match the Select Layer by Attributes tool? If the selection is coming from the tool, you might want to use MakeFeatureLayer instead with the same where clause. This will give you a layer only containing the rows matching the attribute query. If I select features on the map, the calculate tool will only work with features that are selected in the map, if no selection, will work against all features (so, just skip the select by atts). R_
... View more
06-19-2024
01:50 PM
|
0
|
0
|
3250
|
|
POST
|
When entering code, best to use the code formatting. See this post for one way to accomplish your goal. R_
... View more
06-19-2024
09:56 AM
|
0
|
0
|
907
|
|
POST
|
I have some python scripts that do some calculations on AGOL data and can often run into the timeout issue. I tried using some code that processed the data in 'chunks', but there seems to be no consistency of how many records before it fails. So, I modified my script to keep track of what has been updated, and then keeps trying on the rest of the data until it is complete. Not sure if this will help, but Here is a post where I give example of how I'm performing this. R_
... View more
06-14-2024
08:21 AM
|
0
|
0
|
1493
|
|
POST
|
Close (need double quotes instead of single, and cast the numeric OID to string). This is working for me: "SSAP" + str( !OBJECTID! ) + "@BC4011" To 'automagically' populate the fields, look into Attribute Assistant Expression function. R_
... View more
06-13-2024
03:00 PM
|
0
|
0
|
1254
|
|
POST
|
If I have to do this with many values, I find it easier to just create a features for each value off to the side before I create the symbology. Once the symbology is created (and saved) you can delete the temp features. R_
... View more
06-07-2024
06:33 PM
|
0
|
0
|
2130
|
|
POST
|
Is this for sure a polygon dataset? In the image, it almost looks like lines in which case, symbology would not show a fill option. R_
... View more
06-06-2024
09:07 AM
|
1
|
1
|
3071
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|