AnsweredAssumed Answered

Invalid renderer JSON in Runtime geodatabase

Question asked by mikedmanak on Jul 3, 2019
Latest reply on Jul 8, 2019 by mikedmanak

Our ArcGIS Servers (10.6.1) seem to have started producing invalid runtime .geodatabase exports at some point in the last few days.

 

It looks like the runtime databases no longer contain valid JSON for unique value renderers.  Whereas the JSON in the runtime gdb would previously looked like this:

 

{"drawingInfo":{"renderer":{"type":"uniqueValue","field1":"TestPass","field2":null,"field3":null,"defaultSymbol":null,"defaultLabel":null,"uniqueValueInfos":[{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372},"markerGraphics":[{"type":"CIMMarkerGraphic","geometry":{"rings":[[[11.89,1.51],[13.42,1.97],[16.03,3.69],[17.78,6.24],[18.25,7.75],[18.41,9.35],[18.25,10.95],[17.78,12.45],[16.03,15.02],[13.42,16.73],[11.89,17.2],[10.25,17.35],[8.61,17.2],[7.07,16.73],[5.69,16.0],[4.49,15.02],[2.75,12.45],[2.47,11.71],[2.27,10.95],[2.11,9.35],[2.27,7.75],[2.75,6.24],[4.49,3.69],[5.07,3.17],[5.69,2.71],[7.07,1.97],[8.61,1.51],[10.25,1.35],[11.89,1.51]]],"spatialReference":{"wkid":null}},"symbol":{"type":"CIMPolygonSymbol","symbolLayers":[{"type":"CIMFill","enable":true,"colorLocked":true,"pattern":{"type":"CIMSolidPattern","color":[0,197,255,255]}}]}}]}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_84"},"value":"Not Tested","label":"Not Tested","description":""},{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372},"markerGraphics":[{"type":"CIMMarkerGraphic","geometry":{"rings":[[[11.89,1.51],[13.42,1.97],[16.03,3.69],[17.78,6.24],[18.25,7.75],[18.41,9.35],[18.25,10.95],[17.78,12.45],[16.03,15.02],[13.42,16.73],[11.89,17.2],[10.25,17.35],[8.61,17.2],[7.07,16.73],[5.69,16.0],[4.49,15.02],[2.75,12.45],[2.47,11.71],[2.27,10.95],[2.11,9.35],[2.27,7.75],[2.75,6.24],[4.49,3.69],[5.07,3.17],[5.69,2.71],[7.07,1.97],[8.61,1.51],[10.25,1.35],[11.89,1.51]]],"spatialReference":{"wkid":null}},"symbol":{"type":"CIMPolygonSymbol","symbolLayers":[{"type":"CIMFill","enable":true,"colorLocked":true,"pattern":{"type":"CIMSolidPattern","color":[85,255,0,255]}}]}}]}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_85"},"value":"Pass","label":"Pass","description":""},{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372},"markerGraphics":[{"type":"CIMMarkerGraphic","geometry":{"rings":[[[11.89,1.51],[13.42,1.97],[16.03,3.69],[17.78,6.24],[18.25,7.75],[18.41,9.35],[18.25,10.95],[17.78,12.45],[16.03,15.02],[13.42,16.73],[11.89,17.2],[10.25,17.35],[8.61,17.2],[7.07,16.73],[5.69,16.0],[4.49,15.02],[2.75,12.45],[2.47,11.71],[2.27,10.95],[2.11,9.35],[2.27,7.75],[2.75,6.24],[4.49,3.69],[5.07,3.17],[5.69,2.71],[7.07,1.97],[8.61,1.51],[10.25,1.35],[11.89,1.51]]],"spatialReference":{"wkid":null}},"symbol":{"type":"CIMPolygonSymbol","symbolLayers":[{"type":"CIMFill","enable":true,"colorLocked":true,"pattern":{"type":"CIMSolidPattern","color":[255,0,0,255]}}]}}]}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_86"},"value":"Fail","label":"Fail","description":""}],"fieldDelimiter":","},"transparency":0,"labelingInfo":null}}

 

It now looks like this:

{"drawingInfo":{"renderer":{"type":"uniqueValue","field1":"TestPass","field2":null,"field3":null,"defaultSymbol":null,"defaultLabel":null,"uniqueValueInfos":[{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372}}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_84"},"value":"Not Tested","label":"Not Tested","description":""},{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372}}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_85"},"value":"Pass","label":"Pass","description":""},{"symbol":{"type":"CIMSymbolReference","symbol":{"type":"CIMPointSymbol","symbolLayers":[{"type":"CIMVectorMarker","enable":true,"colorLocked":true,"anchorPoint":{"x":0.00899999999999999932,"y":0},"anchorPointUnits":"Points","scaleStrokesAndFills":true,"size":14,"dominantSizeAxis3D":"Z","frame":{"xmin":0,"ymin":0,"xmax":19.01102362204724372,"ymax":19.01102362204724372}}],"anchorPointUnits":"Relative","scaleX":1},"symbolName":"Symbol_86"},"value":"Fail","label":"Fail","description":""}],"fieldDelimiter":","},"transparency":0,"labelingInfo":null}}

Aside from being considerably shorter this JSON is missing the marker symbols from the unique value renderer object. Here's a screenshot of a JSON diff:

 

This is happening on multiple servers.  PLEASE HELP!!

 

Happy 4th everyone :-)

Outcomes