{ "serviceName": "Portland_Buildings_Billboarded_Icons", "supportedBindings": [ "REST" ], "serviceVersion": "1.9", "name": "Portland_Buildings_Billboarded_Icons", "serviceItemId": "38bc455ecd0a4c4697c4d22d4f66d115", "layers": [ { "id": 0, "version": "C000D918-E941-47F4-ACAB-339C2AB672E3", "name": "Portland_Buildings_Arrow", "updateEnabled": false, "href": "./layers/0", "associatedLayerID": 0, "layerType": "Point", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "ZFactor": 1, "alias": "PortlandBuildingsWithPoints_MFL", "capabilities": [ "View", "Query" ], "elevationInfo": { "featureExpression": { "value": 0 }, "unit": "meter", "mode": "relativeToScene" }, "drawingInfo": { "renderer": { "authoringInfo": { "visualVariables": [ { "type": "sizeInfo", "minSliderValue": 20, "maxSliderValue": 20 }, { "type": "colorInfo", "minSliderValue": 0, "maxSliderValue": 1 } ] }, "type": "simple", "symbol": { "type": "PointSymbol3D", "symbolLayers": [ { "type": "Icon", "resource": { "dataURI": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAASCAYAAAC0EpUuAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1ElEQVQ4ja2U7Q2CMBRF70veErIGjAFruIZdA8cQ1nANHeOaJ9QQ7ReV84eQNie3fTdVFEJyEJGpZK8WClsAN5KdiNwPkQJw63cE0P0tJXkG0K+/bck1aEbYADDpFktbL8WS0O5zy8nSi8h1t5TLcCxViJHkLCKPvUldYu0tBjAUS7mk9MOJ0du+UMW0MiVSFdNMhXK0oaFpQYVy2KniUoQrlMMq5kTE/UiZrlCOC8nJD00rhhPD+YrpJmXpcGJ8KuaT1h77G3sTGl1TPgHMR1jtFXsBObhenJIi8AUAAAAASUVORK5CYII=" }, "size": 13, "anchorPosition": [ 0, 0 ], "anchor": "relative" } ] }, "visualVariables": [ { "type": "sizeInfo", "valueExpressionTitle": "Custom", "valueExpression": "var size = 20\n\nif ($feature.INCREASE_VALUE < -50 || $feature.INCREASE_VALUE > 50) {\n size = 30\n}\n\nreturn size\n", "minDataValue": 20, "axis": "height", "legendOptions": { "title": "Custom", "showLegend": false } }, { "type": "rotationInfo", "valueExpressionTitle": "Custom", "valueExpression": "var heading = 0\n\nif ($feature.INCREASE_VALUE < 0) {\n heading = 180\n}\n\nreturn heading", "rotationType": "geographic", "axis": "heading" }, { "type": "rotationInfo", "valueExpressionTitle": "Custom", "valueExpression": "var heading = 0\n\nif ($feature.INCREASE_VALUE < 0) {\n heading = 180\n}\n\nreturn heading", "rotationType": "geographic", "axis": "heading" }, { "type": "colorInfo", "valueExpressionTitle": "Custom", "valueExpression": "// Assuming your color ramp has two colors:\n// Index 0: Red (#FF0000)\n// Index 1: Green (#00FF00)\n\nvar colorIndex = 0; // Default to red\n\nif ($feature.INCREASE_VALUE >= 0) {\n colorIndex = 1; // Set to green for positive/zero values\n}\n\nreturn colorIndex;", "stops": [ { "value": 0, "color": [ 255, 0, 0, 255 ] }, { "value": 1, "color": [ 76, 230, 0, 255 ] } ], "legendOptions": { "title": "Custom", "showLegend": false } } ] } }, "popupInfo": { "title": "{OBJECTID}", "mediaInfos": [], "popupElements": [ { "fieldInfos": [ { "fieldName": "OBJECTID", "isEditable": false, "format": { "places": 0, "digitSeparator": false }, "visible": true, "label": "OBJECTID" }, { "fieldName": "HEADING", "isEditable": true, "format": { "places": 0, "digitSeparator": false }, "visible": true, "label": "HEADING" }, { "fieldName": "INCREASE_VALUE", "isEditable": true, "format": { "places": 6, "digitSeparator": false }, "visible": true, "label": "INCREASE_VALUE" }, { "fieldName": "COLOR", "isEditable": true, "visible": true, "label": "COLOR" } ], "type": "fields" } ], "fieldInfos": [ { "fieldName": "OBJECTID", "isEditable": false, "format": { "places": 0, "digitSeparator": false }, "visible": true, "label": "OBJECTID" }, { "fieldName": "HEADING", "isEditable": true, "format": { "places": 0, "digitSeparator": false }, "visible": true, "label": "HEADING" }, { "fieldName": "INCREASE_VALUE", "isEditable": true, "format": { "places": 6, "digitSeparator": false }, "visible": true, "label": "INCREASE_VALUE" }, { "fieldName": "COLOR", "isEditable": true, "visible": true, "label": "COLOR" } ], "expressionInfos": [] }, "disablePopup": false, "store": { "id": "BB2C2864-64CC-4C76-9960-52966CA76BB3", "profile": "points", "resourcePattern": [ "3dNodeIndexDocument", "Attributes", "featureData" ], "rootNode": "./nodes/root", "version": "1.9", "extent": [ -122.66007390886364, 45.529018127458215, -122.6571303785109, 45.532069841674492 ], "indexCRS": "http://www.opengis.net/def/crs/EPSG/0/4326", "vertexCRS": "http://www.opengis.net/def/crs/EPSG/0/4326", "nidEncoding": "application/vnd.esri.i3s.json+gzip; version=1.6", "featureEncoding": "application/vnd.esri.i3s.json+gzip; version=1.6", "attributeEncoding": "application/octet-stream; version=1.6", "lodType": "AutoThinning", "lodModel": "node-switching" }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "HEADING", "type": "esriFieldTypeSmallInteger", "alias": "HEADING" }, { "name": "INCREASE_VALUE", "type": "esriFieldTypeDouble", "alias": "INCREASE_VALUE" }, { "name": "COLOR", "type": "esriFieldTypeString", "alias": "COLOR" } ], "attributeStorageInfo": [ { "key": "f_0", "name": "OBJECTID", "header": [ { "property": "count", "valueType": "UInt32" } ], "ordering": [ "ObjectIds" ], "objectIds": { "valueType": "UInt32", "valuesPerElement": 1 } }, { "key": "f_1", "name": "HEADING", "header": [ { "property": "count", "valueType": "UInt32" } ], "ordering": [ "attributeValues" ], "attributeValues": { "valueType": "Int16", "valuesPerElement": 1 } }, { "key": "f_2", "name": "INCREASE_VALUE", "header": [ { "property": "count", "valueType": "UInt32" } ], "ordering": [ "attributeValues" ], "attributeValues": { "valueType": "Float64", "valuesPerElement": 1 } }, { "key": "f_3", "name": "COLOR", "header": [ { "property": "count", "valueType": "UInt32" }, { "property": "attributeValuesByteCount", "valueType": "UInt32" } ], "ordering": [ "attributeByteCounts", "attributeValues" ], "attributeByteCounts": { "valueType": "UInt32", "valuesPerElement": 1 }, "attributeValues": { "valueType": "String", "encoding": "UTF-8", "valuesPerElement": 1 } } ], "featureidMappedFromFS": 0, "statisticsInfo": [ { "key": "f_1", "name": "HEADING", "href": "./statistics/f_1" }, { "key": "f_2", "name": "INCREASE_VALUE", "href": "./statistics/f_2" }, { "key": "f_3", "name": "COLOR", "href": "./statistics/f_3" } ], "pointNodePages": { "nodesPerPage": 64, "lodSelectionMetricType": "maxScreenThreshold" }, "geometryDefinitions": [ { "geometryBuffers": [ { "compressedAttributes": { "encoding": "draco", "attributes": [ "position", "feature-index" ] } } ] } ], "lastCached": 1718628121, "requiresRebuild": false } ] }