|
POST
|
Thanks for your reply. I just included the relevant parts of my code, not the whole thing, so those variables are defined elsewhere. The code runs without error. Thanks!
... View more
06-12-2024
03:01 PM
|
0
|
3
|
1262
|
|
POST
|
Hello! I've having trouble setting the correct parameters to return a route that follows the shape of my network. In the screenshot below, the thin grey lines are my road network, the green line is the shape that's generated when I solve for a route using the ArcGIS Pro tools and the purple line is the shape that's returned when I solve for the same route using the Network Analyst python module. The relevant parts of my code are below. Almost all the parameters are left default, except that I've set the travel mode to "Walking" (I've tried different travel modes, they all return a funky line) and I've made sure to set the route shape type to "True Shape". arcpy.nax.MakeNetworkDatasetLayer(oc_network_dataset, nd_layer_name)
nd_travel_modes = arcpy.nax.GetTravelModes(nd_layer_name)
travel_mode = nd_travel_modes["Walking"]
route = arcpy.nax.Route(nd_layer_name)
route.travelMode = travel_mode
route.routeShapeType = arcpy.nax.RouteShapeType.TrueShape
stopsCur = route.insertCursor(arcpy.nax.RouteInputDataType.Stops, ["Name", "SHAPE@"], append = False)
....
stopsCur.insertRow([on_from, row2[1]])
....
stopsCur.insertRow([on_from, row3[1]])
result = route.solve()
if result.solveSucceeded:
with result.searchCursor(arcpy.nax.RouteOutputDataType.Routes, ["SHAPE@"]) as resultCursor:
for r in resultCursor:
insertCursor.insertRow('Routed from UL Intersection points', r[0])) Is there a parameter on the Route that I'm missing? Or am I not handling the results correctly? Thank you! Jill
... View more
06-11-2024
08:45 AM
|
0
|
2
|
959
|
|
POST
|
Hello! I've having trouble setting the correct parameters to return a route that follows the shape of my network. In the screenshot below, the thin grey lines are my road network, the green line is the shape that's generated when I solve for a route using the ArcGIS Pro tools and the purple line is the shape that's returned when I solve for the same route using the Network Analyst python module. The relevant parts of my code are below. Almost all the parameters are left default, except that I've set the travel mode to "Walking" (I've tried different travel modes, they all return a funky line) and I've made sure to set the route shape type to "True Shape". arcpy.nax.MakeNetworkDatasetLayer(oc_network_dataset, nd_layer_name)
nd_travel_modes = arcpy.nax.GetTravelModes(nd_layer_name)
travel_mode = nd_travel_modes["Walking"]
route = arcpy.nax.Route(nd_layer_name)
route.travelMode = travel_mode
route.routeShapeType = arcpy.nax.RouteShapeType.TrueShape
stopsCur = route.insertCursor(arcpy.nax.RouteInputDataType.Stops, ["Name", "SHAPE@"], append = False)
....
stopsCur.insertRow([on_from, row2[1]])
....
stopsCur.insertRow([on_from, row3[1]])
result = route.solve()
if result.solveSucceeded:
with result.searchCursor(arcpy.nax.RouteOutputDataType.Routes, ["SHAPE@"]) as resultCursor:
for r in resultCursor:
insertCursor.insertRow('Routed from UL Intersection points', r[0])) Is there a parameter on the Route that I'm missing? Or am I not handling the results correctly? Thank you! Jill
... View more
06-06-2024
11:29 AM
|
0
|
5
|
1329
|
|
POST
|
That works! It's not exactly the layout I want but I'll find a way to work around that. I think there should be the option to scroll any type of content if the window becomes too small. I'm not sure most users would know that content has to be formatted into a column. Thank you!
... View more
05-06-2024
07:34 AM
|
1
|
0
|
2455
|
|
POST
|
Hi, Thanks for the reply! This works for a single text box but I have a bunch of text boxes and images absolutely positioned in my About widget. I tried your idea by placing the text and images in a Fixed Panel with a small height but it doesn't add a scroll bar in the same way. Surely somebody else has dealt with this?? Jill
... View more
05-03-2024
10:27 AM
|
0
|
2
|
2495
|
|
POST
|
Hello! Can someone point me in the right direction for adding a scroll bar to my About widget? I've got an About widget with a fair amount of content. Everything is visible on a large screen but as the screen gets smaller the content just gets cut off. On mobile, I only see about a third of the content with no ability to view the rest. I know I can expand the widget but it's still not big enough. I would assume there's a way to enable a scroll bar for the overflow but I can't seem to locate it. Thanks!
... View more
05-01-2024
11:44 AM
|
0
|
4
|
2543
|
|
POST
|
My suspicion is that the reason that this layer doesn't work is because it is based on a Query Layer. That wasn't obvious from the REST endpoint but I can see that in the source document. Other sub layers within that service that are based on Feature Classes do not exhibit the same behavior.
... View more
04-30-2024
03:28 PM
|
0
|
1
|
1507
|
|
POST
|
Hi @jcarlson , Thanks for the reply. I thought about the service capabilities but nothing stood out to me (screen shots below). I am the publisher of the service so I can tweak it as needed. I can make a simple chart based on feature values but I can't make one based on group values. So, I do think it has something to do with aggregating the values. Jill
... View more
04-29-2024
09:08 AM
|
0
|
0
|
1519
|
|
POST
|
Hi, Thanks for your reply. The service is unsecured. It can be viewed by anyone inside the network. The Dashboard has no trouble reading the service into a table but it can't load it into an indicator.
... View more
04-26-2024
02:13 PM
|
0
|
2
|
1617
|
|
POST
|
Hi, You could create a Data Expression that aggregates data from several services. You would need to set a refresh interval to make it "live" https://doc.arcgis.com/en/dashboards/latest/get-started/create-data-expressions.htm Jill
... View more
04-26-2024
02:10 PM
|
1
|
1
|
904
|
|
POST
|
Hi, I can't think of a way to do this with simple Actions and Filters. You could create a data expression that includes a record for each day. This would not require you to actually create extra records in your data but depending on the amount of records it can really slow your dashboard down. Jill
... View more
04-26-2024
02:07 PM
|
0
|
0
|
484
|
|
POST
|
Hello! I have a standalone ArcGIS Server service, added to an ArcGIS Online Web Map. In my Dashboard, I can view this layer in the map widget or use it as the source of a table or chart. However, when I try to use it as source of an Indicator, I get a "Cannot access data" error. You can see in the sample data table that the data is accessible but that "Loading data" indicator just continues to spin. I'm not having the same issue with other layers on that server. Any ideas? Thanks! Jill
... View more
04-26-2024
01:54 PM
|
0
|
7
|
1655
|
|
POST
|
Hi there @chapmunnhsc , I cobbled something together and posted it here - Custom Widget Output Datasource Not sure if it's the most elegant solution but I'm relieved to have something working after months of frustration!
... View more
03-07-2024
11:25 AM
|
1
|
2
|
2857
|
|
POST
|
Set the source of your embedded content widget to your Bike Pathways layer with the URL property set to the field that contains the link. On the properties page for your Map widget, on the "Layer actions" tab, turn on the "Select feature" option under the "When map is clicked" heading. Then under the "Layer actions" for your Bike Pathways layer, configure a filter action on the embedded content widget when the selection changes. That seems to work for me.
... View more
02-27-2024
11:29 AM
|
0
|
0
|
1617
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-21-2023 11:03 AM | |
| 1 | 08-22-2024 12:12 PM | |
| 1 | 06-17-2022 08:38 AM | |
| 2 | 05-23-2023 07:45 AM | |
| 1 | 01-29-2025 11:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-22-2025
12:28 PM
|