|
POST
|
I know this is a bit old but you can just modify the script to specify an output location: pd.DataFrame(list_items).transpose().to_excel('C:\\temp\\' + str(user.username)+'.xlsx') @ConorMacNaughton wrote: If I don't have an enterprise portal where does the Excel end up? It doesn't show up in my organization's content in AGO. The script seems to run fine and loops through my users, but I can't figure out where the exports are located. Is there something I can add to the script to download the Excel after its been exported?
... View more
01-11-2021
02:37 PM
|
1
|
0
|
14229
|
|
POST
|
hi, You might want to check your data then. I just created a demo dataset in a fgdb and it worked for me. Bearing in mind this is a very simple dataset with single part polylines. start point: var line = Geometry($feature);
var path = line.paths[0];
var pt = path[0];
return pt.z end point: var line = Geometry($feature);
var path = line.paths[0];
var pt = path[-1];
return pt.z I created three lines and calculated their geometries in fields using the gp tool, then the same using arcade. I then added globalids and attribute rules for two new fields. Finally I digitised two new lines connecting the start and ends of the previously created ones. You can see the attributes were updated successfully and they match the pre-existing lines. I wanted to insert an image but apparently I don't have permission now. Shape * Shape_Length name start_elev end_elev arc_st_elev arc_end_elev rule_st_elev rule_end_elev Polyline Z 477.593909 a 128.1235 61.531 128.1235 61.531 <Null> <Null> Polyline Z 477.22298 b 117.708 76.076 117.708 76.076 <Null> <Null> Polyline Z 388.065934 c 127.2341 66.5974 127.2341 66.5974 <Null> <Null> Polyline Z 435.647143 a-c <Null> <Null> <Null> <Null> 128.1235 66.5974 Polyline Z 416.362791 c-b <Null> <Null> <Null> <Null> 127.2341 76.076
... View more
11-16-2020
02:31 PM
|
3
|
1
|
6984
|
|
POST
|
Hi, You could try starting with the logic here: https://community.esri.com/t5/arcgis-online-questions/calculate-coordinates-of-polyline-in-arcgis-online-with-arcade/td-p/351115 but accessing first_point.z and last_point.z Hope this helps. Cheers, Marc
... View more
11-16-2020
01:31 PM
|
0
|
3
|
6994
|
|
POST
|
Hi there, I think this may help. It looks through a list of depths and exports a feature class from the source data that is queried for each depth, and then also a tin. It's just a quick hack so there's no error handling etc. Also I'm not sure how to properly embed code, hopefully this works. Cheers, Marc # IMPORT ARCPY
import arcpy
arcpy.OverwriteOutput = True
# SCRIPT VARIABLES
sr = arcpy.SpatialReference(2193)
# MAKE SURE INPUT AND OUTPUT DATA/GDB EXIST
out_fgdb = r"C:\Temp\out.gdb"
out_folder = r"C:\Temp"
surv_pts = r"C:\Temp\s_pts.shp"
surv_lyr = arcpy.MakeFeatureLayer_management(surv_pts)
depth_list = [1,2,3,4,5]
# VALUES FOR TIN CREATION
depth_field = "depth"
tin_type = "Mass_Points <None>"
# ITERATE THROUGH DEPTHS, OUTPUT FEATURE CLASSES AND TINS
for d in depth_list:
fc_name = "points_{}".format(d)
fc_path = "{}\{}".format(out_fgdb,fc_name)
query = "depth = {}".format(d)
tin_path = r"{}\tin_{}".format(out_folder,d)
# CREATE A FEATURECLASS IN THE OUTPUT FGDB
arcpy.FeatureClassToFeatureClass_conversion(surv_lyr, out_fgdb, fc_name, query)
tin_def = "{} {} {}".format(fc_path, depth_field, tin_type)
# CREATE A TIN IN THE OUTPUT FOLDER
arcpy.CreateTin_3d(tin_path,
sr,
tin_def,
constrained_delaunay="DELAUNAY")
... View more
11-10-2020
01:10 PM
|
1
|
2
|
4752
|
|
POST
|
Hi, so if the Web AppBuilder is not going to be made redundant by Experience Builder then surely you are going to keep developing functionality for it so that the two have feature parity? Otherwise we are going to come to the awkward position where both apps can do a little bit of what the users need, but neither can do all of it. Unfortunately this is already a common occurrence with the templated apps.
... View more
10-11-2020
01:33 PM
|
0
|
2
|
4608
|
|
IDEA
|
Currently the only template dgn seed files that ship with ArcGIS pro are in feet: Thanks, Marc
... View more
09-21-2020
01:53 AM
|
1
|
1
|
1374
|
|
IDEA
|
Hi, Currently using Oriented Imagery Catalogs is a bit of a pain. With tools like QuickCapture now having a project template that is OIC compliant it should be much easier. I'd like to be able to configure an OIC directly in Portal or ArcGIS Online that is related to a Feature Service with attachments and is dynamic. That way as more images are captured the OIC is automatically updated and the images just appear. It seems backwards to have to ingest a feature service into an OIC in a file geodatabase and then republish this back to the portal/online. Maybe I don't really get the workflow, but it seems like hard work at the moment. Thanks, Marc
... View more
09-14-2020
07:46 PM
|
2
|
0
|
1573
|
|
POST
|
Please do. Or add it to the batch attribute editor widget. Or add the functionality of the batch attribute editor widget and the regular widget into the smart editor widget so there is one excellent editing widget that does it all. And make all the options customisable so people can choose to have a complex or basic editing workflow.
... View more
09-07-2020
01:32 AM
|
3
|
0
|
4608
|
|
IDEA
|
Currently when you create offline areas on your mobile device in collector you have to guess the extent of any previously created areas. It would be great if the map showed the extent of any areas you have downloaded from ArcGIS Online/Enterprise, as well as any that you have generated locally. This will help to prevent accidentally missing areas if you need to create multiple offline areas to cover a large study area. It would also be useful to label this area with the name to assist with identifying which offline areas are which. For example:
... View more
08-24-2020
03:16 PM
|
2
|
0
|
653
|
|
POST
|
Sorry, Just saw this: https://community.esri.com/thread/243394-how-to-remove-field-headings-in-table-frame
... View more
08-20-2020
03:14 AM
|
0
|
0
|
9715
|
|
POST
|
Hi Tom, Is it possible to hide the table column headings? Thanks, Marc
... View more
08-20-2020
03:13 AM
|
0
|
1
|
9715
|
|
POST
|
Hi, In ArcGIS Pro 2.6 it seems that you can format date data that is inserted as dynamic text using the information in this page: Format date and time dynamic text—ArcGIS Pro | Documentation however this only seems to apply to dynamic text inserted using options like the Current time or Date exported. I have a date field in my index layer that I only want to display as dd/mm/yy, but if I apply the format option it does nothing. e.g. Date Exported: <dyn type="layout" name="Base Component Layout" property="dateExported" format="short|short"/> vs <dyn type="page" property="attribute" field="rev_date"/> It isn't mentioned in this article at all: Using dynamic text with Data Driven Pages—Help | ArcGIS for Desktop It seems like it is not possible to format data attributes that are used as dynamic text. Can someone from Esri please confirm. Thanks, Marc
... View more
08-19-2020
12:18 AM
|
0
|
1
|
2491
|
|
POST
|
Hi, I am using ArcGIS Pro 2.6. I have a layer (A) with a label class with a 50 point offset, a simple black box outline with a 2 point gap and a simple black leader line. I have another layer (B) in my map that I don't want the labels or their bounding boxes to overlap. I have set the feature weight and boundary weight of layer B to 1000. However the bounding box of the labels overlaps the features. Is this not taken into account when preventing overlaps? The text does not overlap the features, so I am assuming that only the text is prevented from overlapping. Is this correct? Thanks, Marc
... View more
08-18-2020
03:59 AM
|
0
|
1
|
1444
|
|
POST
|
Hi there, We have a QC project built with user input applied to a button to capture notes. If the user skips the notes then a default value of ${userInput:001} is captured to the attribute. I just created a new user input value and it does the same thing but with a different default value: I don't think this used to happen. I'm capturing points with App version 1.6.85, using the Quickcapture web designer against a Hosted Feature Service on ArcGIS Enterprise 10.7.1 We have been able to replicate this on multiple different devices, but I'm not sure what the other user was using, or how up to date their copy of QC is. Thanks, Marc Johnathan Hasthorpe
... View more
07-29-2020
02:40 PM
|
1
|
4
|
1914
|
|
IDEA
|
Hi James Tedrick, This functionality would be extremely useful for our field data collection workflows. Regards, Marc
... View more
06-17-2020
06:20 PM
|
3
|
0
|
7341
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-19-2026 04:14 PM | |
| 1 | 09-25-2025 06:28 PM | |
| 1 | 11-17-2025 01:28 AM | |
| 2 | 01-20-2026 02:14 PM | |
| 1 | 01-20-2026 02:18 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|