{ "currentVersion": 10.61, "id": 0, "name": "Street Lights", "parentLayerId": -1, "defaultVisibility": true, "minScale": 18000, "maxScale": 0, "type": "Feature Layer", "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": true, "supportsRollbackOnFailureParameter": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsCalculate": false, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true }, "extent": { "xmin": -8076092.2041, "ymin": 5206407.015799999, "xmax": -8066734.628699999, "ymax": 5226022.744599998, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "Status", "field2": null, "field3": null, "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "1a7c74462bf266d4caac89f5fd2260c3", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAQxJREFUGJV90LFLAmEYx/Gv+uotxglBFN6sQuHQ4FERVjTe3iIINzXY0ipH8/0F/QkuubmLDZGB4zk1iA6nQaS8OLxweA2VXaj9pgeez/PA8whWEwd0YAYsog0RqfVGQ3OKRXWcyWjbUvLR7/PsOMr1PPwo3mq3eSiX1WUsBqAAyOcxs1kObZsrz8MXAM2mVv+Ff1Mqceq63FkW1+Jrg7pYB39SKGhnoOICIJVibzOFdFrtAroACAKmgLEJS8kUmAmA4ZCnXI6DRGIVhiEMBrwACwEwmXDb7XJimuxHB8IQej1eRyNu4Pt11SrzVoujTod7w+A8mWQnCHj3fR7HY2q2zdsSA1gWEqj8d+gnXZVQ/Fk4TcUAAAAASUVORK5CYII=", "contentType": "image/png", "width": 8, "height": 8, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "1", "label": "Active", "description": "" }, { "symbol": { "type": "esriPMS", "url": "ac96f65346121db34d059d49f9da61a5", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAKxJREFUCJljYYAAxrDsCnNuAX7u+a2VxxkYGL4xMDAwsCQXNYg5hEZNkpBTCmZiZmLxCos7efXs8cKGpJDjLLb+IU3SiqrhUBMYhMWlzHVMrKcwMDDYsrDz8DgzoAFBMXGjiqlL3VkY/jP8QZf89/cfA8OfP99Yvn7+uPk/w38NRgZGuOSbZ0+OdOTH72J5/edVFcvNaxycvHyhDIyMXL9+/jj06P7dPAYGhv8A3hU2jBELz7IAAAAASUVORK5CYII=", "contentType": "image/png", "width": 5, "height": 5, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "0", "label": "Inactive", "description": "" } ], "fieldDelimiter": "," }, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": true, "enableZDefaults": true, "zDefault": 0, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": true, "supportsAttachmentsByUploadId": true, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "POLEID", "typeIdField": "Status", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false }, { "name": "POLEID", "type": "esriFieldTypeString", "alias": "POLEID", "domain": null, "editable": true, "nullable": true, "length": 24 }, { "name": "ROUTE", "type": "esriFieldTypeString", "alias": "ROUTE", "domain": null, "editable": true, "nullable": true, "length": 10 }, { "name": "POLE", "type": "esriFieldTypeString", "alias": "POLE", "domain": null, "editable": true, "nullable": true, "length": 10 }, { "name": "ADDRESS", "type": "esriFieldTypeString", "alias": "ADDRESS", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "COMMENTS", "type": "esriFieldTypeString", "alias": "COMMENTS", "domain": null, "editable": true, "nullable": true, "length": 255 }, { "name": "OWNER", "type": "esriFieldTypeString", "alias": "OWNER", "domain": { "type": "codedValue", "name": "Owners", "description": "Street Light Owners", "codedValues": [ { "name": "Town of Amherst", "code": "TOA" }, { "name": "Private", "code": "Private" }, { "name": "UMass", "code": "UMass" }, { "name": "Amherst College", "code": "AC" }, { "name": "Hampshire College", "code": "HC" }, { "name": "Other", "code": "Other" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 12 }, { "name": "FIXTURE", "type": "esriFieldTypeString", "alias": "FIXTURE", "domain": { "type": "codedValue", "name": "FixtureType", "description": "Street Light Fixture Types", "codedValues": [ { "name": "LED", "code": "LED" }, { "name": "Induction", "code": "I" }, { "name": "High Pressure Sodium", "code": "S" }, { "name": "Metal Hylide", "code": "M" }, { "name": "Other", "code": "O" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 4 }, { "name": "DISTRIBUTION", "type": "esriFieldTypeString", "alias": "DISTRIBUTION", "domain": { "type": "codedValue", "name": "Distribution", "description": "Street Light Distribution", "codedValues": [ { "name": "I", "code": "I" }, { "name": "II", "code": "II" }, { "name": "III", "code": "III" }, { "name": "IV", "code": "IV" }, { "name": "V", "code": "V" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 6 }, { "name": "MANUFACTURER", "type": "esriFieldTypeString", "alias": "MANUFACTURER", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "MODELNO", "type": "esriFieldTypeString", "alias": "MODELNO", "domain": null, "editable": true, "nullable": true, "length": 30 }, { "name": "LUMENS", "type": "esriFieldTypeInteger", "alias": "LUMENS", "domain": null, "editable": true, "nullable": true }, { "name": "CLASS", "type": "esriFieldTypeString", "alias": "CLASS", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "INSTALLDATE", "type": "esriFieldTypeDate", "alias": "INSTALLDATE", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "WORKING", "type": "esriFieldTypeSmallInteger", "alias": "WORKING", "domain": { "type": "codedValue", "name": "YesNo_1", "description": "", "codedValues": [ { "name": "Y", "code": 1 }, { "name": "N", "code": 0 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true }, { "name": "ONOFF", "type": "esriFieldTypeSmallInteger", "alias": "ONOFF", "domain": { "type": "codedValue", "name": "YesNo_1", "description": "", "codedValues": [ { "name": "Y", "code": 1 }, { "name": "N", "code": 0 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true }, { "name": "STATUSDATE", "type": "esriFieldTypeDate", "alias": "STATUSDATE", "domain": null, "editable": true, "nullable": true, "length": 8 }, { "name": "SOURCE", "type": "esriFieldTypeString", "alias": "SOURCE", "domain": { "type": "codedValue", "name": "The Source", "description": "Feature Source", "codedValues": [ { "name": "Sketch", "code": "Sketch" }, { "name": "Basemap 2009", "code": "Basemap 2009" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 16 }, { "name": "TYPE", "type": "esriFieldTypeString", "alias": "TYPE", "domain": { "type": "codedValue", "name": "PoleTypes", "description": "Street Light Pole Types", "codedValues": [ { "name": "Light Pole", "code": "LIGHT" }, { "name": "Utility Pole with Streetlight", "code": "POLE-LT" }, { "name": "Utility Pole", "code": "POLE" }, { "name": "Traffic Signal Pole", "code": "TRAFFIC_POLE" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 50 }, { "name": "ELEV", "type": "esriFieldTypeDouble", "alias": "ELEV", "domain": null, "editable": true, "nullable": true }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "Status", "type": "esriFieldTypeSmallInteger", "alias": "Status", "domain": { "type": "codedValue", "name": "Status", "description": "Active or Inactive", "codedValues": [ { "name": "Active", "code": 1 }, { "name": "Inactive", "code": 0 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true }, { "name": "Watts", "type": "esriFieldTypeSmallInteger", "alias": "Watts", "domain": null, "editable": true, "nullable": true } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "SHAPE" }, "indexes": [ { "name": "R42_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a14_ix1", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "types": [ { "id": 1, "name": "1", "domains": { "OWNER": {"type": "inherited"}, "FIXTURE": {"type": "inherited"}, "DISTRIBUTION": {"type": "inherited"}, "WORKING": {"type": "inherited"}, "ONOFF": {"type": "inherited"}, "SOURCE": {"type": "inherited"}, "TYPE": {"type": "inherited"}, "Status": {"type": "inherited"} }, "templates": [ { "name": "Active", "description": "", "prototype": { "attributes": { "COMMENTS": null, "OWNER": "TOA", "FIXTURE": "LED", "INSTALLDATE": null, "WORKING": 1, "STATUSDATE": null, "SOURCE": "Sketch", "Status": 1, "Watts": null, "POLEID": null, "ROUTE": null, "POLE": null, "ADDRESS": null, "DISTRIBUTION": "I", "MANUFACTURER": null, "MODELNO": null, "LUMENS": null, "CLASS": null, "ONOFF": 1, "TYPE": "LIGHT", "ELEV": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] }, { "id": 0, "name": "0", "domains": { "OWNER": {"type": "inherited"}, "FIXTURE": {"type": "inherited"}, "DISTRIBUTION": {"type": "inherited"}, "WORKING": {"type": "inherited"}, "ONOFF": {"type": "inherited"}, "SOURCE": {"type": "inherited"}, "TYPE": {"type": "inherited"}, "Status": {"type": "inherited"} }, "templates": [ { "name": "Inactive", "description": "", "prototype": { "attributes": { "COMMENTS": null, "OWNER": "TOA", "FIXTURE": "LED", "INSTALLDATE": null, "WORKING": 1, "STATUSDATE": null, "SOURCE": "Sketch", "Status": 0, "Watts": null, "POLEID": null, "ROUTE": null, "POLE": null, "ADDRESS": null, "DISTRIBUTION": "I", "MANUFACTURER": null, "MODELNO": null, "LUMENS": null, "CLASS": null, "ONOFF": 1, "TYPE": "LIGHT", "ELEV": null } }, "drawingTool": "esriFeatureEditToolPoint" } ] } ], "templates": [], "maxRecordCount": 10000, "supportedQueryFormats": "JSON, AMF, geoJSON", "capabilities": "Create,Query,Update,Delete,Uploads,Editing", "useStandardizedQueries": true, "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "maxRecordCountFactor": 1 }