POST
|
It looks like you have added an attribute to indicate the stress of different sections of the network. The attribute that you have used to indicate stress can be used as the impedance. In Web App Builder, select the Directions widget and configure it. Under the Route Settings configuration you can nominate your network service layer. You'll have to publish your network layer as a service first. You then nominate the stress attribute as the impedance attribute. https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-directions.htm https://desktop.arcgis.com/en/arcmap/latest/extensions/network-analyst/understanding-network-attributes.htm#GUID-ADE9DCEB-62A0-405E-AE57-A13829DE7DEC https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/publish-a-map-service-using-network-analyst-capability-using-arcgis-pro.htm Hope this helps.
... View more
10-13-2021
07:31 PM
|
0
|
1
|
1424
|
POST
|
Hello, This is not possible through the user interface of AGOL. However, it is possible to copy and paste in Collector/Field Maps, so that is an idea for a work around. I know you mentioned geometry but if attribute defaults is something you are interested in then a Feature Template can help with that. You would create the Feature Template for the relevant layer before publishing to AGOL. Otherwise it is possible to copy geometries in AGOL by using the REST API, which could be scripted up in Python. You could retrieve the geometry of a feature with a given OBJECTID, then copy it and use applyEdits on the feature service layer to add the copied feature. It could then be seen on screen in the user interface for on screen manipulation. The following can be used to give you inspiration to retrieve geometries and attributes from a feature service layer: https://developers.arcgis.com/python/guide/working-with-feature-layers-and-features/
... View more
10-12-2021
03:26 PM
|
1
|
0
|
766
|
POST
|
Hello, Is the WebContextUrl value set correctly? You will need to set this if the url you are trying to access Portal on is different from the machine name, eg if there is a CNAME or alias. https://enterprise.arcgis.com/en/portal/latest/administer/windows/using-a-reverse-proxy-server-with-portal-for-arcgis.htm
... View more
10-12-2021
03:07 PM
|
0
|
0
|
3358
|
POST
|
Hello, Esri probably doesn't advertise which cloud provider so that they are not tied down and can change/mix and match, as required. However, from my experience in monitoring AGOL traffic I have noticed that is normally AWS endpoints being called behind the scenes.
... View more
10-11-2021
08:40 PM
|
0
|
0
|
460
|
POST
|
Hello Michelle, Have you considered using the Custom Attribute Display option when creating your popup? When you are configuring your pop up, from the display drop down, select 'a custom attribute display', then Configure. This will present you with a dialog that allows you to have finer control over how your popup is formatted. You can even choose the HTML option if you want even finer control.
... View more
09-16-2021
05:36 PM
|
0
|
2
|
1834
|
POST
|
Try dropping the idp_username parameter. I don't use it and I am able to create enterprise users.
... View more
09-16-2021
04:31 PM
|
0
|
0
|
1226
|
POST
|
Hi, I've had success creating enterprise users with the following at 10.8.1: target_user = target_portal.users.create(source_user.username, password, first_name, last_name, source_user.email, source_user.description, provider=\"enterprise\", level=int(source_user.level), role=user_role)
... View more
09-16-2021
12:55 AM
|
0
|
0
|
1257
|
POST
|
Hi David, You might want to try Data Expressions: https://doc.arcgis.com/en/dashboards/get-started/create-data-expressions.htm You could utilise the Distinct Arcade function in a data expression: https://developers.arcgis.com/arcade/function-reference/data_functions/#distinct
... View more
09-13-2021
08:09 PM
|
0
|
0
|
459
|
POST
|
Hi Sunita, I'm assuming that you have a field that contains urls to your documents or images. One possibility would be to work out which records do not have documents and images and then create a web page with your custom message that can be displayed for them instead. It is not easy to do this 'on the fly' as the detecting a 404 is an asynchronous activity, which is hard to detect with things like Arcade expressions. So, this is something you will likely have to pre-calculate. You could use the method I suggested earlier and create a custom web page for 'empty' document/image records. You would then place that custom web page in the folder with the appropriate id in its name so that the link will pick it up (hence no 404). Alternatively, there may be a way to tell which records do not have associated documents/images from values in other attributes? If so, you could potentially use some Arcade to call your custom web page instead of a dead link.
... View more
09-13-2021
04:48 PM
|
0
|
1
|
486
|
POST
|
Hello Samantha, You can get around the monotony of having to set each tool option by creating a Task in Pro: https://pro.arcgis.com/en/pro-app/latest/help/tasks/design-a-task.htm Tasks allow you to sew together a workflow of steps and even allow you to preset parameter options on tools, which would help you.
... View more
09-12-2021
10:44 PM
|
0
|
1
|
2110
|
POST
|
I did come across this bit of code, which may help: import arcpy
import math
def scale_geom(geom, scale, reference=None):
"""Returns geom scaled to scale %"""
if geom is None: return None
if reference is None:
# we'll use the centroid if no reference point is given
reference = geom.centroid
refgeom = arcpy.PointGeometry(reference)
newparts = []
for pind in range(geom.partCount):
part = geom.getPart(pind)
newpart = []
for ptind in range(part.count):
apnt = part.getObject(ptind)
if apnt is None:
# polygon boundaries and holes are all returned in the same part.
# A null point separates each ring, so just pass it on to
# preserve the holes.
newpart.append(apnt)
continue
bdist = refgeom.distanceTo(apnt)
bpnt = arcpy.Point(reference.X + bdist, reference.Y)
adist = refgeom.distanceTo(bpnt)
cdist = arcpy.PointGeometry(apnt).distanceTo(bpnt)
# Law of Cosines, angle of C given lengths of a, b and c
angle = math.acos((adist**2 + bdist**2 - cdist**2) / (2 * adist * bdist))
scaledist = bdist * scale
# If the point is below the reference point then our angle
# is actually negative
if apnt.Y < reference.Y: angle = angle * -1
# Create a new point that is scaledist from the origin
# along the x axis. Rotate that point the same amount
# as the original then translate it to the reference point
scalex = scaledist * math.cos(angle) + reference.X
scaley = scaledist * math.sin(angle) + reference.Y
newpart.append(arcpy.Point(scalex, scaley))
newparts.append(newpart)
return arcpy.Geometry(geom.type, arcpy.Array(newparts), geom.spatialReference) You can call it with a geometry object, a scale factor (1 = same size, 0.5 = half size, 5 = 5 times as large, etc.), and an optional reference point: scale_geom(some_geom, 1.5) Referenced from here: https://gis.stackexchange.com/questions/169694/is-there-arcpy-tool-for-polygon-resizing-like-scale-tool-of-advanced-editing-too
... View more
09-12-2021
04:54 PM
|
3
|
1
|
2863
|
POST
|
I don't believe this functionality is available for Feature services, just Map Image and Image services. Feature services, unlike Map Image services, send geometries over to the client for rendering. This lends the default symbology to be overridden by the client. This might be why the REST api doesn't place importance on the default legend.
... View more
09-09-2021
05:31 PM
|
2
|
0
|
588
|
POST
|
Hello, The configuration of SAML is done through the following options: 1. Using the IDP metadata url 2. Using a metadata file 3. Using parameters The first 2 options should automatically import the correct certificate key. Sometimes that certificate is out of date or wrong, so you can manually update it by editing the SAML configuration. The last option will allow you to specify the certificate key directly. In my experience it is much easier (and foolproof) to use an IDP metadata url or file, as this will automatically populate everything for you. Once you the identity provider metadata is downloaded you will then need to create the service provider metadata file and give that back to IT so they can configure the trust relationship on the IDP.
... View more
09-09-2021
05:19 PM
|
0
|
1
|
1511
|
POST
|
Yes, my understanding is that you would include features for each custom symbol that you wanted to host. This is supported by what it says in step 7: Click the Hosted folder and then click the name of the service published as a feature layer. Under Layers, click the first layer. Under Drawing Info, right-click each symbol and save to the virtual directory created on the web server. Repeat steps e and f for any additional layers. The reliance on the hosted feature service is removed once you download the symbols and host them on a web server. Unfortunately, I do not know who the author of this article is but if you get really stuck you can contact Esri support and they should be able to clarify any points for you.
... View more
09-09-2021
05:04 PM
|
0
|
0
|
1990
|
POST
|
I am unsure why the tool behaves in that way. It might be worth raising a support ticket to see if there something that can be done. I cant' think of any other OOTB tools that can help you with your problem. You could probably code something up in Python to do the job though.
... View more
09-09-2021
04:28 PM
|
0
|
3
|
2893
|
Title | Kudos | Posted |
---|---|---|
1 | 10-12-2021 03:26 PM | |
3 | 09-09-2021 04:19 PM | |
3 | 09-12-2021 04:54 PM | |
1 | 09-08-2021 09:42 PM | |
2 | 09-09-2021 05:31 PM |
Online Status |
Offline
|
Date Last Visited |
01-27-2022
03:29 PM
|