POST
|
Hi David, I will look into it. I need to do more testing as to what is actually hanging. I was trying to figure out what syntax to use for IWA authentication. Apparently, you just need the server URL to make a GIS object. It may have been that it was hanging when I passed in credentials to the server which is configured to use IWA. I will confirm. I did find out that when I used the correct parameters for IWA authentication, it wasn't actually hanging. Instead, it was taking about 5 minutes 50 seconds to complete the list method. I paused the code and after about 10 seconds, the IDE would eventually pause in some code that was making a connection to the server. I did figure out that the part that was hanging was when the list method was building a ServiceDirectory object for the server, which was in turn trying to connect to the server. It definitely was very quick on the old server and it was very slow on the new one. Eventually, it does complete and gives a list of one server object.
... View more
02-06-2024
09:26 AM
|
0
|
1
|
338
|
POST
|
I'm migrating a Python script that starts and stops services from ArcGIS Enterprise 10.6.1 to 10.9.1. In the ArcGIS API for Python, the function gis.admin.servers.list hangs now. If you enter gis.admin.servers.__dict__, there is an attribute _server_list that is None. Through the portal admin API, I can see our one server as being federated with the portal. I did not setup the server so I don't know all the details of how it was set up. I'm just wondering if anyone knows what direction to go.
... View more
01-29-2024
10:52 AM
|
0
|
5
|
443
|
IDEA
|
This idea is the product of struggling with defining line symbology using ArcGIS Pro 2.9.6 and ArcGIS Enterprise 10.6.1. The challenge was the inconsistency of display and the unintuitive experience I went through to figure it out. If these issues have been fixed in newer versions, I would happy to hear that. Below are the findings of my investigation and my recommendations. In the ArcGIS Pro symbology editor, the pulldown menu for dash type is as follows: I would qualitatively characterize the second to fourth line types as short dash, long dash, and dot. You might also think of the short dash as a dash. However, when you actually select the symbols and they are displayed on the map, the dashes get lengthened. The dot becomes a short dash; the short dash becomes a long dash; and the long dash becomes a very long dash. See below: When you publish the map to ArcGIS Server as a dynamic map service, the actual symbology displayed in ArcGIS Pro is served up when you request map images. However, all three line types that use a dash effect above get mapped to esriSLSDash when you look at the layer renderer in the REST API. Therefore, if you add the layers individually as feature layers to the Map Viewer, they all look like shorter dashes. I realized I had to edit the symbology in the Map Viewer to be able to get different line types again. I did it using the web interface and editing the JSON. I learned that esriSLSDash, esriSLSShortDash, and esriSLSLongDash all display as a shorter dash. Maybe that is a JavaScript 3.X API thing. At least, I accepted that for what it is. So, my options were down to esriSLSDash and esriSLSDot. I didn't want something as inconspicuous as a dotted line but I needed two different line types and those were my only options. I was not interested in any other mixture of dashes and dots. It would have been nice if the dash type pulldown menu actually matched what you got on the map. Then, it would have been nice if the different dash effects were mapped to the right ArcGIS Server line types. I can see how there are an infinite number of dash templates that can be entered manually, but could you at least map the ones that match up with the pulldown menu to the right line types in ArcGIS Server or use some logic.
... View more
10-27-2023
12:17 PM
|
1
|
2
|
523
|
POST
|
My suspicion is that Esri changed something in ArcGIS Online. My workaround was to densify the features less before publishing. This probably needs a support ticket.
... View more
10-20-2023
03:07 PM
|
0
|
2
|
1260
|
POST
|
The issue was that I did not configure the defaultTitle attribute in the widget configuration. In the titleNode in templates/Print.html there is a validation rule that says the field is required. If I remove that requirement, the form validates and printing works just fine. Similarly, entering a value for that attribute will allow the form to validate.
... View more
10-18-2023
03:22 PM
|
0
|
0
|
462
|
POST
|
Using the methods setMaxAllowableOffset or setAutoGeneralize did the trick. The selected features update now on scale changes towards the end of the redraw. You can see them move from where they were before to where they should be. The performance hit was not significant.
... View more
10-11-2023
02:01 PM
|
1
|
0
|
866
|
POST
|
Thanks Rene! I'm actually querying the features directly from the server to load them into the graphics layer without any generalization. If I stopped generalizing the feature layer, that might not be necessary though. The main problem seems to be that the selected features in the feature layer don't update on scale changes like they do when there is no selection. Do you understand why that happens? My main concern with the solution you provided is that when have a large flow trace, the selections can take a long time to perform so it would be slow if you had to redo them every time you changed scale. I will delve into the generalization settings on the feature layer, see if I can get them to work, and see what the performance impact is.
... View more
10-11-2023
01:34 PM
|
0
|
0
|
868
|
POST
|
Hi David, What we're doing is a bit complicated, but we're doing it for the sake of better symbology. In that complication may lie the problem. We have a feature layer and we set the selection symbol to a null symbol. We then have an event handler that copies the selected features to two graphics layers. One graphics layer uses the same renderer and scale dependencies as the parent layer. It basically draws the selected features exactly as they are normally. The second graphics layer is a highlight layer and is always visible. It lets us see the selection at all scales. That's important when we do flow traces across our system. What is happening is that the graphics layers work as designed, but the selected feature in the feature layer appears to be generalized. We sometimes make selections when zoomed out using various widgets. Then, when we zoom in, the selected feature is not where it is supposed to be. For point features, the location is off. For line features, the vertices are off. It's almost like the coordinates are imprecise when zoomed out but good enough for that zoom level. Then, when we zoom in, they are not adequate. The end result is that the features we selected are invisible per the design and not where they are supposed to be. So, if you click on the graphics layers which are at the correct location, you can't get a popup. You have to go hunt for the invisible point or line feature to get the popup. Since the graphics layers are correct, you would never think to click off in space randomly. My intuition says that when you select the features, the implementation of the selected features in the JavaScript 3.X API is such that the graphic for the selected feature is static and does not get updated each time the zoom level changes. Normally, the feature layer keeps requerying the features at each zoom level and generalizes them adequately for each zoom level. It's like the requerying gets shut off while the feature is selected. I think it's either in the design of the JavaScript API or because I'm using null symbology. I tried reading the API code but I haven't found where generalization occurs. I've just found mentions of the feature layer mode. In the 4.X API, you can just set a selection renderer, which is what I would like to have. Still, I think it has more do with how selected features are symbolized than my graphics layers. Thanks David! Hi @ReneRubalcava3, do you have any thoughts on this issue?
... View more
10-11-2023
10:18 AM
|
0
|
2
|
876
|
POST
|
I have a situation where I have one module that returns features queried from ArcGIS Server and another module that expects features like those that come directly from a map layer. The ones from the map layer have a lot more attributes like _layer. I need to modify the first module to return features like the second module. What's the best way to do that?
... View more
10-10-2023
01:25 PM
|
0
|
1
|
354
|
POST
|
Would anybody have an explanation of how generalization works in the JavaScript 3.X API? Is the feature's actual geometry stored on the client and/or is the generalized geometry stored on the client? Where does the generalization occur? Does it happen on the server? Is the generalized geometry requeried at every zoom level? If you have a selection, do the selected features get requeried at every zoom level. We're having an issue with selected features being less precise if you select them and zoom in. They appear generalized. It's like selected features don't refresh the same way that unselected features do. Thanks, Nathan
... View more
10-10-2023
12:56 PM
|
0
|
5
|
961
|
POST
|
I just configured the Print widget in our Web AppBuilder app and the print button does not work. After some initial troubleshooting, it looks like the printSettingsFormDijit does not validate in the print method. I also found that the same app works just fine in Edge. Does anybody have any experience with this issue?
... View more
10-03-2023
02:30 PM
|
0
|
2
|
566
|
IDEA
|
Similar to how you can define Arcade expressions to indicate if a field should be visible or is required, I would like to see something that validates input and indicates if the input is invalid. Maybe it could return a boolean indicating good or bad. Maybe it could return the codes 0, 1, or 2 meaning, good, warning, or not acceptable. I was thinking of geoprocessing tools in the second case and how inputs are validated.
... View more
08-30-2023
06:23 PM
|
3
|
0
|
368
|
POST
|
I published a hosted feature service the other day in ArcGIS Online and it published true curves or at least an approximation of true curves. Thereafter, I published some additional hosted feature services based on the same source data but with some features copied to new layers. I just noticed that true curves are displayed as chords. In the same map based on the same source data, I have one service with what looks like true curves and one with chords. How did I get here? I did some searching but it seems to indicate that AGOL converts converts true curves to straight line approximations. Still, I don't see why the same map would publish differently on two different days. I can't find any settings related to this on the services or in the publishing tools. Please help. I at least need something that looks like a circular arc. I did try densifying the features, but then they wouldn't publish. Thanks, Nathan
... View more
08-30-2023
01:37 PM
|
2
|
5
|
1453
|
POST
|
Hi Kerri, We have two vendors deploying flow meters. We have two types of flow monitoring locations. First, we have manholes where we measure depth only in the middle of the manhole. Second, we have flow meters installed in pipes at manholes. The location is really a combination of a pipe and a manhole. My question is just one part of the whole problem. Before they go out in the field, we know the pipes and manholes where we want them to monitor. Depending on field conditions, they may need to deploy the meter at a different location. One purpose of the field map is to provide data on the sewer system through popups. Another purpose is to ensure the flow meters are deployed where they are supposed to. That could be a read-only activity if it weren't for the fact that sometimes the meters have to be moved. So, we need to record the locations where the meters were deployed and we would like to always record the GPS coordinates if possible. The problem is that they aren't so accurate that you can identify the manhole accurately just from the coordinates, but we wanted the data as a backup just in case there were any questions. I'm working on the app right now and snapping to the manhole works well. I can even pull the manhole attributes using Arcade once snapped. However, it would be nice if I could also log the GPS coordinates at the same time. This is a softer requirement. The next requirement is to pick the pipe connected to the manhole. I should stop and say that the idea is that the map shows the proposed pipes and manholes and the actual pipes and manholes on top of them. That way we can track progress in the field and in a dashboard. So, I looked into contingent values and that seemed like a no go for 30,000 manhole pipe combinations. It would be great if I could use the manhole to query the connected pipes and create a pick list out of them. I would be so happy. Without that, it seems like I would have to use Survey123, which seems like too much complexity, or labels and manual data entry. The last requirement is to display the pipe diameter from GIS and enter the field measured pipe diameter to do additional verification of the monitoring location and the field measurements. The whole thing was an idea I had after we had about 10% issues the last time we did this with 100 sites. Now, we are doing 600 sites. So, I am trying to make a workflow that isn't too complicated but accomplishes the goal of producing good data. Everything we're trying to do is based on a lesson from the last time around. In summary, we want to identify the manhole where the meter is deployed, the pipe where the meter is deployed, capture the actual GPS coordinates of the user even if they are approximate, and record the pipe diameter measured in the field. Secondarily, we want to provide the sewer system as a reference in locating the proposed deployment locations or finding better ones. I'm trying to make this concept of picking the manhole and pipe as simple as possible. Snapping to the manhole works well but I can't find a way to pick a pipe. Maybe setup relationships and enter the measured diameter on the related pipe? Thanks Kerri!
... View more
08-25-2023
10:15 AM
|
0
|
1
|
570
|
POST
|
It looks like contingent values are supported in ArcGIS Online and Field Maps. If so, what is the maximum number of contingent values you can load onto a layer? For example, can you create 60,000 contingent value entries?
... View more
08-23-2023
10:29 PM
|
1
|
1
|
386
|
Title | Kudos | Posted |
---|---|---|
2 | 03-04-2022 01:16 PM | |
1 | 04-10-2024 05:21 PM | |
1 | 08-23-2023 10:29 PM | |
1 | 03-03-2024 05:08 PM | |
1 | 11-04-2021 05:12 PM |
Online Status |
Offline
|
Date Last Visited |
08-23-2024
01:44 AM
|