|
POST
|
Hi there, I have a mesh scene layer that I want to vertically offset by 1.17m. I cannot offset by a non-integer amount. Why is this, and is there a plan to improve this? Often we have slpks that have been created in a local vertical datum that need to be offset to align with a national vertical datum, and limiting the vertical offset to integers is pretty annoying. Thanks, Marc
... View more
02-17-2021
01:28 PM
|
0
|
0
|
931
|
|
IDEA
|
Hi, Currently trying to return popups from WMS layer can fail if the WMS comes from certain sources. From Chrome console: Refused to frame 'https://data.gns.cri.nz/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' *.gns.cri.nz geotrips.org.nz *.geotrips.org.nz". From Chrome Issues: Content Security Policy of your site blocks some resources because their origin is not included in the content security policy header
The Content Security Policy (CSP) improves the security of your site by defining a list of trusted sources and instructs the browser to only execute or render resources from this list. Some resources on your site can't be accessed because their origin is not listed in the CSP.
To solve this, carefully check that all of the blocked resources listed below are trustworthy; if they are, include their sources in the content security policy of your site. You can set a policy as a HTTP header (recommended), or via an HTML <meta> tag.
:warning: Never add a source you don't trust to your site's Content Security Policy. If you don't trust the source, consider hosting resources on your own site instead.
1 directive
Resource Status Directive Source code
https://data.gns.cri.nz/ blocked frame-ancestors
Learn more: Content Security Policy - Source Allowlists If we could add the domains of those WMS layers to a list of domains that are included in CSP headers then the popups would load. This could be done: In the map settings automatically when a WMS is added to content/map Manually on a per layer setting In the organisation settings for servers that are particularly trustworthy. My preference is in the map - so you add a WMS service, and then if the popup isn't loading you can define the server in the map settings that should be allowed and then it is included in the headers when the map loads. Thanks, Marc
... View more
01-17-2021
02:00 PM
|
3
|
0
|
2670
|
|
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
|
14403
|
|
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
|
7111
|
|
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
|
7121
|
|
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
|
4888
|
|
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
|
4769
|
|
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
|
1419
|
|
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
|
1623
|
|
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
|
4769
|
|
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
|
675
|
|
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
|
10009
|
|
POST
|
Hi Tom, Is it possible to hide the table column headings? Thanks, Marc
... View more
08-20-2020
03:13 AM
|
0
|
1
|
10009
|
|
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
|
2559
|
| 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 |
Monday
|