|
POST
|
The relative path worked fine once I declared it as a raw string. Thanks!
... View more
07-29-2024
09:37 AM
|
0
|
0
|
3255
|
|
POST
|
Hi, Could you duplicate this layer, turn labels on for the second layer and then experiment with map level clipping or some kind of masking? I set up the following in the Map Properties to clip the features of the duplicated label layer to the extent of a feature in my Townships layer. It looks like this on the map - What I don't know if it's dynamic enough to update as you move through a map series. Jill
... View more
07-29-2024
09:34 AM
|
0
|
0
|
1722
|
|
POST
|
I never did solve this problem but changed my workflow. My original script looped through records, parsing a text field into two addresses, geocoding the addresses and then generating a route between them. The output was a polyline feature class of the routes. What I ended up doing is modifying the script to output the addresses as points. I then import those into my route layer as stops and execute all of the routes at once using the Pro tools. All of the routes produced by this workflow follow the true shape of the road network. This works for my purposes. If it comes up again and I can't work around it I will reach out to Support. Thanks!
... View more
06-21-2024
12:04 PM
|
0
|
0
|
1905
|
|
POST
|
@MelindaMorang, thank you for your detailed reply! I went through all of your suggestions and was still not able to identify the issue. My original script looped through records, parsing a text field into two addresses, geocoding the addresses and then generating a route between them. The output was a polyline feature class of the routes. What I ended up doing is modifying the script to output the addresses as points. I then import those into my route layer as stops and execute all of the routes at once using the Pro tools. All of the routes produced by this workflow follow the true shape of the road network. This works for my purposes. If it comes up again and I can't work around it I will reach out to Support. Thanks again!
... View more
06-21-2024
12:02 PM
|
0
|
0
|
1395
|
|
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
|
1953
|
|
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
|
1521
|
|
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
|
2020
|
|
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
|
3860
|
|
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
|
3900
|
|
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
|
3948
|
|
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
|
2650
|
|
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
|
2662
|
|
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
|
2760
|
|
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
|
1374
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2018 10:05 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|