{ "layers": [ { "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 0, "name": "Polling Place", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPoint", "description": "The Polling Locations GIS Layer provides spatial data representing the geographic locations of official polling places used during elections within Yok County, Pennsylvania. Each point in the layer corresponds to a designated voting site and includes key attributes such as polling place name, address, precinct ID, voting district, and accessibility information. This dataset is intended to support election administration, public information, and voter outreach efforts. It can be integrated with other electoral geospatial datasets such as precinct boundaries and voter districts to facilitate analysis and planning. The layer is updated regularly to reflect changes in polling site assignments and is essential for ensuring voters can easily locate their assigned voting locations.", "copyrightText": "Layer should not be used at scales larger than 1:2400.  Intended for illustration and demonstration purposes only. Distribution Liability THE DATA AND METADATA HAS BEEN DEVELOPED SOLELY FOR INTERNAL USE BY YORK COUNTY PLANNING COMMISSION AND YORK COUNTY AS WELL AS ITS DEPARTMENTS AND AGENCIES (HEREINAFTER JOINTLY REFERRED TO AS \u201cLICENSOR\u201d) AND LICENSOR MAKES NO WARRANTIES, REPRESENTATIONS OR GUARANTEES, EITHER EXPRESS OR IMPLIED, AS TO THE COMPLETENESS, ACCURACY, OR CORRECTNESS OF THE DATA AND METADATA DOES NOT ACCEPT OR ASSUME ANY LIABILITY ARISING FROM OR FOR ANY INCORRECT, INCOMPLETE, OR MISLEADING DATA PROVIDED PURSUANT TO THIS PURCHASE/REQUEST.  THERE ARE NO WARRANTIES AND/OR REPRESENTATIONS, EITHER EXPRESS OR IMPLIED, OF MERCHANTABILITY OR FITNESS OF THE DATA FOR A PARTICULAR PURPOSE OR USE.  ALL DATA AND METADATA ARE PROVIDED \u201cAS IS.\u201d", "editFieldsInfo": { "creationDateField": "CREATE_DATE", "editDateField": "MODIFY_DATE", "editorField": "EDIT_NAME" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "hasContingentValuesDefinition": false, "supportsDurableUrlForSyncModelNone": false, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsFullTextSearch": true, "fullTextSearchCapabilities": { "supportsSearchOperator": true, "supportsOperator": false, "supportsSqlExpressionInFullText": true }, "fullTextSearchableFields": [], "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsReturningGeometryEnvelope": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true, "supportsQueryWithCacheHint": false }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON,PBF" }, "hasMetadata": true, "extent": { "xmin": 2157662.246275559, "ymin": 144702.23381380737, "xmax": 2370818.881641224, "ymax": 320071.71837598085, "zmin": 0, "zmax": 0, "spatialReference": { "wkid": 102729, "latestWkid": 2272, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -119214200, "falseY": -96198500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "spatialReference": { "wkid": 102729, "latestWkid": 2272, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -119214200, "falseY": -96198500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "sourceSpatialReference": { "wkid": 102729, "latestWkid": 2272, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -119214200, "falseY": -96198500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriPMS", "url": "b8d0ab8014e290d577cabc39e9acce3f", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB8klEQVRIid3VX0hTYRjH8W9rbq2Fmpv9g6YIs4aYEkYE3cRY4I2XClERQhoFspsuHDKiwPLSunBEdBNB0K1XLsKIcGsrW0StkqbicmdnHJd05rG5Cgppgx23HfGm3+X7vHweXp6X99WzhdH/t/g2qhs6qW46i8lqRW/cQTYjIy/OkXo7RlaOaMMtR5zUNI7QdrmVg04DurytWRk+Pe4h+uAl4ut+lPRs+fjeDjf27kE6ru4pWq8yQ8uFWg6fOc3TSxPEn/eRnpksjVtbunCc89A+UE+pbDeA676did67pBdcoMxthBuoax0uC86P02dnOeZjYbJTHbe0uzlxzVERvH4Cx/ljCKG2/CEX4rUNLnYf0qElzd0WImN9JENXiuPmA/s0wetD3rXfRvLfUiGuN+7UjP9tYC7gCoq5rLIpPKco6viKKGmGf66BnBTV8W+xMCviSUyV3cQ/mX+SQfrwUB0XQjcIXO/i1J2mivE3oxFWJb86DhKJqXvM+4ewucofbuhWnFR0EPi1EQ7Cq5sEvHagp6wG06MJoo9G+D77rLyH62uglxeeGb6MX+T4UGPRGSx9zDHlfY847WHp83hlT64QHkYI+1gMeqmxHcVUX4euysjaagY5nmA55if17jbwQ+tnISEE3QjBEtu04ZvKluK/AeDRoWO65le/AAAAAElFTkSuQmCC", "contentType": "image/png", "width": 17, "height": 17, "angle": 0, "xoffset": 0, "yoffset": 0 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var xgeo = number(Geometry($feature).x)\nvar ygeo = number(Geometry($feature).y)\n\nvar xgeo1 = Constrain(xgeo, 2244482 , 2265887)\nvar ygeo1 = Constrain(ygeo, 223470 , 242724)\n\nvar xgeo2 = Constrain(xgeo, 2272454 , 2293305)\nvar ygeo2 = Constrain(ygeo, 202229 , 219702)\n\n\nif (xgeo == xgeo1 && ygeo == ygeo1 ){\nvar geo_check = False}\nelse if ( number((Split($feature.VOTE_ID,'-'))[0]) == 67){\nvar geo_check = False}\nelse if ($feature.PLACE_NAME == \"PENN TOWNSHIP #3\" || $feature.PLACE_NAME == \"PENN TOWNSHIP #4\"){\nvar geo_check = False}\nelse if (xgeo == xgeo2 && ygeo == ygeo2 ){\nvar geo_check = False}\nelse{\nvar geo_check = True}\n\nfunction PCase(strInput) {\n // Check if there is a tilde (~) and get only the part to the left of it\n if (Find(\"~\", strInput) > -1) {\n strInput = Left(strInput, Find(\"~\", strInput));\n }\n\n var strOutput = \"\";\n var capitalizeNext = true;\n\n // Split the string into words\n var strWords = Split(strInput, \" \");\n \n for (var i = 0; i < Count(strWords); i++) {\n var word = strWords[i];\n \n // Check if the word is \"YMCA\" and keep it uppercase\n if (Upper(word) == \"YMCA\") {\n strOutput += \"YMCA\";\n } else {\n // Capitalize first letter of each word and letters after '('\n for (var j = 0; j < Count(word); j++) {\n var char = Mid(word, j, 1);\n \n if (j == 0 || Mid(word, j - 1, 1) == \"(\") {\n strOutput += Upper(char);\n } else {\n strOutput += Lower(char);\n }\n }\n }\n\n // Add a space between words, but not after the last one\n if (i < Count(strWords) - 1) {\n strOutput += \" \";\n }\n }\n\n return strOutput;\n}\n\nif (geo_check){\nreturn PCase($feature.LOCATION)}\nelse {\nreturn \"\"}\n", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamicNeverRemove", "allowOverlapOfFeatureInterior": "avoid", "offsetDistance": 3, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 36, "stackRowLength": 24, "stackSeparators": [ {"separator": " "}, { "separator": ",", "visible": true }, { "separator": "/", "visible": true }, { "separator": "-", "visible": true } ], "useCodedValues": true, "maxScale": 50000, "minScale": 0, "name": "Small Scale", "priority": 6, "symbol": { "type": "esriTS", "color": [ 0, 77, 168, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 7, "style": "italic", "weight": "normal", "decoration": "none" } } }, { "labelExpressionInfo": { "expression": "var geo_check = True\n\nfunction PCase(strInput) {\n // Check if there is a tilde (~) and get only the part to the left of it\n if (Find(\"~\", strInput) > -1) {\n strInput = Left(strInput, Find(\"~\", strInput));\n }\n\n var strOutput = \"\";\n var capitalizeNext = true;\n\n // Split the string into words\n var strWords = Split(strInput, \" \");\n \n for (var i = 0; i < Count(strWords); i++) {\n var word = strWords[i];\n \n // Check if the word is \"YMCA\" and keep it uppercase\n if (Upper(word) == \"YMCA\") {\n strOutput += \"YMCA\";\n } else {\n // Capitalize first letter of each word and letters after '('\n for (var j = 0; j < Count(word); j++) {\n var char = Mid(word, j, 1);\n \n if (j == 0 || Mid(word, j - 1, 1) == \"(\") {\n strOutput += Upper(char);\n } else {\n strOutput += Lower(char);\n }\n }\n }\n\n // Add a space between words, but not after the last one\n if (i < Count(strWords) - 1) {\n strOutput += \" \";\n }\n }\n\n return strOutput;\n}\n\nif (geo_check){\nreturn PCase($feature.LOCATION)}\nelse {\nreturn \"\"}\n", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamicNeverRemove", "allowOverlapOfFeatureInterior": "avoid", "offsetDistance": 2, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 36, "stackRowLength": 24, "stackSeparators": [ {"separator": " "}, { "separator": ",", "visible": true }, { "separator": "/", "visible": true }, { "separator": "-", "visible": true } ], "useCodedValues": true, "maxScale": 0, "minScale": 50000, "name": "Large Scale", "priority": 7, "symbol": { "type": "esriTS", "color": [ 0, 77, 168, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 9, "style": "italic", "weight": "normal", "decoration": "none" } } } ] }, "hasM": false, "hasZ": true, "enableZDefaults": true, "zDefault": 0, "supportsVCSProjection": true, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": true, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "PRECINCT_NAME", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "PRECINCT_ID", "type": "esriFieldTypeString", "alias": "Precinct ID", "domain": null, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "PRECINCT_ID" }, { "name": "PRECINCT_NAME", "type": "esriFieldTypeString", "alias": "Precinct Name", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "PRECINCT_NAME" }, { "name": "LOCATION", "type": "esriFieldTypeString", "alias": "POLLING_LOCATION_NAME", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "LOCATION" }, { "name": "ADDRESS", "type": "esriFieldTypeString", "alias": "ADDRESS", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "ADDRESS" }, { "name": "ADDRESS2", "type": "esriFieldTypeString", "alias": "ADDRESS2", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "ADDRESS2" }, { "name": "CITY", "type": "esriFieldTypeString", "alias": "CITY", "domain": null, "editable": true, "nullable": true, "length": 40, "defaultValue": null, "modelName": "CITY" }, { "name": "STATE", "type": "esriFieldTypeString", "alias": "STATE", "domain": null, "editable": true, "nullable": true, "length": 15, "defaultValue": null, "modelName": "STATE" }, { "name": "ZIPCODE", "type": "esriFieldTypeString", "alias": "ZIPCODE", "domain": { "type": "codedValue", "name": "ZIPCODE", "description": "Zipcode", "codedValues": [ { "name": "17011", "code": "17011" }, { "name": "17019", "code": "17019" }, { "name": "17055", "code": "17055" }, { "name": "17070", "code": "17070" }, { "name": "17301", "code": "17301" }, { "name": "17302", "code": "17302" }, { "name": "17309", "code": "17309" }, { "name": "17311", "code": "17311" }, { "name": "17312", "code": "17312" }, { "name": "17313", "code": "17313" }, { "name": "17314", "code": "17314" }, { "name": "17315", "code": "17315" }, { "name": "17316", "code": "17316" }, { "name": "17317", "code": "17317" }, { "name": "17319", "code": "17319" }, { "name": "17321", "code": "17321" }, { "name": "17322", "code": "17322" }, { "name": "17323", "code": "17323" }, { "name": "17327", "code": "17327" }, { "name": "17329", "code": "17329" }, { "name": "17331", "code": "17331" }, { "name": "17339", "code": "17339" }, { "name": "17342", "code": "17342" }, { "name": "17345", "code": "17345" }, { "name": "17346", "code": "17346" }, { "name": "17347", "code": "17347" }, { "name": "17349", "code": "17349" }, { "name": "17352", "code": "17352" }, { "name": "17354", "code": "17354" }, { "name": "17355", "code": "17355" }, { "name": "17356", "code": "17356" }, { "name": "17358", "code": "17358" }, { "name": "17360", "code": "17360" }, { "name": "17361", "code": "17361" }, { "name": "17362", "code": "17362" }, { "name": "17363", "code": "17363" }, { "name": "17364", "code": "17364" }, { "name": "17365", "code": "17365" }, { "name": "17366", "code": "17366" }, { "name": "17368", "code": "17368" }, { "name": "17370", "code": "17370" }, { "name": "17371", "code": "17371" }, { "name": "17401", "code": "17401" }, { "name": "17402", "code": "17402" }, { "name": "17403", "code": "17403" }, { "name": "17404", "code": "17404" }, { "name": "17405", "code": "17405" }, { "name": "17406", "code": "17406" }, { "name": "17407", "code": "17407" }, { "name": "17408", "code": "17408" }, { "name": "17318", "code": "17318" }, { "name": "17237", "code": "17237" }, { "name": "17359", "code": "17359" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 5, "defaultValue": null, "modelName": "ZIPCODE" }, { "name": "PLACE_NAME", "type": "esriFieldTypeString", "alias": "POLLING_PLACE_NAME", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "PLACE_NAME" }, { "name": "CREATE_DATE", "type": "esriFieldTypeDate", "alias": "CREATE_DATE", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "CREATE_DATE" }, { "name": "MODIFY_DATE", "type": "esriFieldTypeDate", "alias": "MODIFY_DATE", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "MODIFY_DATE" }, { "name": "EDIT_NAME", "type": "esriFieldTypeString", "alias": "EDIT_NAME", "domain": null, "editable": false, "nullable": true, "length": 20, "defaultValue": null, "modelName": "EDIT_NAME" }, { "name": "EDIT_TYPE", "type": "esriFieldTypeString", "alias": "EDIT_TYPE", "domain": { "type": "codedValue", "name": "EDIT_TYPE_D", "description": "Types of edits made to datasets, including adds, attribute updates, and geometry updates", "codedValues": [ { "name": "Add", "code": "ADD" }, { "name": "Attribute Update", "code": "ATTRIBUTE UPDATE" }, { "name": "Geometry Update", "code": "GEOMETRY UPDATE" }, { "name": "Split", "code": "SPLIT" }, { "name": "Merge", "code": "MERGE" }, { "name": "ROW Update", "code": "ROW UPDATE" }, { "name": "Boundary Update", "code": "BOUNDARY UPDATE" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" }, "editable": true, "nullable": true, "length": 30, "defaultValue": null, "modelName": "EDIT_TYPE" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R400_pk", "isAscending": true, "isUnique": true, "description": "", "fields": "OBJECTID" }, { "name": "UUID_400", "isAscending": true, "isUnique": true, "description": "", "fields": "GlobalID" }, { "name": "S359_idx", "isAscending": true, "isUnique": true, "description": "", "fields": "Shape" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "timeZoneIANA": "Etc/UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Polling Place", "description": "", "prototype": { "attributes": { "EDIT_TYPE": null, "PRECINCT_ID": null, "PRECINCT_NAME": null, "LOCATION": null, "ADDRESS": null, "ADDRESS2": null, "CITY": null, "STATE": null, "ZIPCODE": null, "PLACE_NAME": null } }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Extract", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "supportsAppend": true, "supportedAppendFormats": "FILEGDB,PBF", "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "a6cc5e1c13b14fa4815662b21a83fb59" } ], "tables": [] }