ArcGIS REST Services Directory
Home
>
services
>
USA_Tracts_with_Occupation_2018 (FeatureServer)
>
All Layers and Tables
|
API Reference
JSON
All Layers and Tables (USA_Tracts_with_Occupation_2018)
Layers:
Layer:
Tract
(0)
Name:
Tract
Display Field:
NAME
Type:
Feature Layer
Geometry Type:
esriGeometryPolygon
Description:
Copyright Text:
Min. Scale:
0
Max. Scale:
0
Default Visibility:
true
Max Record Count:
4000
Supported query Formats:
JSON, geoJSON, PBF
Use Standardized Queries:
True
Extent:
XMin: -19942589.5526
YMin: 2144547.4811
XMax: -7452848.456
YMax: 11536823.1331
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"transparencyInfo","valueExpression":"/******************* % Strength of Predominance ********************************/\n\nvar fields = [\n { value: $feature.OCCADMN_CY, alias: \"Office/Admin\" },\n { value: $feature.OCCARCH_CY, alias: \"Architecture/Engineer\" },\n { value: $feature.OCCBLDG_CY, alias: \"Building Maintenance\" },\n { value: $feature.OCCBUS_CY, alias: \"Business/Financial\" },\n { value: $feature.OCCCOMP_CY, alias: \"Computer/Mathematical\" },\n { value: $feature.OCCCONS_CY, alias: \"Construction/Extraction\" },\n { value: $feature.OCCEDUC_CY, alias: \"Education/Library\" },\n { value: $feature.OCCENT_CY, alias: \"Arts/Entertainment/Rec\" },\n { value: $feature.OCCFARM_CY, alias: \"Farm/Fish/Forestry\" },\n { value: $feature.OCCFOOD_CY, alias: \"Food Preparation\" },\n { value: $feature.OCCHLTH_CY, alias: \"Health Support\" },\n { value: $feature.OCCHTCH_CY, alias: \"Health Practices\" },\n { value: $feature.OCCLEGL_CY, alias: \"Legal\" },\n { value: $feature.OCCMAIN_CY, alias: \"Maintenance/Repair\" },\n { value: $feature.OCCMGMT_CY, alias: \"Management\" },\n { value: $feature.OCCPERS_CY, alias: \"Personal Care\" },\n { value: $feature.OCCPROD_CY, alias: \"Production\" },\n { value: $feature.OCCPROT_CY, alias: \"Protective Service\" },\n { value: $feature.OCCSALE_CY, alias: \"Sales\" },\n { value: $feature.OCCSSCI_CY, alias: \"Life/Social Sciences\" },\n { value: $feature.OCCSSRV_CY, alias: \"Social Service\" },\n { value: $feature.OCCTRAN_CY, alias: \"Transportation/Moving\"}\n];\n\nfunction map (array, callback){\n var values = [];\n for(var k in array){\n values[k] = callback(array[k]);\n }\n return values;\n}\n\nfunction getFieldValueCallback (field){\n return field.value;\n}\n\nfunction getFieldValues(fieldsArray){\n return map(fieldsArray, getFieldValueCallback);\n}\n\nvar fieldValues = getFieldValues(fields);\n\nvar winner = Max(fieldValues);\nvar total = Sum(fieldValues);\nreturn (winner/total) * 100;\n","valueExpressionTitle":"Strength of Predominance","stops":[{"value":12,"transparency":70},{"value":22,"transparency":0}]},{"type":"sizeInfo","field":"OCCBASE_CY","valueExpression":null,"valueUnit":"unknown","minSize":{"type":"sizeInfo","expression":"view.scale","valueExpression":"$view.scale","stops":[{"value":1128,"size":12},{"value":9027,"size":12},{"value":2311163,"size":4.5},{"value":73957191,"size":3},{"value":591657528,"size":1.5}]},"maxSize":{"type":"sizeInfo","expression":"view.scale","valueExpression":"$view.scale","stops":[{"value":1128,"size":60},{"value":9027,"size":60},{"value":2311163,"size":37.5},{"value":73957191,"size":37.5},{"value":591657528,"size":18.75}]},"minDataValue":1000,"maxDataValue":30000}],"authoringInfo":{"visualVariables":[{"type":"sizeInfo","minSliderValue":0,"maxSliderValue":30771},{"type":"transparencyInfo","minSliderValue":7.7525450274079883,"maxSliderValue":100}]},"type":"uniqueValue","valueExpression":"/************************ Predominant Category *******************************************/\n\nvar fields = [\n { value: $feature.OCCADMN_CY, alias: \"Office/Admin\" },\n { value: $feature.OCCARCH_CY, alias: \"Architecture/Engineer\" },\n { value: $feature.OCCBLDG_CY, alias: \"Building Maintenance\" },\n { value: $feature.OCCBUS_CY, alias: \"Business/Financial\" },\n { value: $feature.OCCCOMP_CY, alias: \"Computer/Mathematical\" },\n { value: $feature.OCCCONS_CY, alias: \"Construction/Extraction\" },\n { value: $feature.OCCEDUC_CY, alias: \"Education/Library\" },\n { value: $feature.OCCENT_CY, alias: \"Arts/Entertainment/Rec\" },\n { value: $feature.OCCFARM_CY, alias: \"Farm/Fish/Forestry\" },\n { value: $feature.OCCFOOD_CY, alias: \"Food Preparation\" },\n { value: $feature.OCCHLTH_CY, alias: \"Health Support\" },\n { value: $feature.OCCHTCH_CY, alias: \"Health Practices\" },\n { value: $feature.OCCLEGL_CY, alias: \"Legal\" },\n { value: $feature.OCCMAIN_CY, alias: \"Maintenance/Repair\" },\n { value: $feature.OCCMGMT_CY, alias: \"Management\" },\n { value: $feature.OCCPERS_CY, alias: \"Personal Care\" },\n { value: $feature.OCCPROD_CY, alias: \"Production\" },\n { value: $feature.OCCPROT_CY, alias: \"Protective Service\" },\n { value: $feature.OCCSALE_CY, alias: \"Sales\" },\n { value: $feature.OCCSSCI_CY, alias: \"Life/Social Sciences\" },\n { value: $feature.OCCSSRV_CY, alias: \"Social Service\" },\n { value: $feature.OCCTRAN_CY, alias: \"Transportation/Moving\"}\n];\n\nfunction getPredominantCategory(fieldsArray){\n var maxValue = -Infinity;\n var maxCategory = \"\";\n for(var k in fieldsArray){\n if(fieldsArray[k].value > maxValue){\n maxValue = fieldsArray[k].value;\n maxCategory = fieldsArray[k].alias;\n } else if (fieldsArray[k].value == maxValue){\n maxCategory = maxCategory + \"/\" + fieldsArray[k].alias;\n } else {\n // max and predominant categories remain the same\n }\n }\n return maxCategory;\n}\n\ngetPredominantCategory(fields);\n\n","valueExpressionTitle":"Predominant Occupation","defaultSymbol":{"color":[170,170,170,255],"size":12,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"defaultLabel":"Other","uniqueValueInfos":[{"value":"Office/Admin","symbol":{"color":[230,0,73,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Office/Admin"},{"value":"Management","symbol":{"color":[11,180,255,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Management"},{"value":"Production","symbol":{"color":[155,25,245,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Production"},{"value":"Sales","symbol":{"color":[80,233,145,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Sales"},{"value":"Construction/Extraction","symbol":{"color":[220,10,180,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Construction/Extraction"},{"value":"Transportation/Moving","symbol":{"color":[230,216,0,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Transportation/Moving"},{"value":"Farm/Fish/Forestry","symbol":{"color":[0,191,160,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Farm/Fish/Forestry"},{"value":"Education/Library","symbol":{"color":[255,163,0,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Education/Library"},{"value":"Food Preparation","symbol":{"color":[179,212,255,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Food Preparation"},{"value":"Health Practices","symbol":{"color":[240,204,204,255],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Health Practices"},{"value":"Building Maintenance","symbol":{"color":[115,76,0,204],"size":9,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Building Maintenance"}],"backgroundFillSymbol":{"color":[0,0,0,0],"size":12,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},"transparency":0}
HasZ:
false
HasM:
false
Has Attachments:
false
Has Geometry Properties:
true
HTML Popup Type:
esriServerHTMLPopupTypeAsHTMLText
Object ID Field:
OBJECTID
Unique ID Field:
Name : OBJECTID
IsSystemMaintained : True
Global ID Field:
Type ID Field:
Fields:
OBJECTID
(type: esriFieldTypeOID, alias: OBJECTID, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)
ID
(type: esriFieldTypeString, alias: ID, SQL Type: sqlTypeOther, length: 11, nullable: true, editable: true)
NAME
(type: esriFieldTypeString, alias: NAME, SQL Type: sqlTypeOther, length: 12, nullable: true, editable: true)
STATE_NAME
(type: esriFieldTypeString, alias: STATE_NAME, SQL Type: sqlTypeOther, length: 20, nullable: true, editable: true)
ST_ABBREV
(type: esriFieldTypeString, alias: ST_ABBREV, SQL Type: sqlTypeOther, length: 2, nullable: true, editable: true)
OCCMGMT_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Management (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCBUS_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Business/Financial (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCCOMP_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Computer/Mathematical (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCARCH_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Architecture/Engineering (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCSSCI_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Life/Physical/Social Science (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCSSRV_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Community/Social Service (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCLEGL_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Legal (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCEDUC_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Education/Training/Library (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCENT_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Arts/Design/Entertainment/Sports/Media (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCHTCH_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Healthcare Practitioner/Technician (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCHLTH_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Healthcare Support (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCPROT_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Protective Service (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCFOOD_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Food Preparation/Serving Related (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCBLDG_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Building/Grounds Cleaning/Maintenance (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCPERS_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Personal Care/Service (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCSALE_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Sales and Sales Related (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCADMN_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Office/Administrative Support (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCFARM_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Farming/Fishing/Forestry (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCCONS_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Construction/Extraction (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCMAIN_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Installation/Maintenance/Repair (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCPROD_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Production (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCTRAN_CY
(type: esriFieldTypeInteger, alias: 2018 Occupation: Transportation/Material Moving (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
OCCBASE_CY
(type: esriFieldTypeInteger, alias: 2018 Employed Civilian Population Age 16+ by Occupation Base (Esri), SQL Type: sqlTypeOther, nullable: true, editable: true)
Shape__Area
(type: esriFieldTypeDouble, alias: Shape__Area, SQL Type: sqlTypeDouble, nullable: true, editable: false)
Shape__Length
(type: esriFieldTypeDouble, alias: Shape__Length, SQL Type: sqlTypeDouble, nullable: true, editable: false)
Templates:
Name: New Feature
Description:
Drawing Tool: esriFeatureEditToolNone
Prototype:
Attributes:
Is Data Versioned:
false
Has Contingent Values:
false
Supports Rollback On Failure Parameter:
true
Last Edit Date:
2/17/2021 2:13:35 AM
Schema Last Edit Date:
2/17/2021 2:13:35 AM
Data Last Edit Date:
2/17/2021 2:13:35 AM