{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 0, "name": "Building Points Tririga", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102646, "latestWkid": 2230, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "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": "esriSMS", "style": "esriSMSCircle", "color": [ 32, 66, 153, 0 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.FacilityLongName", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveCenter", "deconflictionStrategy": "static", "offsetDistance": 2, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "none", "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 2499, "name": "BuildingName", "priority": -1, "symbol": { "type": "esriTS", "color": [ 78, 78, 78, 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, 168 ], "haloSize": 1.5, "font": { "family": "Arial", "size": 10, "style": "normal", "weight": "bold", "decoration": "none" } } }, { "labelExpressionInfo": { "expression": "var address = $feature.StreetAddress; // Replace with your actual field name\n\n// Dictionary of full street types and their abbreviations\nvar abbreviations = {\n \" Avenue\": \" Ave\",\n \" Boulevard\": \" Blvd\",\n \" Center\": \" Ctr\",\n \" Circle\": \" Cir\",\n \" Court\": \" Ct\",\n \" Drive\": \" Dr\",\n \" Expressway\": \" Expy\",\n \" Highway\": \" Hwy\",\n \" Lane\": \" Ln\",\n \" Parkway\": \" Pkwy\",\n \" Place\": \" Pl\",\n \" Road\": \" Rd\",\n \" Square\": \" Sq\",\n \" Street\": \" St\",\n \" Terrace\": \" Ter\",\n \" Trail\": \" Trl\",\n \" Way\": \" Way\"\n};\n\n// Loop through dictionary and replace full street type\nfor (var key in abbreviations) {\n address = Replace(address, key + \" \", abbreviations[key] + \" \"); // Word boundary match\n address = Replace(address, key + \",\", abbreviations[key] + \",\"); // Before a comma\n address = Replace(address, key, abbreviations[key]); // General replacement\n}\n\nreturn address;\n", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementBelowCenter", "deconflictionStrategy": "static", "offsetDistance": 4, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "none", "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 900, "name": "Address", "priority": -1, "symbol": { "type": "esriTS", "color": [ 104, 104, 104, 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, 161 ], "haloSize": 1, "font": { "family": "Arial", "size": 10, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.3053035610534485E7, "ymin": 3877259.349203192, "xmax": -1.3048706084166864E7, "ymax": 3881247.7452414534, "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": "CampusName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "FacilityID", "type": "esriFieldTypeString", "alias": "FacilityID", "length": 16, "domain": null }, { "name": "CAAN", "type": "esriFieldTypeString", "alias": "CAAN", "length": 4, "domain": null }, { "name": "CampusName", "type": "esriFieldTypeString", "alias": "CampusName", "length": 64, "domain": null }, { "name": "CampusAbbr", "type": "esriFieldTypeString", "alias": "CampusAbbr", "length": 8, "domain": null }, { "name": "CampusSite", "type": "esriFieldTypeString", "alias": "CampusSite", "length": 150, "domain": null }, { "name": "FacilityLongName", "type": "esriFieldTypeString", "alias": "FacilityLongName", "length": 150, "domain": null }, { "name": "FacilityShortName", "type": "esriFieldTypeString", "alias": "FacilityShortName", "length": 100, "domain": null }, { "name": "StreetAddress", "type": "esriFieldTypeString", "alias": "StreetAddress", "length": 50, "domain": null }, { "name": "Zipcode", "type": "esriFieldTypeString", "alias": "Zipcode", "length": 10, "domain": null }, { "name": "City", "type": "esriFieldTypeString", "alias": "City", "length": 150, "domain": null }, { "name": "County", "type": "esriFieldTypeString", "alias": "County", "length": 150, "domain": null }, { "name": "State", "type": "esriFieldTypeString", "alias": "State", "length": 2, "domain": null }, { "name": "Country", "type": "esriFieldTypeString", "alias": "Country", "length": 3, "domain": null }, { "name": "OwnershipCode", "type": "esriFieldTypeString", "alias": "OwnershipCode", "length": 2, "domain": null }, { "name": "FunctionType", "type": "esriFieldTypeString", "alias": "FunctionType", "length": 1, "domain": null }, { "name": "UniformBuildgingCode", "type": "esriFieldTypeString", "alias": "UniformBuildgingCode", "length": 1, "domain": null }, { "name": "NumOfLevels", "type": "esriFieldTypeInteger", "alias": "NumOfLevels", "domain": null }, { "name": "NumOfLevelsAboveGround", "type": "esriFieldTypeInteger", "alias": "NumOfLevelsAboveGround", "domain": null }, { "name": "YearConstructed", "type": "esriFieldTypeInteger", "alias": "YearConstructed", "domain": null }, { "name": "GeocodeType", "type": "esriFieldTypeString", "alias": "GeocodeType", "length": 16, "domain": null }, { "name": "LifecycleStage", "type": "esriFieldTypeString", "alias": "LifecycleStage", "length": 51, "domain": null }, { "name": "FacilityStatus", "type": "esriFieldTypeString", "alias": "FacilityStatus", "length": 16, "domain": null }, { "name": "BuildingAliases", "type": "esriFieldTypeString", "alias": "BuildingAliases", "length": 255, "domain": null }, { "name": "CampusMapBuildingClass", "type": "esriFieldTypeString", "alias": "CampusMapBuildingClass", "length": 32, "domain": null }, { "name": "GrossSquareFeet", "type": "esriFieldTypeInteger", "alias": "GrossSquareFeet", "domain": null }, { "name": "HistoricDesignation", "type": "esriFieldTypeString", "alias": "HistoricDesignation", "length": 3, "domain": null }, { "name": "Comments", "type": "esriFieldTypeString", "alias": "Comments", "length": 255, "domain": null }, { "name": "PostalAddress", "type": "esriFieldTypeString", "alias": "PostalAddress", "length": 255, "domain": null }, { "name": "PrimaryAddressNumber", "type": "esriFieldTypeInteger", "alias": "PrimaryAddressNumber", "domain": null }, { "name": "Predirectional", "type": "esriFieldTypeString", "alias": "Predirectional", "length": 255, "domain": null }, { "name": "Suffix", "type": "esriFieldTypeString", "alias": "Suffix", "length": 255, "domain": null }, { "name": "SecondaryAddressNumber", "type": "esriFieldTypeInteger", "alias": "SecondaryAddressNumber", "domain": null }, { "name": "SecondaryAddress", "type": "esriFieldTypeString", "alias": "SecondaryAddress", "length": 255, "domain": null }, { "name": "Fragment", "type": "esriFieldTypeString", "alias": "Fragment", "length": 255, "domain": null }, { "name": "StreetName", "type": "esriFieldTypeString", "alias": "StreetName", "length": 255, "domain": null }, { "name": "PostDirectional", "type": "esriFieldTypeString", "alias": "PostDirectional", "length": 255, "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": null, "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": { "timeZone": "Pacific Standard Time", "timeZoneIANA": "America/Los_Angeles", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Pacific Standard Time", "timeZoneIANA": "America/Los_Angeles", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "b7f8b0c483884aab8545c606bc885332" }