POST
|
The toolbox and revised user guidance are attached here as a ZIP file. The toolbox only runs in ArcGIS Pro.
... View more
Wednesday
|
0
|
0
|
24
|
POST
|
Perfect! That's exactly what I was trying to do...and I was half-way there, just didn't know it. So, I presume that this would execute in Field Maps only: When a new spatial feature is created, or is subsequently updated and/or When the new feature's plant code is specified, or is subsequently changed Thank you.
... View more
05-31-2024
10:28 AM
|
0
|
0
|
438
|
POST
|
I’m trying to develop an Arcade expression that determines if a newly created plant occurrence feature intersects, or is near, a known plant occurrence of the same species in an underlying reference layer…keeping in mind that there could be multiple overlapping polygons in that reference layer of many different plant species. I’ve found many examples to pull an attribute from an underlying layer, but haven't come across any that drill down through a reference layer’s multiple overlapping polygons to see if any of those have a matching plant code. Essentially, I don't know how to iterate through a series of polygons in search of a match. See the attached image for an example of those multiple overlapping plant polygons in a reference layer. Any references or examples would be appreciated. Thank you.
... View more
05-31-2024
07:59 AM
|
0
|
2
|
530
|
POST
|
I used ArcGIS Online Assistant to copy a feature service, map, and form to another account that I own in a different organization. I used the find/replace function in ArcGIS Online Assistant to update the map's service URLs to match the moved feature service URL, and the map and form work as expected. All good, so far. However, I am unable to update domains using Field Maps Designer using a CSV file, as I was able to do in the originating account. The Edit List link is disabled with this message (below). Also see the attached image. "Lists cannot be edited within layers you don’t have privileges to update or that aren’t hosted." But, I own the account, have enabled editing in the feature service, it is a hosted service, and have added features from a Field Maps device...so I'm not sure I'm unable to update the domains What am I missing? Insights will be much appreciated.
... View more
05-15-2024
03:06 PM
|
0
|
1
|
364
|
POST
|
I've revised the code to be compatible with ArcGIS Pro, and to accept either a TIFF or ESRI grid as the elevation raster. The revised toolbox and user guidance are attached as a ZIP file.
... View more
09-09-2023
09:43 PM
|
3
|
1
|
1990
|
POST
|
Perfect! Thank you. I'd been trying to use the params[5].enabled = False format from ToolValidator instead of parameters[5].enabled = False.
... View more
01-12-2023
05:12 AM
|
0
|
0
|
662
|
POST
|
I’m tasked with modifying an existing PYT toolbox…a format I’m not familiar with. I do have pretty good experience with non-PYT tools, and with configuring their ToolValidator code. What I’d like to do is modify the PYT so that it will open with one of the parameters in a disabled state, but I’m not sure if the code format is the same as in a ToolValidator class…like params[5].enabled = False…and I’m not sure where in the PYT to place that code. Can anyone offer advice, please? Thank you!
... View more
01-11-2023
07:41 PM
|
0
|
2
|
695
|
POST
|
I have used the start and end question types in the first of a set of 3 nested repeats to determine the length of a visit to an inspection site. I assumed that the start question would capture the time when the top-level repeat was opened/created, and that the end question would capture the time when either a new top-level repeat was created, or when the survey was submitted by pressing the check mark button at the lower-right. See XlsForms.jpg for a snippet of the XLSForm. However, the end time is the same as the start time when viewed in the underlying feature service in ArcGIS Online. See StartEnd.jpg. What am I missing? All insights are appreciated.
... View more
01-01-2023
07:32 PM
|
0
|
0
|
305
|
POST
|
OK, that makes sense forestknutsen1. Thanks. JeffK - Fields in the in_memory fc are cloned from the source fc via a field list, so I just modified construction of the field list to omit GlobalID, if it is present, as illustrated below. fieldList = [] fields = arcpy.ListFields(inSec) for field in fields: if field.type != "GlobalID": fieldList.append(field.name)
... View more
08-21-2022
09:07 PM
|
0
|
0
|
1256
|
POST
|
Thanks for the replies, but I think my issue has been misinterpreted. Apologies if it was unclear. In this case, I'm not concerned with the transfer, or the values, of GlobalIDs. Rather, I'm trying to understand why my insert cursor does not work when the inserted record (I'm inserting an entire record, not just a value) contains a GlobalID field and the insert cursor's target is an in_memory feature class. The cursor works as expected if no GlobalID field is present.
... View more
08-15-2022
08:15 AM
|
0
|
1
|
1283
|
POST
|
I'm using an arcpy insert cursor in ArcMap 7.1 to add features to an in_memory feature class, and this works fine except when the source feature class includes an indexed GlobalID field. The error I receive is "SystemError: error return without exception set". If I use FeatureClassToFeatureClass to convert the source FC to a new feature class, and drop the GlobalID field, the insert works fine again. The in_memory guidance warns that in_memory "does not support extended geodatabase elements such as subtypes, domains, representations, topologies, geometric networks, and network datasetsabout", but I don't see anything about GlobalIDs being an issue. Any insights would be appreciated.
... View more
08-10-2022
06:16 PM
|
0
|
7
|
1370
|
POST
|
I'm using an arcpy insert cursor in ArcMap 7.1 to add features to an in_memory feature class, and this works fine except when the source feature class includes an indexed GlobalID field. The error I receive is "SystemError: error return without exception set". If I use FeatureClassToFeatureClass to convert the source FC to a new feature class, and drop the GlobalID field, the insert works fine again. The in_memory guidance warns that in_memory "does not support extended geodatabase elements such as subtypes, domains, representations, topologies, geometric networks, and network datasetsabout", but I don't see anything about GlobalIDs being an issue. Any insights would be appreciated.
... View more
08-07-2022
09:11 PM
|
0
|
0
|
286
|
POST
|
Here is code that constructs a line that is the “mean”, or “average”, of two similar lines. A typical use case is creating an average trail alignment from two GPS tracks of the same trail. Tool inputs are two feature classes that each contain a single polyline that is similar to the polyline in the companion feature class. For example, one feature class might contain the north-bound GPS track of a trail, while the second feature class contains the south-bound GPS track of the same trail. The feature classes can be of either .SHP or .GDB format, braided or unbraided, and with either a projected or GCS spatial reference. The finished mean line will be written into the first input’s workspace, and will have the first input’s spatial reference. See the illustrations below for examples of the result. The code (as a txt file) is also attached, and could be adapted to batch processing.
... View more
06-01-2022
08:43 AM
|
0
|
0
|
2434
|
POST
|
I've remedied my issue, guided by Ismael's question about the use of relevant expressions and his timely blog titled Survey123 Tricks of the Trade: hidden, relevant and body::esri:visible. Instead of my original use of a relevant expression for both the repeat and the geometry question, I revised to use a body::esri:visible expression for the repeat and a relevant expression for the geometry question. See the attached XLSForm excerpts that illustrate the remedy.
... View more
04-20-2022
08:46 PM
|
0
|
0
|
837
|
POST
|
OK, thank you. I certainly appreciate the enhanced drawing and annotation tools...but I do miss the option for camera, browse, and blank canvas sketch all within the same widget. Perhaps in the future... ;>)
... View more
04-18-2022
10:39 AM
|
0
|
0
|
643
|
Title | Kudos | Posted |
---|---|---|
3 | 09-09-2023 09:43 PM | |
1 | 12-18-2021 09:16 AM | |
1 | 12-15-2021 07:14 PM | |
1 | 05-14-2021 07:12 AM | |
1 | 03-13-2021 04:11 PM |
Online Status |
Offline
|
Date Last Visited |
Wednesday
|