{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 19, "name": "Road Centerline", "type": "Feature Layer", "description": "Data is created by snapping section outlines to field survey control points. Each section is then divided into aliquot part and/or legal lot divisions per documentation. All data is built on a locally derived map projection (Lancaster County Grid) to insure ground to map accuracy (flat plane). Coordinate geometry tools used in Arc/Info was used for the bulk of the data creation up until March 2012; data was then imported to the geodatabase format and ArcGIS software and tools will be used to store and maintain data from this date forward. Data has been determined to be of very high horizontal positional accuracy as built from field survey control and legal documentation. High quality absolute positioning is determined by geodetic field control. Relative positioning of data is also determined to be quite high.", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102705, "latestWkid": 102705, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -18285500, "falseY": -47441400, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": { "id": 18, "name": "Street Centerline" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 78, 78, 78, 255 ], "width": 0.4 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": {"expression": "// ROAD CENTERLINE\r\n//---------------------\r\n\r\n// Change the settings portion to configure direction format, color, rounding and abbreviations\r\n// This is an Arcade expression\r\n\r\n// SETTINGS\r\nvar QuadrantBearingFormat = true; //set 'true' for quadrant bearing, 'false' for north azimuth\r\nvar ShowDistance = true; //set as 'true' to show distance\r\nvar ShowDirection = false; //set as 'true' to show direction\r\nvar DirectionType = 1; // 1 = Quadrant Bearing; 2 = North Azimuth; 3 = South Azimuth\r\nvar ShowRadius = true; //set as 'true' to show radius\r\nvar ShowCurveParameter = true; //set as 'true' to show a curve parameter\r\nvar CurveParameter = \"Chord\"; //set as 'ArcLength' or 'Chord' or 'Angle' for central angle. Case sensitive!\r\nvar ErrorString = \"COGO ERROR\"; //set to display invalid COGO combinations\r\nvar RadiusAbbr = 'R='; //radius abbreviation\r\n//var Radius2Abbr = 'R2='; //radius2 abbreviation for spiral curves\r\n//var ArclengthAbrr = 'L='; //arclength abbreviation\r\nvar ChordAbbr = 'C='; //chord abbreviation\r\nvar ChordAbbr2 = \"c\"; //chord abbreviation 2\r\n//var AngleAbbr = 'A='; //central Angle abbreviation\r\nvar DistUnitRounding = 2; //number of decimal places for distance units: distance, radius, arclength & chord\r\nvar NumberFormat = \"#,###.00\" //number format. In this example: thousands separator with padding of 2 zeros \r\nvar directionColor = \"blue='255'\"; //direction color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar distanceColor = \"black='255'\"; //distance color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar radiusColor = \"blue='255'\"; //radius color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar curveParamColor = \"blue='255'\"; //curve parameter color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar partialCOGOColor = \"magenta='255'\"; //partial COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar invalidCOGOColor = \"red='255'\"; //invalid COGO color: red, green, blue, cyan, magenta, yellow, black. You can also use RGB or CYMK combinations.\r\nvar fontNameSize = \"\"; //font type and size\r\n\r\n// VARIABLES\r\nvar cogo_direction = $feature.Direction;\r\nvar cogo_distance = $feature.Distance;\r\nvar cogo_radius = $feature.Radius;\r\nvar cogo_arclength = $feature.Arclength;\r\nvar cogo_radius2 = $feature.Radius2\r\nvar linecategory = $feature.Category\r\nvar binaryDictionary; //binary dictionary to check COGO combinations\r\nvar checksum = 0; //initialize checksum\r\nvar validValuesArray; //array of valid values for COGO combinations\r\nvar partialValuesArray; //array of partial values for COGO\r\nvar degrees;\r\nvar minutes;\r\nvar seconds;\r\nvar DMS;\r\nvar directionStr = \"\"; //direction string using for label\r\nvar distanceStr = \"\"; //distance string using for label\r\nvar radiusStr = \"\"; //radius string using for label\r\nvar radius2Str = \"\"; //radius2 string using for labeling spiral curves\r\nvar curveStr = \"\"; //curve parameter string using for label\r\nvar angleRad; //curve angle in radians\r\nvar COGOValidity; //COGO combinations validity. can be valid, partial or invalid.\r\n\r\n\r\nif (IsEmpty(cogo_direction) && IsEmpty(cogo_distance) && IsEmpty(cogo_radius2) && IsEmpty(cogo_radius) && IsEmpty(cogo_arclength)){\r\n return \"\"\r\n}\r\n\r\nfunction NorthAzimuth2Quadbearing(azimuth){\r\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'Quadrant', angleType: 'DMS', outputType: 'text', format: 'pd[°]mm[\\']ss[\"]b'})\r\n}\r\n\r\nfunction DMS_North(azimuth){\r\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'North', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\r\n}\r\n\r\nfunction DMS_South(azimuth){\r\n return ConvertDirection(azimuth, {directionType:'North', angleType: 'Degrees'}, {directionType:'South', angleType: 'DMS', outputType: 'text', format: 'd[°]mm[\\']ss[\"]'})\r\n}\r\n\r\n\r\n// Direction string\r\nif (ShowDirection) {\r\n if (IsEmpty(cogo_direction)==false) {\r\n if (DirectionType == 1) { //using quadrant bearing format\r\n directionStr = NorthAzimuth2Quadbearing(cogo_direction);\r\n }\r\n else if (DirectionType == 2) { //using north azimuth format\r\n directionStr = DMS_North(cogo_direction);\r\n }\r\n else if (DirectionType == 3) { //using south azimuth format\r\n directionStr = DMS_South(cogo_direction);\r\n }\r\n }\r\n}\r\n\r\n// Distance string\r\nif (ShowDistance) {\r\n if (IsEmpty(cogo_distance)==false) {\r\n distanceStr = text(round(cogo_distance,DistUnitRounding), NumberFormat);\r\n }\r\n}\r\n\r\n//Radius String\r\nif (ShowRadius) {\r\n if (!IsEmpty(cogo_radius)) { //it can be a curve or a spiral\r\n if (IsEmpty(cogo_radius2)) { //if radius2 is empty this is a curve\r\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding), NumberFormat);\r\n }\r\n else { // it is a spiral\r\n radiusStr = RadiusAbbr + \" \" + text(round(cogo_radius, DistUnitRounding),NumberFormat);\r\n radius2Str = Radius2Abbr + \" \" + text(round(cogo_radius2, DistUnitRounding),NumberFormat);\r\n if (cogo_radius == 0) { //substitute to infinity sign\r\n radiusStr = RadiusAbbr + \" ∞ \";\r\n }\r\n if (cogo_radius2 == 0) { //substitute to infinity sign\r\n radius2Str = Radius2Abbr + \" ∞ \";\r\n }\r\n } \r\n \r\n }\r\n}\r\n\r\n// Curve Parameter\r\nif (ShowCurveParameter) {\r\n if (!IsEmpty(cogo_arclength)) {\r\n if (CurveParameter == 'ArcLength') {\r\n curveStr = text(round(cogo_arclength, DistUnitRounding), NumberFormat); //return Arc length\r\n }\r\n angleRad = cogo_arclength/(abs(cogo_radius)) //calculate angle in radians\r\n if (CurveParameter == 'Angle') {\r\n curveStr = DMS_North(angleRad * 180 / pi); // convert radian to degrees and show as DMS\r\n }\r\n if (CurveParameter == 'Chord') {\r\n curveStr = text(round((2 * abs(cogo_radius) * Sin(angleRad/2)),DistUnitRounding), NumberFormat); //calculate chord length\r\n } \r\n }\r\n}\r\n\r\n//Determine type of curve displayed\r\nvar CurveTypePrefix = \"\"\r\nvar CurveSuffix = \"\"\r\nif (!IsEmpty(curveStr)){\r\n if (CurveParameter == 'ArcLength'){\r\n CurveTypePrefix = ArclengthAbrr\r\n }\r\n else if (CurveParameter == 'Angle'){\r\n CurveTypePrefix = AngleAbbr\r\n }\r\n else if (CurveParameter == 'Chord'){\r\n CurveTypePrefix = ChordAbbr\r\n CurveSuffix = ChordAbbr2\r\n }\r\n}\r\n\r\nvar isStraightLine = IsEmpty(radiusStr) && IsEmpty(radius2Str) && IsEmpty(curveStr)\r\n\r\n// ASSEMBLE LABEL STRING\r\n\r\n//Straight lines\r\nif (isStraightLine){\r\n if (!IsEmpty(directionStr) && !IsEmpty(distanceStr)){ //If Direction and Distance are both NOT Empty\r\n return \"\" + directionStr + \"<\/CLR>\" + \"\\n\" +\r\n \"\" + distanceStr + \"'\" +\"<\/CLR>\";\r\n }\r\n else if (IsEmpty(directionStr)){ //If Direction is empty\r\n return \"\" + distanceStr + \"'\" +\"<\/CLR>\";\r\n }\r\n else{ //If Distance is empty\r\n return \"\" + directionStr + \"'\" +\"<\/CLR>\";\r\n }\r\n}\r\n\r\n//Curves\r\n//If one or both radii and the curve string are NOT empty show the full curve\r\nif ((!IsEmpty(radiusStr) || !IsEmpty(radius2Str)) && !IsEmpty(curveStr)){\r\n if (!IsEmpty(linecategory) && linecategory == 5){\r\n return \"\" + CurveTypePrefix + \" \" + curveStr + \"'\" + \"<\/CLR>\";\r\n }else{\r\n return \"\" + radiusStr + \"'\" +\"<\/CLR>\" + \" \" +\r\n \"\" + radius2Str + \"<\/CLR>\" + \"\\n\" +\r\n \"\" + CurveTypePrefix + \" \" +\r\n curveStr + \"'\" + \"<\/CLR>\";\r\n }\r\n}\r\n//If the curve is empty\r\nelse if (IsEmpty(curveStr)){\r\n return \"\" + radiusStr + \"'\" +\"<\/CLR>\" + \" \" +\r\n \"\" + radius2Str + \"'\" +\"<\/CLR>\"\r\n}\r\n//If both radius are empty\r\nelse{\r\n return \"\" + CurveTypePrefix + curveStr + \"'\" +\"<\/CLR>\";\r\n}"}, "labelPlacement": "esriServerLinePlacementAboveAlong", "textLayout": "followFeature", "deconflictionStrategy": "dynamic", "allowOverrun": true, "repeatLabel": false, "lineConnection": "minimizeLabels", "useClippedGeometry": true, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 216, "stackRowLength": 24, "stackSeparators": [ {"separator": " "} ], "useCodedValues": true, "maxScale": 0, "minScale": 2256, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": null, "haloSize": null, "font": { "family": "Arial", "size": 7, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.0830177817370825E7, "ymin": 4905538.561571289, "xmax": -1.0731205993095474E7, "ymax": 5036638.377390885, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "STNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "LineCode", "type": "esriFieldTypeSmallInteger", "alias": "LineCode", "domain": null }, { "name": "Direction", "type": "esriFieldTypeString", "alias": "Bearing", "length": 12, "domain": null }, { "name": "Distance", "type": "esriFieldTypeString", "alias": "Distance", "length": 10, "domain": null }, { "name": "Delta", "type": "esriFieldTypeString", "alias": "Delta", "length": 10, "domain": null }, { "name": "Radius", "type": "esriFieldTypeString", "alias": "Radius", "length": 10, "domain": null }, { "name": "Tangent", "type": "esriFieldTypeString", "alias": "Tangent", "length": 10, "domain": null }, { "name": "ArcLength", "type": "esriFieldTypeString", "alias": "ArcLength", "length": 10, "domain": null }, { "name": "Side", "type": "esriFieldTypeString", "alias": "Side", "length": 1, "domain": null }, { "name": "Radius2", "type": "esriFieldTypeString", "alias": "Radius2", "length": 10, "domain": null }, { "name": "Tangent2", "type": "esriFieldTypeString", "alias": "Tangent2", "length": 10, "domain": null }, { "name": "ChordLength", "type": "esriFieldTypeString", "alias": "ChordLength", "length": 10, "domain": null }, { "name": "Comments", "type": "esriFieldTypeString", "alias": "Comments", "length": 255, "domain": null }, { "name": "DataSource", "type": "esriFieldTypeString", "alias": "DataSource", "length": 20, "domain": null }, { "name": "CreatedBy", "type": "esriFieldTypeString", "alias": "Created By", "length": 12, "domain": null }, { "name": "CreatedDate", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8, "domain": null }, { "name": "EditedBy", "type": "esriFieldTypeString", "alias": "Edited By", "length": 12, "domain": null }, { "name": "EditedDate", "type": "esriFieldTypeDate", "alias": "Edited Date", "length": 8, "domain": null }, { "name": "Calculated", "type": "esriFieldTypeInteger", "alias": "Calculated", "domain": null }, { "name": "Category", "type": "esriFieldTypeInteger", "alias": "Category", "domain": null }, { "name": "SubdivisionLine", "type": "esriFieldTypeSmallInteger", "alias": "SubdivisionLine", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "STPRE", "type": "esriFieldTypeString", "alias": "Street Prefix", "length": 2, "domain": null }, { "name": "STNAME", "type": "esriFieldTypeString", "alias": "Street Name", "length": 20, "domain": null }, { "name": "STTYPE", "type": "esriFieldTypeString", "alias": "Street Type", "length": 4, "domain": null }, { "name": "STSUF", "type": "esriFieldTypeString", "alias": "Street Suffix", "length": 2, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "SHAPE.STLength()", "type": "esriFieldTypeDouble", "alias": "SHAPE.STLength()", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "R207_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_207", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "UUID_OID_207", "fields": "GlobalID,OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S169_idx", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": true, "effectiveMinScale": 9200, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "SHAPE.STLength()", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1717652901000 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "089bcddf373f4680877e665ed2a0a793" }