|
POST
|
Have you checked your ArcGIS Online subscription for outstanding subscription payments? Even with an extension approved by Esri, we found this issue occurred up until payment was made and the sub renewed.
... View more
10-07-2024
05:55 PM
|
0
|
0
|
4459
|
|
BLOG
|
@AlixVezina Great little video. I've learnt something new from it - how to use the $editContext vs $originalFeature thingo's.
... View more
10-06-2024
08:48 PM
|
0
|
0
|
9342
|
|
IDEA
|
I've found similar problems with items like GetUser() to return a users First and Last names. It works in Field Maps when Online, but not when Offline, and so I need to split the actual Username value (that does return when offline) and then format and Concatenate the values to get first, last or full names. Would be nice if the Online vs Offline functionality was also documented clearly.
... View more
09-29-2024
10:32 PM
|
0
|
0
|
1567
|
|
IDEA
|
Currently, the Spatial Join tool in ArcGIS Pro contains the Match Option "Have their center in" which calculates a features center (centroid) and uses that to match the target feature. My idea is to add the option to "Have their INSIDE center in", or maybe a conditional check box that appears when the "Have their center in" option is selected that forces an "Inside" calculation. Currently, a Spatial Join with this Match option selected would return the Default option shown in the graphic below. I then have to add a search distance to get the polygon to select correctly, but this also has risks of selecting the wrong feature should another feature exist close by. Have the option to force "Inside" centroid calculation would ensure we get the match we desire. This functionality already exists in the "Add Geometry Attributes" GP tool.
... View more
09-25-2024
06:59 PM
|
11
|
3
|
6391
|
|
POST
|
Early 2025 now - Really looking forward to shutting down our old WAB Apps so I'm not running parallel apps!
... View more
09-25-2024
06:40 PM
|
3
|
0
|
1339
|
|
BLOG
|
Love seeing how GIS manifests itself through so many varied disciplines.
... View more
09-24-2024
06:56 PM
|
1
|
0
|
601
|
|
POST
|
A follow-up question, in lieu if getting the update through, does anyone have a workaround suggestion? I'm happy to work in python as thats where the final process will actually be executed from. I resorted to Pro to help write and test arcpy steps in my process. So I'm not bound by ArcGIS Pro, or arcpy. Those are just what I'm most familiar with and I had no luck with Copilot and testing alternative methods.
... View more
09-18-2024
05:35 PM
|
0
|
0
|
6874
|
|
POST
|
So we're still on 3.1.2, so it's quite possible this is the problem, though @RhettZufelt and @DanPatterson also make good points. Looks like I'm going to have to reach out to Tech Support to get some clarification on the capabilities at least, and also find out if this bug is at play in my situation. Thanks all for you prompt feedback. Will update back here when I get an answer.
... View more
09-18-2024
05:30 PM
|
0
|
3
|
6877
|
|
POST
|
Quick video showing a typical addition of new features using the Append tool (no issues). 2nd video shows the Append tool with Update Options included failing to correctly update the Geometry of a matching feature (Bowelling 3), and also adding 2 features that should not have been added (Bowelling 3 again which should have been updated and McAlinden 2 was identical so should have been skipped). It did correctly update the missing Tenure attribute against Bowelling 5. The 3rd video showing the Append tool with Update Options included failing to correctly update the Geometry (Bowelling 3) and Attributes (Bowelling 3 & 5) of matching features, instead adding Bowelling 3 again, skipping Bowelling 5 completely but at least adding 2 features correctly.
... View more
09-18-2024
12:43 AM
|
0
|
0
|
6958
|
|
POST
|
Hi All. I'm using the Append tool in ArcGIS Pro, and in arcpy to try and both ADD new features to a feature service in ArcGIS Online (from a feature class), as well as UPDATE existing features if they match (Upsert). From reading the documentation here I understand that the tool should look for features with identical attributes within the fields listed under the "Update Options" section. If a feature in the Input Dataset matches a feature in the Target Dataset based on those fields, then it will update all the fields listed in the Field Map (as well as the Geometry if that option is enabled at the bottom of the pane). If no matching feature is found, then those features in the Input Dataset should be Appended as new features. However, the behavior I'm getting doesn't seem to match that. When I have no Update fields listed, the features in my Input Dataset are being appended as New features as expected. When I do have fields listed under the Update Options section, I am seeing matching features update but new features are not being added as I would expect. Can someone clarify if there is a problem somewhere, or if I have my understanding wrong and the Append tool is either Add or Update, not both?
... View more
09-18-2024
12:20 AM
|
3
|
13
|
8149
|
|
POST
|
Just stumbled on this as a "problem" after showing someone the edit multiple function and going "WTF"? Dug deeper, found no settings and then a google and here I am.
... View more
09-17-2024
11:52 PM
|
1
|
1
|
3385
|
|
IDEA
|
Just reaffirming that this needs to be implemented for the Edit Multiple to be considered a viable option in many of our maps. We have forms setup to restrict and streamline the data capture process. Having multiple fields exposed to editing that are usually not editable is not really an acceptable setting. It's actually less acceptable than if it was single-feature editing as more damage can be done faster! In addition to your request to enable or disable the use of "Edit Multiple" per field in the form settings, it needs to allow for the auto calculation of fields using Arcade and not just expose the Free Text option.
... View more
09-17-2024
11:52 PM
|
0
|
0
|
2811
|
|
POST
|
Turns out the problem was the target "layer". I was converting my target feature service URL into a feature layer using the below command and that was the target. When I changed the target to the URL parameter, it worked! Now to figure out why the field mapping isn't working and my data is coming in with blank attributes! post_planting_url = "https://services-ap1.arcgis.com/xyzxyzxyzxyzx/arcgis/rest/services/My_Feature_Service/FeatureServer/0"
post_planting_layer = FeatureLayer(post_planting_url)
... View more
09-17-2024
09:02 PM
|
1
|
0
|
3410
|
|
POST
|
Hi Jake. Yes, I believe I have (I am at least meant to have) the Update option enabled (including Geometry). I don't want duplicate records being created. Is there something missing in my code that should be there? From what I can see in the documentation, I have all parameters accounted for.
... View more
09-17-2024
08:29 PM
|
0
|
0
|
3411
|
|
POST
|
Hi Brains Trust. I've given up trying to figure this out on my own. I know that the arcpy Append GP tool will normally let me append data from a feature class to a feature service. However, when running the below code I keep getting the error displayed. Can anyone give me any pointers? I've tried working with Copilot, and also with different methods (e.g. da.updatecursor) but that doesn't work with feature services. # Step 9: Compare and update Post_Planting_Inspection_Tracking_Base
print("Step 9: Comparing and updating Post_Planting_Inspection_Tracking_Base...")
arcpy.management.Append(
inputs=update_data,
target=post_planting_layer,
schema_type="NO_TEST",
field_mapping=r'Plantation "Plantation" true true false 50 Text 0 0,First,#,C:\temp\scratch.gdb\update_data,Plantation,0,50;Forest "Forest ID" true true false 6 Text 0 0,First,#,C:\temp\scratch.gdb\update_data,Forest,0,6;Species "Species" true true false 20 Text 0 0,First,#,C:\temp\scratch.gdb\update_data,Species,0,20;PlantingYear "Planting Year" true true false 0 Long 0 0,First,#,C:\temp\scratch.gdb\update_data,PlantingYear,-1,-1;RENDER_LABEL "Tenure" true true false 255 Text 0 0,First,#,C:\temp\scratch.gdb\update_data,RENDER_LABEL,0,50;PlantingFinished "Planting Finished" true true false 0 Date 0 0,First,#,update_data,MAX_FinishDate,-1,-1',
subtype="",
expression="",
match_fields="Plantation Plantation;Forest Forest;Species Species;PlantingYear PlantingYear;PlantingFinished MAX_FinishDate;RENDER_LABEL RENDER_LABEL",
update_geometry="UPDATE_GEOMETRY"
)
print("Features added/updated - process complete!") Step 9: Comparing and updating Post_Planting_Inspection_Tracking_Base... Traceback (most recent call last): File "C:\Temp\Upload FPC416 Polygons.py", line 130, in <module> arcpy.management.Append( File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 7306, in Append raise e File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 7303, in Append retval = convertArcObjectToPythonObject(gp.Append_management(*gp_fixargs((inputs, target, schema_type, field_mapping, subtype, expression, match_fields, update_geometry), True))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) RuntimeError: Object: Error in executing tool >>>
... View more
09-15-2024
11:09 PM
|
0
|
3
|
3485
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | yesterday | |
| 1 | Tuesday | |
| 4 | Monday | |
| 1 | Monday | |
| 2 | a week ago |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|