{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 4, "name": "UCSD Neighborhoods", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102646, "latestWkid": 2230, "xyTolerance": 0.003280833333333333, "zTolerance": 2, "mTolerance": 2, "falseX": -118608900, "falseY": -91259500, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "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 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 209, 252, 210, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var nameUpper = Upper($feature.Name);\nvar lineLength = 11; // Set the approximate maximum number of characters per line\nvar result = \"\";\nvar start = 0;\n\nwhile (start < Count(nameUpper)) {\n // Set the end point for this segment\n var end = start + lineLength;\n if (end > Count(nameUpper)) {\n end = Count(nameUpper); // Adjust end if it's past the length of the string\n }\n\n // Check for the last space within this segment to avoid splitting words\n var segment = Mid(nameUpper, start, end - start);\n var lastSpace = -1;\n\n for (var i = 0; i < Count(segment); i++) {\n if (Mid(segment, i, 1) == \" \") {\n lastSpace = i;\n }\n }\n\n if (lastSpace == -1 || end == Count(nameUpper)) {\n // If no space is found or we're at the end, add the entire segment\n result += segment + TextFormatting.NewLine;\n start = end;\n } else {\n // Break at the last space within the segment\n result += Mid(nameUpper, start, lastSpace) + TextFormatting.NewLine;\n start = start + lastSpace + 1;\n }\n}\n\n// Remove the last newline character\nreturn Left(result, Count(result) - 1);", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelLargest", "allowOverrun": true, "deconflictionStrategy": "static", "repeatLabel": false, "useClippedGeometry": true, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 0, "stackRowLength": 24, "where": "Name <> 'Beach Properties' And Name <> 'Audrey Geisel University House' And Name <> 'East Campus Open Space Preserve' And Name <> '' And OBJECTID_1 <> 26 And OBJECTID_1 <> 8", "useCodedValues": true, "maxScale": 7000, "minScale": 18676.122029622544, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 1, 75, 117, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 198 ], "haloSize": 2.5, "font": { "family": "Calibri", "size": 13, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.3052792902798383E7, "ymin": 3877202.7988142944, "xmax": -1.3048668385141438E7, "ymax": 3881275.4016491636, "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": "Name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID_1", "type": "esriFieldTypeOID", "alias": "OBJECTID_1", "domain": null }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 64, "domain": null }, { "name": "Label", "type": "esriFieldTypeString", "alias": "Label", "length": 50, "domain": null }, { "name": "Neighborhood", "type": "esriFieldTypeString", "alias": "Neighborhood", "length": 75, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "length": 8, "domain": null }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "length": 255, "domain": null }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "length": 8, "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": "R178_pk", "fields": "OBJECTID_1", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_178", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S128_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "maxSelectionCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "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": { "shapeAreaFieldName": "Shape.STArea()", "shapeLengthFieldName": "Shape.STLength()", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "da272969c9e94d42a9894fdaa7a928ad" }