Unable to consume ArcGIS Rest services MapService with active contour lines layer in Geocortex?
I currently can see the mapservice in the ArcGIS/REST Services Directory and am also able to view it in ArcGIS JavaScript with contour lines visible. When I bring the Map Service into Geocortex the hole Map Service is not viewable. Once I remove the contour lines from the map service then I can view the remaining active layers.
Any Thoughts?
0
-
I am having similar issues where an entire map service is not shown but if I turn off one layer (or more) in the viewer then the mapservice displays.
Based on watching the network traffic in the Developer Console in Firefox the viewer is performing a query using the map extent against every layer in the service:
For example
http://geo.rdc.govt.nz/arcgis/rest/services/Assets/WaterSupply/MapServer/8/query?f=json&returnIdsOnly=true&returnCountOnly=true&where=1%3D1&returnGeometry=false&spatialRel=esriSpatialRelIntersects&geometry=%7B%22rings%22%3A%5B%5B%5B19616856.920241833%2C-4597001.513480182%5D%2C%5B19616856.920241833%2C-4596900.4434252335%5D%2C%5B19617175.80596911%2C-4596900.4434252335%5D%2C%5B19617175.80596911%2C-4597001.513480182%5D%2C%5B19616856.920241833%2C-4597001.513480182%5D%5D%5D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%7D%7D&geometryType=esriGeometryPolygon&inSR=102100&outSR=102100.
It would be interesting to get some feedback from Latitude regarding this situation and what relationship there is between rendering the image that is fetched using an export request and the query request.
Regards
Ralph0 -
How long are you waiting for it to display? Seriously. Contours can be a huge processing burden on the map server and tend to take longer to get back from the server and render in the browser than other layers. I'm assuming that you have made your service scale-dependent and only allow it to draw when zoomed in? If not, that's where I'd start.
I ultimately turned my contour layer into a cached layer (from it being a dynamic layer). The performance gain was like night and day. And FWIW, our city has a decent amount of elevation relief so our contour layer can be dense in places. As a bonus I could then engage the Maplex labeling engine in ArcMap and use the contour labeling feature to, where feasible, "ladder" the labels instead of having them randomly placed along the index contours. Much nicer looking!0
Please sign in to leave a comment.
Comments
2 comments