{ "layers": [ { "currentVersion": 10.91, "id": 0, "name": "Winning Party By Precinct", "type": "Feature Layer", "description": "For the 2012 Presidential Election, for each precinct this data shows total ballots, the winning party, and the difference between the democratic percent of the vote and republican percent of vote. ", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 2876, "latestWkid": 2876 }, "copyrightText": "Boulder County Clerk and Recorder, Elections Division", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "WINPARTY", "field2": null, "field3": null, "defaultSymbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 238, 205, 247, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.4 } }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 0, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 255, 255 ], "width": 0.4 } }, "value": "", "label": "", "description": "" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 112, 255, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 255, 255 ], "width": 0.4 } }, "value": "Democratic", "label": "Democratic", "description": "" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 255, 255 ], "width": 0.4 } }, "value": "Republican", "label": "Republican", "description": "" } ], "fieldDelimiter": "," }, "transparency": 50, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 2945483.2635723054, "ymin": 1211161.5464877188, "xmax": 3125346.103649065, "ymax": 1339078.4094198793, "spatialReference": { "wkid": 2876, "latestWkid": 2876 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "SHORTNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "SHORTNAME", "type": "esriFieldTypeString", "alias": "SHORTNAME", "length": 3, "domain": null }, { "name": "TOTBALLOTS", "type": "esriFieldTypeInteger", "alias": "TOTBALLOTS", "domain": null }, { "name": "WINPARTY", "type": "esriFieldTypeString", "alias": "WINPARTY", "length": 40, "domain": null }, { "name": "PRECINCT", "type": "esriFieldTypeString", "alias": "PRECINCT", "length": 10, "domain": null }, { "name": "DRMARGIN", "type": "esriFieldTypeDouble", "alias": "DRMARGIN", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Shape.STArea()", "type": "esriFieldTypeDouble", "alias": "Shape.STArea()", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R1778_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "G2482PRECINCT", "fields": "PRECINCT", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S1464_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [ { "id": 0, "name": "ElectionResults2012USPresidentResults", "relatedTableId": 1, "role": "esriRelRoleOrigin", "keyField": "PRECINCT", "cardinality": "esriRelCardinalityOneToMany", "composite": false } ], "canModifyLayer": false, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape.STArea()", "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet" }, "dateFieldsTimeReference": null, "supportsCoordinatesQuantization": true } ], "tables": [ { "currentVersion": 10.91, "id": 1, "name": "boco.POLITICAL.ElectionResultsUSPresident2012Results", "type": "Table", "description": null, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeNone", "displayField": "SHORTNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "NUMVOTES", "type": "esriFieldTypeInteger", "alias": "NUMVOTES", "domain": null }, { "name": "PERCVOTE", "type": "esriFieldTypeDouble", "alias": "PERCVOTE", "domain": null }, { "name": "PRECINCT", "type": "esriFieldTypeString", "alias": "PRECINCT", "length": 10, "domain": null }, { "name": "SHORTNAME", "type": "esriFieldTypeString", "alias": "SHORTNAME", "length": 3, "domain": null }, { "name": "CANDIDATE", "type": "esriFieldTypeString", "alias": "CANDIDATE", "length": 50, "domain": null }, { "name": "PARTY", "type": "esriFieldTypeString", "alias": "PARTY", "length": 50, "domain": null } ], "indexes": [ { "name": "R1777_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "G2481PRECINCT", "fields": "PRECINCT", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [ { "id": 0, "name": "ElectionResultsUSPresident2012DRMargin", "relatedTableId": 0, "role": "esriRelRoleDestination", "keyField": "PRECINCT", "cardinality": "esriRelCardinalityOneToMany", "composite": false } ], "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON", "isDataVersioned": false, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsPagination": true, "supportsTrueCurve": false, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "dateFieldsTimeReference": null } ] }