Layer is on, but not being drawn
Today I was alerted to the fact in each of the three sites that include the County Official Plan, the OP does not draw on the map when it is turned on. Only its labels are drawn. The layer is inside the Planning group of the layer list, and is named County Official Plan, and it is turned off by default. The site is at http://bit.ly/planthebruce
In the layer list the Zoning is visible by default but the OP should draw on top when activated. When the zoning is turned off, the OP is still not visible. How can I correct this problem?
Thanks,
Justin
-
It does not render in Manager, either, when turned on there. This is all new today. 0 -
Hi Justin , 0 -
Some of the layers were visible after a delay.Have you checked the ArcGIS Server logs? That service has a lot going on and may be crashing/timing out. It did work better in ArcGIS Online, though. 0 -
Thank you, Dan. By "some of the layers" please clarify. For me, all layers that should display come up at first, including the Zoning. Is that what you meant? When turning on the County Official Plan, just the labels for it appear on top of the other layers that were already visible. Did you mean that the OP layer appears after a delay? It's been about 5 minutes since I turned it on now and still no OP, so I just want to confirm what you meant. 0 -
I turned on the group "A" and the labels came on immediately, then some other features came on after a delay. You can use the browser developer tools to check how long the requests to that service take and/or use ArcGIS Server Statistics to look for timeouts and average response time. 0 -
There are no errors or cautions in Manager. I just now noticed in the map service in the AGOL viewer that none of the County OP sublayers are turned on in the service, yet the Schedule A and B and C are checked on. So I am going to republish the service with the Schedule A and Schedule C sublayers turned on because that's how they are as the site is configured. I realize that does not matter, but a republishing is worth trying regardless, as you suggested. 0 -
AGS statistics show 242 timeouts in last 24 hours, but that's on the whole site. Highest max response time was yesterday at 447.93 seconds. The average that day was 0.8 seconds. I am unable to pare down to a service because it will show only Site (Root) data, as the folder service checkboxes are non-responsive. Is that normal or can it be changed? I found nothing helpful in the AGS help in that regard. 0 -
I'm able to turn on individual layers in AGS Statistics, not just Site (Root)... 0 -
Justin, this is probably silly but did you try rebooting your ArcGIS Server box? I sometimes see map services timing out or have long waits- sometimes you will see either AGS itself or one of the map service processes consuming huge amounts of resources. 0 -
I've never had that issue, although sometimes the service graph can be hidden under the Site graph when they are identical. I would try to uncheck the Site box after checking the service box. But if that isn't the case, that is not normal and you may want to contact ESRI support. 0 -
@Dan, what did you have to do to see the invalid layer id errors? In using the site now, I've not seen any after turning layers on and off and a parcel query. I did reassign a bunch of layer ids a few hours ago after they changed when I rearranged the layer order in the MXD before republishing. The errors went away after I finished that, so perhaps that's when you were looking.
Justin
0 -
The viewer log and the browser developer tools both show the invalid layer ID error. This was just a few minutes ago. 0 -
Hi Justin, 0 -
it's just coming back after the reboot... 0 -
Hi,
0 -
@Mike, indeed it is! 0 -
Sadly the reboot fix didn't last long. The OP is once again failing to draw. As was true before (though I didn't mention this detail) I am able to identify from the layer despite it being invisible. 0 -
Dan I can see the invalid layer IDs where you indicated. Closer to the top of the list there I found the error about TermsOfUse.js not being found. I corrected that problem just now. ANd the County OP loaded right away afterward. But after reloading the page, the layer once again did not appear 0 -
I was able to stop the invalid ID warnings on two other sites by removing the LCOGShowScale references from years ago. Same changes made to this site, however the error persists. I think there must be some other customization to undo so will keep looking. 0 -
Another of the errors in Developer tools that's been there through the life of this thread is: 0 -
as an update to my previous message, by removing the overview, that error goes away, but nothing else improved. So apparently the overview was not at fault. 0 -
Why are you using a cache for Overview? I would just replace with very simple dynamic service... This service is also not a fused cache - any particular reason for that (since it defeats the whole purpose of caching...)? Since this is the same spatial reference as other cached services, I would assume this is what is probably causing that error. 0 -
Mike, where are you seeing that the overview is cached? In Manager it looks like this and always has: 0 -
Sorry, was too quick - REST endpoint said "Supports Dynamic Layers: False" and I read that not as Dynamic Workspaces, but rather Dynamic Service. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
24 Kommentare