Input polygons

Locations can be passed as input polygon record sets. This form of a study area will directly use the input polygon to enrich and return data for the area.

Request parameters

ParameterDetails

studyAreas

Required parameter to specify a list of input features to be enriched. Study areas can be map areas described as polygons.

Examples

Example 1 - Map areas described as polygons:

studyAreas=[{"geometry":{"rings":[[[-117.185412,34.063170],[-122.81,37.81],[-117.200570,34.057196],[-117.185412,34.063170]]],"spatialReference":{"wkid":4326}},"attributes":{"id":"1","name":"optional polygon area name"}}]

Additional notes

  • All input feature attributes, if provided, will be carried over into the output response. If the input attributes are unique to each input feature, this behavior can be leveraged to uniquely bind or associate the input features with the corresponding output features. See example 3
  • If the input features are submitted without attributes, the "id" attribute will be appended to each feature in the output response. The "id" attribute values will represent the zero-based array index of the input features submitted with the studyAreas parameter.
  • The request sent to the service cannot be greater than 10mb.
  • Currently, a maximum of 100 features can be enriched with the service per request.

dataCollections

Optional parameter to specify a list of Data Collections.

A Data Collection is a preassembled list of attributes that will be used to enrich the input features. Enrichment attributes can describe various types of information such as demographic characteristics and geographic context of the locations or areas submitted as input features in studyAreas.

Default value

["KeyGlobalFacts"]

A standard list of enrichment attributes.

Examples

Example 1:

dataCollections=["KeyGlobalFacts"]

Example 2:

dataCollections=["KeyUSFacts"]

Example 3:

dataCollections=["KeyGlobalFacts","KeyUSFacts"]

Additional notes

analysisVariables

Optional parameter to specify a subset of variables to be returned from one or more Data Collections.

A Data Collection is a preassembled list of attributes that will be used to enrich the input features. With the analysisVariables parameter you can return a subset of variables Enrichment attributes can describe various types of information such as demographic characteristics and geographic context of the locations or areas submitted as input features in studyAreas.

Examples

Example 1:

analysisVariables=["KeyGlobalFacts.TOTPOP"]

Example 2:

analysisVariables=["KeyGlobalFacts.TOTPOP", "AGE.MALE0", "AGE.MALE5"]

Example 3:

analysisVariables=["KeyGlobalFacts.TOTPOP", "AGE.* "]

Additional notes

  • Usage and metering will only be based on the number of variables that are returned
  • You can use an asterisk to return all variables for a given data collection (e.g. "KeyGlobalFacts.*")

addDerivativeVariables

Optional parameter to specify an array of string values that describe what derivative variables to include in the output.

Examples

Example 1 - Return a data collection with the additional variables and associated metadata for percent's, averages and index values:

addDerivativeVariables=all

Example 2 - Return a data collection with the additional variables and associated metadata for index values:

addDerivativeVariables=index

Additional notes

  • The enumerated list of accepted values are as follows:

    addDerivativeVariables=percent,index,average,all,*

  • Support the use of the derivative statistics can also be performed in the enrich operation through the analysisVariables parameter.
  • Example:

    http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/Enrich?studyareas=[{"geometry":{"rings":[[[-117.26,32.81],[-117.40,32.92],[-117.12,32.80],[-117.26,32.81]]],"spatialReference":{"wkid":4326}},"attributes":{"id":"Polygon 1","name":"Study Area 1"}}]&analysisvariables=["TravelCEX.X7003_X"]&addDerivativeVariables=index&f=pjson

    {
      "results" : [ {
        "paramName" : "GeoEnrichmentResult",
        "dataType" : "GeoEnrichmentResult",
        "value" : {
          "version" : "2.0",
          "FeatureSet" : [ {
            "displayFieldName" : "",
            "fieldAliases" : {
              "ID" : "ID",
              "OBJECTID" : "Object ID",
              "sourceCountry" : "sourceCountry",
              "areaType" : "areaType",
              "bufferUnits" : "bufferUnits",
              "bufferUnitsAlias" : "bufferUnitsAlias",
              "bufferRadii" : "bufferRadii",
              "aggregationMethod" : "aggregationMethod",
              "HasData" : "HasData",
              "X7003_X" : "Airline Fares",
              "X7003_X_I" : "Airline Fares: Index"
            },
            "spatialReference" : {
              "wkid" : 4326,
              "latestWkid" : 4326
            },
            "fields" : [ {
              "name" : "ID",
              "type" : "esriFieldTypeString",
              "alias" : "ID",
              "length" : 256
            }, {
              "name" : "OBJECTID",
              "type" : "esriFieldTypeOID",
              "alias" : "Object ID"
            }, {
              "name" : "sourceCountry",
              "type" : "esriFieldTypeString",
              "alias" : "sourceCountry",
              "length" : 256
            }, {
              "name" : "areaType",
              "type" : "esriFieldTypeString",
              "alias" : "areaType",
              "length" : 256
            }, {
              "name" : "bufferUnits",
              "type" : "esriFieldTypeString",
              "alias" : "bufferUnits",
              "length" : 256
            }, {
              "name" : "bufferUnitsAlias",
              "type" : "esriFieldTypeString",
              "alias" : "bufferUnitsAlias",
              "length" : 256
            }, {
              "name" : "bufferRadii",
              "type" : "esriFieldTypeDouble",
              "alias" : "bufferRadii"
            }, {
              "name" : "aggregationMethod",
              "type" : "esriFieldTypeString",
              "alias" : "aggregationMethod",
              "length" : 256
            }, {
              "name" : "HasData",
              "type" : "esriFieldTypeInteger",
              "alias" : "HasData"
            }, {
              "name" : "X7003_X",
              "type" : "esriFieldTypeDouble",
              "alias" : "Airline Fares",
              "fullName" : "TravelCEX.X7003_X",
              "component" : "demographics",
              "decimals" : 0,
              "units" : "currency",
              "currency" : "$"
            }, {
              "name" : "X7003_X_I",
              "type" : "esriFieldTypeInteger",
              "alias" : "Airline Fares: Index",
              "fullName" : "TravelCEX.X7003_X_I",
              "decimals" : 0,
              "units" : "other"
            } ],
            "features" : [ {
              "attributes" : {
                "ID" : "0",
                "OBJECTID" : 1,
                "sourceCountry" : "US",
                "areaType" : "RingBuffer",
                "bufferUnits" : "esriMiles",
                "bufferUnitsAlias" : "mile",
                "bufferRadii" : 1,
                "aggregationMethod" : "BlockApportionment:US.BlockGroups",
                "HasData" : 1,
                "X7003_X" : 4691891,
                "X7003_X_I" : 103
              }
            } ]
          } ]
        }
      } ],
      "messages" : [ ]
    }

studyAreasOptions

This parameter is only applicable to input study areas that are based on points. This parameter is not needed and ignored for input polygon study areas.

Default value

(null or empty)

Additional notes

  • This parameter should only be set for input points, street address and point-based feature service-based study areas.

useData

Optional parameter to explicitly specify the country and optional dataset to query.

When all input features specified in the studyAreas parameter describe locations or areas that lie in the same country or dataset, this optional parameter can be specified to provide an additional performance hint to the service.

By default, the service will automatically determine the country or dataset that is associated with each location or area submitted in the studyAreas parameter; however, there is an associated computational cost that can lengthen the time it takes to return a response. To skip this intermediate step and potentially improve the speed and performance of the service, the caller can specify the country or dataset information up front through this parameter.

Default value

(null or empty)

The default behavior will be followed.

Examples

Example 1 - Indicate to the service that all of the input features in the studyAreas parameter describe locations or areas in the U.S.:

useData={"sourceCountry":"US"}

Example 2 - Indicate to the service that all of the input features in the studyAreas parameter describe locations or areas in Canada:

useData={"sourceCountry":"CA"}

Example 3 - Indicate to the service that all of the input features in the studyAreas parameter describe locations or areas in the U.S. USA_ESRI_2013 dataset:

useData={"sourceCountry":"US","dataset":"USA_ESRI_2013"}

Example 4 - Indicate to the service that :

useData={"sourceCountry":"CA","hierarchy":"default"}

Example 5 - Indicate to the service that :

useData={"sourceCountry":"US","hierarchy":"landscape"}

Additional notes

  • As an alternative, datasets in GeoEnrichment could be replaced with hierarchies. For many countries there will be a single "default" hierarchy of geographies but for US there will be two hierarchies: "default" and "landscape"
  • GeoEnrichment is available for a number of countries described in the coverage section of the documentation. New countries will be added in the future.
  • Use the countries discovery method to obtain a list of available datasets:

    https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/Countries/United States?f=pjson

    {
     "countries": [
      {
       "id": "US",
       "name": "United States",
       "abbr3": "USA",
       "altName": "UNITED STATES",
       "continent": "North America",
       "distanceUnits": "Miles",
       "esriUnits": "esriMiles",
       "defaultExtent": {
        "xmin": -178.48633078029144,
        "ymin": 18.871742416926232,
        "xmax": -66.90765216180796,
        "ymax": 71.403759083950263
       },
       "defaultDatasetID": "USA_ESRI_2016",
       "datasets": [
        "LANDSCAPE",
        "USA_ACS_2016",
        "USA_ASR_2016",
        "USA_ESRI_2016",
        "USA_RMP_2016"
       ],
       "hierarchies": [
        {
         "ID": "census",
         "datasets": [
          "USA_ACS_2016",
          "USA_ASR_2016",
          "USA_ESRI_2016",
          "USA_RMP_2016"
         ]
        },
        {
         "ID": "landscape",
         "datasets": [
          "LANDSCAPE"
         ]
        }
       ],
       "defaultDataCollection": "KeyGlobalFacts",
       "dataCollections": "",
       "defaultReportTemplate": "Demographic and Income Profile",
       "currencySymbol": "$",
       "currencyFormat": "$0;-$0"
      }
     ]
    }

Note:

You can now navigate using the ISO standardized two-digit country code for each country.

https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/Countries/US?f=pjson

intersectingGeographies

Optional parameter to explicitly define the geographic layers used to provide geographic context during the enrichment process. For example, you can use this optional parameter to return the U.S. county and ZIP Code that each input study area intersects.

You can intersect input features defined in the studyAreas parameter with standard geography layers that are provided be the GeoEnrichment service for each country. You can also intersect features from a publicly available feature service.

The intersectingGeographies parameter should be constructed as a JSON array of an IntersectingGeographies object which consists of the following elements:

Value Description

geographyType

Used to specify the type of intersection layer. Specify standard to intersect with standard geography layers that are provided by the GeoEnrichment service for each country. Specify external to intersect features from a publicly available feature service.

layer

Specifies which Standard Geography layer should be intersected (e.g., U.S.Counties). These are an array of layers, so you can set one or many layers to intersect. These layers are defined in the Coverage section. At least one layer must be defined if geographyType is set to standard.

URL

Optional URL if you want to intersect features from an external feature service. This layer must be defined if geographyType is set to external.

name

Optional alias name of the output geography layer being intersected. For example, you can set the name of US.Counties to Counties in the GeoEnrichment output.

geometryType

Specifies how input studyAreas should intersect specified geography. If this is set to esriGeometryPoint, one intersecting feature is returned that intersects the centroid of each input polygon. If this is set to esriGeometryPolygon, all intersecting features are returned that intersect the input study area polygon.

outFields

You can optionally define the list of output fields from the intersected layer that will be appended to the GeoEnrichment response as geocontext items.

spatialRel

The optional spatial relationship to be applied on the intersecting layer. The supported spatial relationships include intersects, contains, envelope intersects, within, and so on. The default spatial relationship is intersects (esriSpatialRelIntersects).

where

You can define an optional where clause.

Default value

none

No intersecting geographies will be included in the output response.

returnGeometry

Optional parameter to request the output geometries in the response.

When this parameter is set to true, the output geometries associated with each feature will be included in the response. The output geometries will be in the spatial reference system defined by outSR.

Default value

false

The output geometries will not be returned with each feature in the response.

Examples

Example 1 - Request the output geometries in the response:

returnGeometry=true

Additional notes

  • Requesting output geometries can significantly increase the payload size of the output response which will increase the amount of time it takes to receive the response and negatively affect the speed and performance of any client applications consuming the service.

inSR

Optional parameter to define the input geometries in the studyAreas parameter in a specified spatial reference system.

When input points are defined in the studyAreas parameter, this optional parameter can be specified to explicitly indicate the spatial reference system of the point features. The parameter value can be specified as the well-known ID describing the projected coordinate system or geographic coordinate system.

Default value

4326

The standard latitude and longitude-based geographic coordinate system based on the WGS 1984 datum will be used.

Examples

Example 1 - Specify the output geometry in the Web Mercator (Auxiliary Sphere) projected coordinate system based on the WGS 1984 datum:

inSR=3857

Additional notes

outSR

Optional parameter to request the output geometries in a specified spatial reference system.

When returnGeometry is set to true, this optional parameter can be specified to explicitly indicate the spatial reference system of the output geometry. The parameter value can be specified as the well-known ID describing the projected coordinate system or geographic coordinate system.

Default value

4326

The standard latitude and longitude-based geographic coordinate system based on the WGS 1984 datum will be used.

Examples

Example 1 - Specify the output geometry in the Web Mercator (Auxiliary Sphere) projected coordinate system based on the WGS 1984 datum:

outSR=3857

Additional notes

suppressNullValues

Optional parameter to return only values that are not NULL in the output response. Adding the optional suppressNullValues parameter to any data collections discovery method will reduce the size of the output that is returned.

Default value

false

Example

suppressNullValues=true

Additional notes

  • Setting this optional parameter to true will significantly reduce the size of the output of the data collection response.
  • You will have to handle duck typed cases where some metadata may not be returned for a given variables because a value is set to NULL.

f

Optional parameter to specify the output response format.

Default value

json

The output response will be returned in HTML format.

Examples

Example 1 - Request the output geometries in JSON format:

f=json

Additional notes

  • Supported formats include JSON and XML.

Example usage

        
      

Request example 1:

Enrich a single area defined by a polygon feature with attributes defined in a specified Data Collection and include the associated geometry in the response. Optionally, rename the polygon and include information about all of the boundary areas within the three default administrative levels that intersect any part of the input area.

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/GeoEnrichment/enrich?StudyAreas=[{"geometry":{"rings":[[[-117.217855,32.842137],[-117.219443,32.847293],[-117.216611,32.853999],[-117.23249,32.849312],[-117.234249,32.843399],[-117.229571,32.839108],[-117.217855,32.842137]]],"spatialReference":{"wkid":4326}},"attributes":{"id":"Polygon 1","name":"University City West"}}]&StudyAreasOptions={"GeometryType":"esriGeometryPolygon","SpatialRelationship":"esriSpatialRelIntersects"}&dataCollections=["KeyUSFacts"]&returngeometry=true&f=pjson

JSON response example 1
{
  "results" : [ {
    "paramName" : "GeoEnrichmentResult",
    "dataType" : "GeoEnrichmentResult",
    "value" : {
      "version" : "2.0",
      "FeatureSet" : [ {
        "displayFieldName" : "",
        "fieldAliases" : {
          "ID_0" : "ID_0",
          "OBJECTID" : "Object ID",
          "sourceCountry" : "sourceCountry",
          "name" : "name",
          "id" : "id",
          "aggregationMethod" : "aggregationMethod",
          "HasData" : "HasData",
          "TOTPOP00" : "2000 Total Population",
          "TOTPOP10" : "2010 Total Population",
          "TOTPOP_CY" : "2016 Total Population",
          "TOTPOP_FY" : "2021 Total Population",
          "GQPOP_CY" : "2016 Population in Group Quarters",
          "DIVINDX_CY" : "2016 Diversity Index",
          "TOTHH00" : "2000 Total Households",
          "TOTHH10" : "2010 Total Households",
          "TOTHH_CY" : "2016 Total Households",
          "TOTHH_FY" : "2021 Total Households",
          "AVGHHSZ_CY" : "2016 Average Household Size",
          "MEDHINC_CY" : "2016 Median Household Income",
          "MEDHINC_FY" : "2021 Median Household Income",
          "AVGHINC_CY" : "2016 Average Household Income",
          "AVGHINC_FY" : "2021 Average Household Income",
          "PCI_CY" : "2016 Per Capita Income",
          "PCI_FY" : "2021 Per Capita Income",
          "TOTHU00" : "2000 Total Housing Units",
          "TOTHU10" : "2010 Total Housing Units",
          "TOTHU_CY" : "2016 Total Housing Units",
          "TOTHU_FY" : "2021 Total Housing Units",
          "OWNER_CY" : "2016 Owner Occupied HUs",
          "OWNER_FY" : "2021 Owner Occupied HUs",
          "RENTER_CY" : "2016 Renter Occupied HUs",
          "RENTER_FY" : "2021 Renter Occupied HUs",
          "VACANT_CY" : "2016 Vacant Housing Units",
          "VACANT_FY" : "2021 Vacant Housing Units",
          "MEDVAL_CY" : "2016 Median Home Value",
          "MEDVAL_FY" : "2021 Median Home Value",
          "AVGVAL_CY" : "2016 Average Home Value",
          "AVGVAL_FY" : "2021 Average Home Value",
          "POPGRW10CY" : "2010-2016 Growth Rate: Population",
          "HHGRW10CY" : "2010-2016 Growth Rate: Households",
          "FAMGRW10CY" : "2010-2016 Growth Rate: Families",
          "POPGRWCYFY" : "2016-2021 Growth/Yr: Population",
          "HHGRWCYFY" : "2016-2021 Growth/Yr: Households",
          "FAMGRWCYFY" : "2016-2021 Growth/Yr: Families",
          "MHIGRWCYFY" : "2016-2021 Growth/Yr: Median HH Inc",
          "PCIGRWCYFY" : "2016-2021 Growth/Yr: Per Capita Income",
          "DPOP_CY" : "2016 Total Daytime Population",
          "DPOPWRK_CY" : "2016 Daytime Pop: Workers",
          "DPOPRES_CY" : "2016 Daytime Pop: Residents"
        },
        "geometryType" : "esriGeometryPolygon",
        "spatialReference" : {
          "wkid" : 4326,
          "latestWkid" : 4326
        },
        "fields" : [ {
          "name" : "ID_0",
          "type" : "esriFieldTypeString",
          "alias" : "ID_0",
          "length" : 256
        }, {
          "name" : "OBJECTID",
          "type" : "esriFieldTypeOID",
          "alias" : "Object ID"
        }, {
          "name" : "sourceCountry",
          "type" : "esriFieldTypeString",
          "alias" : "sourceCountry",
          "length" : 256
        }, {
          "name" : "name",
          "type" : "esriFieldTypeString",
          "alias" : "name",
          "length" : 256
        }, {
          "name" : "id",
          "type" : "esriFieldTypeString",
          "alias" : "id",
          "length" : 256
        }, {
          "name" : "aggregationMethod",
          "type" : "esriFieldTypeString",
          "alias" : "aggregationMethod",
          "length" : 256
        }, {
          "name" : "HasData",
          "type" : "esriFieldTypeInteger",
          "alias" : "HasData"
        }, {
          "name" : "TOTPOP00",
          "type" : "esriFieldTypeDouble",
          "alias" : "2000 Total Population",
          "fullName" : "KeyUSFacts.TOTPOP00",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTPOP10",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010 Total Population",
          "fullName" : "KeyUSFacts.TOTPOP10",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTPOP_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Total Population",
          "fullName" : "KeyUSFacts.TOTPOP_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTPOP_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Total Population",
          "fullName" : "KeyUSFacts.TOTPOP_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "GQPOP_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Population in Group Quarters",
          "fullName" : "KeyUSFacts.GQPOP_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "DIVINDX_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Diversity Index",
          "fullName" : "KeyUSFacts.DIVINDX_CY",
          "component" : "demographics",
          "decimals" : 1,
          "units" : "count"
        }, {
          "name" : "TOTHH00",
          "type" : "esriFieldTypeDouble",
          "alias" : "2000 Total Households",
          "fullName" : "KeyUSFacts.TOTHH00",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHH10",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010 Total Households",
          "fullName" : "KeyUSFacts.TOTHH10",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHH_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Total Households",
          "fullName" : "KeyUSFacts.TOTHH_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHH_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Total Households",
          "fullName" : "KeyUSFacts.TOTHH_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "AVGHHSZ_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Average Household Size",
          "fullName" : "KeyUSFacts.AVGHHSZ_CY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "count"
        }, {
          "name" : "MEDHINC_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Median Household Income",
          "fullName" : "KeyUSFacts.MEDHINC_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "MEDHINC_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Median Household Income",
          "fullName" : "KeyUSFacts.MEDHINC_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "AVGHINC_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Average Household Income",
          "fullName" : "KeyUSFacts.AVGHINC_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "AVGHINC_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Average Household Income",
          "fullName" : "KeyUSFacts.AVGHINC_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "PCI_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Per Capita Income",
          "fullName" : "KeyUSFacts.PCI_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "PCI_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Per Capita Income",
          "fullName" : "KeyUSFacts.PCI_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "TOTHU00",
          "type" : "esriFieldTypeDouble",
          "alias" : "2000 Total Housing Units",
          "fullName" : "KeyUSFacts.TOTHU00",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHU10",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010 Total Housing Units",
          "fullName" : "KeyUSFacts.TOTHU10",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHU_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Total Housing Units",
          "fullName" : "KeyUSFacts.TOTHU_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "TOTHU_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Total Housing Units",
          "fullName" : "KeyUSFacts.TOTHU_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "OWNER_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Owner Occupied HUs",
          "fullName" : "KeyUSFacts.OWNER_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "OWNER_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Owner Occupied HUs",
          "fullName" : "KeyUSFacts.OWNER_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "RENTER_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Renter Occupied HUs",
          "fullName" : "KeyUSFacts.RENTER_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "RENTER_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Renter Occupied HUs",
          "fullName" : "KeyUSFacts.RENTER_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "VACANT_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Vacant Housing Units",
          "fullName" : "KeyUSFacts.VACANT_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "VACANT_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Vacant Housing Units",
          "fullName" : "KeyUSFacts.VACANT_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "MEDVAL_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Median Home Value",
          "fullName" : "KeyUSFacts.MEDVAL_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "MEDVAL_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Median Home Value",
          "fullName" : "KeyUSFacts.MEDVAL_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "AVGVAL_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Average Home Value",
          "fullName" : "KeyUSFacts.AVGVAL_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "AVGVAL_FY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2021 Average Home Value",
          "fullName" : "KeyUSFacts.AVGVAL_FY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "currency",
          "currency" : "$"
        }, {
          "name" : "POPGRW10CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010-2016 Growth Rate: Population",
          "fullName" : "KeyUSFacts.POPGRW10CY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "HHGRW10CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010-2016 Growth Rate: Households",
          "fullName" : "KeyUSFacts.HHGRW10CY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "FAMGRW10CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2010-2016 Growth Rate: Families",
          "fullName" : "KeyUSFacts.FAMGRW10CY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "POPGRWCYFY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016-2021 Growth/Yr: Population",
          "fullName" : "KeyUSFacts.POPGRWCYFY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "HHGRWCYFY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016-2021 Growth/Yr: Households",
          "fullName" : "KeyUSFacts.HHGRWCYFY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "FAMGRWCYFY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016-2021 Growth/Yr: Families",
          "fullName" : "KeyUSFacts.FAMGRWCYFY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "MHIGRWCYFY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016-2021 Growth/Yr: Median HH Inc",
          "fullName" : "KeyUSFacts.MHIGRWCYFY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "PCIGRWCYFY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016-2021 Growth/Yr: Per Capita Income",
          "fullName" : "KeyUSFacts.PCIGRWCYFY",
          "component" : "demographics",
          "decimals" : 2,
          "units" : "pct"
        }, {
          "name" : "DPOP_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Total Daytime Population",
          "fullName" : "KeyUSFacts.DPOP_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "DPOPWRK_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Daytime Pop: Workers",
          "fullName" : "KeyUSFacts.DPOPWRK_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        }, {
          "name" : "DPOPRES_CY",
          "type" : "esriFieldTypeDouble",
          "alias" : "2016 Daytime Pop: Residents",
          "fullName" : "KeyUSFacts.DPOPRES_CY",
          "component" : "demographics",
          "decimals" : 0,
          "units" : "count"
        } ],
        "features" : [ {
          "attributes" : {
            "ID_0" : "0",
            "OBJECTID" : 1,
            "sourceCountry" : "US",
            "name" : "University City West",
            "id" : "Polygon 1",
            "aggregationMethod" : "BlockApportionment:US.BlockGroups",
            "HasData" : 1,
            "TOTPOP00" : 2969,
            "TOTPOP10" : 2880,
            "TOTPOP_CY" : 2993,
            "TOTPOP_FY" : 3127,
            "GQPOP_CY" : 0,
            "DIVINDX_CY" : 39.8,
            "TOTHH00" : 1135,
            "TOTHH10" : 1122,
            "TOTHH_CY" : 1147,
            "TOTHH_FY" : 1192,
            "AVGHHSZ_CY" : 2.61,
            "MEDHINC_CY" : 103220,
            "MEDHINC_FY" : 113236,
            "AVGHINC_CY" : 142089,
            "AVGHINC_FY" : 154757,
            "PCI_CY" : 54760,
            "PCI_FY" : 59324,
            "TOTHU00" : 1146,
            "TOTHU10" : 1152,
            "TOTHU_CY" : 1179,
            "TOTHU_FY" : 1225,
            "OWNER_CY" : 1004,
            "OWNER_FY" : 1041,
            "RENTER_CY" : 143,
            "RENTER_FY" : 151,
            "VACANT_CY" : 32,
            "VACANT_FY" : 33,
            "MEDVAL_CY" : 739411,
            "MEDVAL_FY" : 764217,
            "AVGVAL_CY" : 762388,
            "AVGVAL_FY" : 779107,
            "POPGRW10CY" : 0.62,
            "HHGRW10CY" : 0.35,
            "FAMGRW10CY" : 0.38,
            "POPGRWCYFY" : 0.88,
            "HHGRWCYFY" : 0.77,
            "FAMGRWCYFY" : 0.75,
            "MHIGRWCYFY" : 1.87,
            "PCIGRWCYFY" : 1.61,
            "DPOP_CY" : 1825,
            "DPOPWRK_CY" : 237,
            "DPOPRES_CY" : 1588
          },
      "geometry": {
         "rings": [
          [
           [
            -117.2178549999999,
            32.84213699999999 
           ],
           [
            -117.22957100000002,
            32.83910799999999 
           ],
           [
            -117.23424900000002,
            32.84339899999999 
           ],
           [
            -117.23249000000001,
            32.84931199999999
           ],
           [
            -117.21661099999999,
            32.853998999999995
           ],
           [
            -117.219443,
            32.84729299999999
           ],
           [
            -117.217855,
            32.84213699999999
           ]
          ]
         ]
        },
        "attributes": {
         "ID": "0",
         "ID_0": "Polygon 1",
         "name": "University City West",
         "sourceCountry": "US",
         "AREA_ID": "0",
         "HasData": 1,
         "aggregationMethod": "BlockApportionment:US.BlockGroups",
         "TOTPOP00": 2969,
         "TOTPOP10": 2880,
         "TOTPOP_CY": 2993,
         "TOTPOP_FY": 3127,
         "GQPOP_CY": 0,
         "DIVINDX_CY": 39.8,
         "TOTHH00": 1135,
         "TOTHH10": 1122,
         "TOTHH_CY": 1147,
         "TOTHH_FY": 1192,
         "AVGHHSZ_CY": 2.61,
         "MEDHINC_CY": 103220,
         "MEDHINC_FY": 113236,
         "AVGHINC_CY": 142089,
         "AVGHINC_FY": 154757,
         "PCI_CY": 54760,
         "PCI_FY": 59324,
         "TOTHU00": 1146,
         "TOTHU10": 1152,
         "TOTHU_CY": 1179,
         "TOTHU_FY": 1225,
         "OWNER_CY": 1004,
         "OWNER_FY": 1041,
         "RENTER_CY": 143,
         "RENTER_FY": 151,
         "VACANT_CY": 32,
         "VACANT_FY": 33,
         "MEDVAL_CY": 739411,
         "MEDVAL_FY": 764217,
         "AVGVAL_CY": 762388,
         "AVGVAL_FY": 779107,
         "POPGRW10CY": 0.62,
         "HHGRW10CY": 0.35,
         "FAMGRW10CY": 0.38,
         "POPGRWCYFY": 0.88,
         "HHGRWCYFY": 0.77,
         "FAMGRWCYFY": 0.75,
         "MHIGRWCYFY": 1.87,
         "PCIGRWCYFY": 1.61,
         "OBJECTID": 1
        }
       }
      ]
     }
    ]
   }
  }
 ],
 "messages": []
}

Notes:

  • A list of attributes describing the area's demographic characteristics and geographic context, as defined in the default Data Collection, is returned in the response.
  • User defined attributes are submitted with the input feature and will be carried over into the response. This can be useful in associating the input feature with the output.

JSON response rendered with ArcGIS for Desktop.

User-defined polygon

Notes:

  • Transparency and fill properties have been adjusted for illustrative purposes.

        
      

Request example 2:

Enrich a single area defined by a polygon feature with attributes defined in a specified Data Collection and include information about all of the boundary areas within the three default administrative levels that intersect any part of the input area.

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/GeoEnrichment/enrich?StudyAreas=[{"geometry":{"rings":[[[-117.26,32.81],[-117.40,32.92],[-117.12,32.80],[-117.26,32.81]]],"spatialReference":{"wkid":4326}},"attributes":{"id":"Polygon 1","name":"Optional Name 1"}}]&StudyAreasOptions={"GeometryType":"esriGeometryPolygon","SpatialRelationship":"esriSpatialRelIntersects"}&dataCollections=["KeyUSFacts"]&f=pjson

{
 "results": [
  {
   "paramName": "GeoEnrichmentResult",
   "dataType": "GeoEnrichmentResult",
   "value": {
    "version": "2.0",
    "FeatureSet": [
     {
      "displayFieldName": "",
      "fieldAliases": {
       "ID_0": "ID_0",
       "OBJECTID": "Object ID",
       "sourceCountry": "sourceCountry",
       "name": "name",
       "id": "id",
       "aggregationMethod": "aggregationMethod",
       "HasData": "HasData",
       "TOTPOP00": "2000 Total Population",
       "TOTPOP10": "2010 Total Population",

       ...

       "PCIGRWCYFY": "2016-2021 Growth/Yr: Per Capita Income"
      },
      "spatialReference": {
       "wkid": 4326,
       "latestWkid": 4326
      },
      "fields": [
       {
        "name": "ID_0",
        "type": "esriFieldTypeString",
        "alias": "ID_0",
        "length": 256
       },
       {
        "name": "OBJECTID",
        "type": "esriFieldTypeOID",
        "alias": "Object ID"
       },
       {
        "name": "sourceCountry",
        "type": "esriFieldTypeString",
        "alias": "sourceCountry",
        "length": 256
       },
       {
        "name": "name",
        "type": "esriFieldTypeString",
        "alias": "name",
        "length": 256
       },
       {
        "name": "id",
        "type": "esriFieldTypeString",
        "alias": "id",
        "length": 256
       },
       {
        "name": "aggregationMethod",
        "type": "esriFieldTypeString",
        "alias": "aggregationMethod",
        "length": 256
       },
       {
        "name": "HasData",
        "type": "esriFieldTypeInteger",
        "alias": "HasData"
       },
       {
        "name": "TOTPOP00",
        "type": "esriFieldTypeDouble",
        "alias": "2000 Total Population",
        "fullName": "KeyUSFacts.TOTPOP00",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       },
       {
        "name": "TOTPOP10",
        "type": "esriFieldTypeDouble",
        "alias": "2010 Total Population",
        "fullName": "KeyUSFacts.TOTPOP10",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       },

       ...

       {
        "name": "PCIGRWCYFY",
        "type": "esriFieldTypeDouble",
        "alias": "2016-2021 Growth/Yr: Per Capita Income",
        "fullName": "KeyUSFacts.PCIGRWCYFY",
        "component": "demographics",
        "decimals": 2,
        "units": "pct"
       }
      ],
      "features": [
       {
        "attributes": {
         "ID_0": "0",
         "OBJECTID": 1,
         "sourceCountry": "US",
         "name": "Optional Name 1",
         "id": "Polygon 1",
         "aggregationMethod": "BlockApportionment:US.BlockGroups",
         "HasData": 1,
         "TOTPOP00": 80786,
         "TOTPOP10": 80256,

         ...

         "PCIGRWCYFY": 1.67
        }
       }
      ]
     }
    ]
   }
  }
 ],
 "messages": []
}

Notes:

  • The response has been abbreviated in the example where "..." is noted.
  • A list of attributes describing the area's demographic characteristics and geographic context, as defined in the KeyUSFacts Data Collection, is returned in the response.
  • User defined attributes are submitted with the input feature and will be carried over into the response. This can be useful in associating the input feature with the output.
  • The default geographic context that is returned in all responses includes the descriptions of three levels of administrative areas: the country level, the first level major administrative boundary level such as state or province, and the ZIP (U.S.) or postal code level. In studyAreasOptions, an intersection relationship has been specified and will result in the inclusion of the descriptions of all of the boundary areas from the three default administrative levels that intersect any part of the input area to be included in the response.

        
      

Request example 3:

Enrich a single area defined by a polygon feature plus hierarchy.

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/Enrich?studyareas=[{"geometry":{"rings":[[[-117.26,38.81],[-117.40,38.92],[-117.12,38.80],[-117.26,38.81]]],"spatialReference":{"wkid":4326}},"attributes":{"id":"1","name":"optional polygon area name"}}]&datacollections=["LandscapeFacts"]&usedata={"sourceCountry":"US","hierarchy":"landscape"}&f=pjson

JSON response example 3
{
 "results": [
  {
   "paramName": "GeoEnrichmentResult",
   "dataType": "GeoEnrichmentResult",
   "value": {
    "version": "2.0",
    "FeatureSet": [
     {
      "displayFieldName": "",
      "fieldAliases": {
       "ID_0": "ID_0",
       "OBJECTID": "Object ID",
       "sourceCountry": "sourceCountry",
       "name": "name",
       "id": "id",
       "aggregationMethod": "aggregationMethod",
       "HasData": "HasData",
       "FedLandPt": "% Federal Lands",
       "CritHabPt": "% Critical Habitat",
       "NWIwetldPt": "% Wetland (NWI)",
       "NLCDDevPt": "% Developed (NLCD)",
       "WildAreaPt": "% Wilderness Areas",
       "Slope30mMe": "Mean Slope",
       "NLCDfrstPt": "% Forest (NLCD)",
       "NLCDAgPt": "% Pasture/Hay/Cultivated Crops (NLCD)",
       "MeanSoilAv": "Mean Available Water Storage (150 cm)"
      },
      "spatialReference": {
       "wkid": 4326,
       "latestWkid": 4326
      },
      "fields": [
       {
        "name": "ID_0",
        "type": "esriFieldTypeString",
        "alias": "ID_0",
        "length": 256
       },
       {
        "name": "OBJECTID",
        "type": "esriFieldTypeOID",
        "alias": "Object ID"
       },
       {
        "name": "sourceCountry",
        "type": "esriFieldTypeString",
        "alias": "sourceCountry",
        "length": 256
       },
       {
        "name": "name",
        "type": "esriFieldTypeString",
        "alias": "name",
        "length": 256
       },
       {
        "name": "id",
        "type": "esriFieldTypeString",
        "alias": "id",
        "length": 256
       },
       {
        "name": "aggregationMethod",
        "type": "esriFieldTypeString",
        "alias": "aggregationMethod",
        "length": 256
       },
       {
        "name": "HasData",
        "type": "esriFieldTypeInteger",
        "alias": "HasData"
       },
       {
        "name": "FedLandPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Federal Lands",
        "fullName": "LandscapeFacts.FedLandPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "CritHabPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Critical Habitat",
        "fullName": "LandscapeFacts.CritHabPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "NWIwetldPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Wetland (NWI)",
        "fullName": "LandscapeFacts.NWIwetldPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "NLCDDevPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Developed (NLCD)",
        "fullName": "LandscapeFacts.NLCDDevPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "WildAreaPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Wilderness Areas",
        "fullName": "LandscapeFacts.WildAreaPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "Slope30mMe",
        "type": "esriFieldTypeDouble",
        "alias": "Mean Slope",
        "fullName": "LandscapeFacts.Slope30mMe",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "NLCDfrstPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Forest (NLCD)",
        "fullName": "LandscapeFacts.NLCDfrstPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "NLCDAgPt",
        "type": "esriFieldTypeDouble",
        "alias": "% Pasture/Hay/Cultivated Crops (NLCD)",
        "fullName": "LandscapeFacts.NLCDAgPt",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       },
       {
        "name": "MeanSoilAv",
        "type": "esriFieldTypeDouble",
        "alias": "Mean Available Water Storage (150 cm)",
        "fullName": "LandscapeFacts.MeanSoilAv",
        "component": "demographics",
        "decimals": 1,
        "units": "count"
       }
      ],
      "features": [
       {
        "attributes": {
         "ID_0": "0",
         "OBJECTID": 1,
         "sourceCountry": "US",
         "name": "optional polygon area name",
         "id": "1",
         "aggregationMethod": "BlockApportionment:Landscape.huc12",
         "HasData": 1,
         "FedLandPt": 97.29,
         "CritHabPt": 0,
         "NWIwetldPt": 1.54,
         "NLCDDevPt": 0.58,
         "WildAreaPt": 52.07,
         "Slope30mMe": 3.56,
         "NLCDfrstPt": 35.54,
         "NLCDAgPt": 1.06,
         "MeanSoilAv": 0.4
        }
       }
      ]
     }
    ]
   }
  }
 ],
 "messages": []
}

Notes:

  • A list of attributes describing the area's demographic characteristics and geographic context, as defined in the default Data Collection, is returned in the response.
  • User defined attributes are submitted with the input feature and will be carried over into the response. This can be useful in associating the input feature with the output.

        
      

Request example 4:

Encapsulating a returned FeatureSet into the studyAreas parameter to create rings around each point and enriching each of the ring buffers.

Using the feature service you can query and return the following FeatureSet which will be encapsulated into the studyAreas parameter.

{
    "objectIdFieldName": "OBJECTID",
    "globalIdFieldName": "",
    "geometryType": "esriGeometryPoint",
    "spatialReference": {
        "wkid": 102100,
        "latestWkid": 3857
    },
    "fields": [
        {
            "name": "OBJECTID",
            "type": "esriFieldTypeOID",
            "alias": "OBJECTID",
            "sqlType": "sqlTypeInteger",
            "domain": null,
            "defaultValue": null
        },
        {
            "name": "Station_ID",
            "type": "esriFieldTypeString",
            "alias": "Station_ID",
            "sqlType": "sqlTypeNVarchar",
            "length": 255,
            "domain": null,           
            "defaultValue": null
        },
        {
            "name": "FirstOfAddress",
            "type": "esriFieldTypeString",
            "alias": "FirstOfAddress",
            "sqlType": "sqlTypeNVarchar",
            "length": 255,
            "domain": null,
            "defaultValue": null
        },
        {
            "name": "Price",
            "type": "esriFieldTypeDouble",
            "alias": "Price",
            "sqlType": "sqlTypeDecimal",
            "domain": null,
            "defaultValue": null
        },
        {
            "name": "UniqueID",
            "type": "esriFieldTypeInteger",
            "alias": "UniqueID",
            "sqlType": "sqlTypeInteger",
            "domain": null,
            "defaultValue": null
        }
    ],
    "features": [
        {
            "attributes": {
                "OBJECTID": 1,
                "Station_ID": "202382",
                "FirstOfAddress": "12030 ROSECRANS AVE",
                "Price": 2.95716667,
                "UniqueID": 512
            },
            "geometry": {
                "x": -13144272.4606,
                "y": 4015682.7760000005
            }
        },
        {
            "attributes": {
                "OBJECTID": 2,
                "Station_ID": "517080",
                "FirstOfAddress": "2402 E ANAHEIM ST",
                "Price": 2.95233333,
                "UniqueID": 1256
            },
            "geometry": {
                "x": -13161572.144000001,
                "y": 3999537.5165000036
            }
        },
        {
            "attributes": {
                "OBJECTID": 3,
                "Station_ID": "521883",
                "FirstOfAddress": "1660 W 25TH ST",
                "Price": 2.919,
                "UniqueID": 1306
            },
            "geometry": {
                "x": -13170715.4594,
                "y": 3991785.8429000005
            }
        }
    ]
}

The resultant request ...

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/GeoEnrichment/Enrich?studyareas=[{"FeatureSet":{"objectIdFieldName":"OBJECTID","globalIdFieldName":"","geometryType":"esriGeometryPoint","spatialReference":{"wkid":102100,"latestWkid":3857},"fields":[{"name":"OBJECTID","type":"esriFieldTypeOID","alias":"OBJECTID","sqlType":"sqlTypeInteger","domain":null,"defaultValue":null},{"name":"Station_ID","type":"esriFieldTypeString","alias":"Station_ID","sqlType":"sqlTypeNVarchar","length":255,"domain":null,"defaultValue":null},{"name":"FirstOfAddress","type":"esriFieldTypeString","alias":"FirstOfAddress","sqlType":"sqlTypeNVarchar","length":255,"domain":null,"defaultValue":null},{"name":"Price","type":"esriFieldTypeDouble","alias":"Price","sqlType":"sqlTypeDecimal","domain":null,"defaultValue":null},{"name":"UniqueID","type":"esriFieldTypeInteger","alias":"UniqueID","sqlType":"sqlTypeInteger","domain":null,"defaultValue":null}],"features":[{"attributes":{"OBJECTID":1,"Station_ID":"202382","FirstOfAddress":"12030ROSECRANSAVE","Price":2.95716667,"UniqueID":512},"geometry":{"x":-13144272.4606,"y":4015682.7760000005}},{"attributes":{"OBJECTID":2,"Station_ID":"517080","FirstOfAddress":"2402EANAHEIMST","Price":2.95233333,"UniqueID":1256},"geometry":{"x":-13161572.144000001,"y":3999537.5165000036}},{"attributes":{"OBJECTID":3,"Station_ID":"521883","FirstOfAddress":"1660W25THST","Price":2.919,"UniqueID":1306},"geometry":{"x":-13170715.4594,"y":3991785.8429000005}}]}}]&datacollections=&analysisvariables=&studyareasoptions={"areaType":"RingBuffer","BufferRadii":[11]}&usedata=&f=pjson

JSON response example 4

{
 "results": [
  {
   "paramName": "GeoEnrichmentResult",
   "dataType": "GeoEnrichmentResult",
   "value": {
    "version": "2.0",
    "FeatureSet": [
     {
      "displayFieldName": "",
      "fieldAliases": {
       "ID": "ID",
       "OBJECTID_0": "Object ID",
       "sourceCountry": "sourceCountry",
       "OBJECTID": "OBJECTID",
       "UniqueID": "UniqueID",
       "FirstOfAddress": "FirstOfAddress",
       "Price": "Price",
       "Station_ID": "Station_ID",
       "areaType": "areaType",
       "bufferUnits": "bufferUnits",
       "bufferUnitsAlias": "bufferUnitsAlias",
       "bufferRadii": "bufferRadii",
       "aggregationMethod": "aggregationMethod",
       "HasData": "HasData",
       "TOTPOP": "Total Population",
       "TOTHH": "Total Households",
       "AVGHHSZ": "Average Household Size",
       "TOTMALES": "Male Population",
       "TOTFEMALES": "Female Population"
      },
      "spatialReference": {
       "wkid": 4326,
       "latestWkid": 4326
      },
      "fields": [
       {
        "name": "ID",
        "type": "esriFieldTypeString",
        "alias": "ID",
        "length": 256
       },
       {
        "name": "OBJECTID_0",
        "type": "esriFieldTypeOID",
        "alias": "Object ID"
       },
       {
        "name": "sourceCountry",
        "type": "esriFieldTypeString",
        "alias": "sourceCountry",
        "length": 256
       },
       {
        "name": "OBJECTID",
        "type": "esriFieldTypeInteger",
        "alias": "OBJECTID"
       },
       {
        "name": "UniqueID",
        "type": "esriFieldTypeInteger",
        "alias": "UniqueID"
       },
       {
        "name": "FirstOfAddress",
        "type": "esriFieldTypeString",
        "alias": "FirstOfAddress",
        "length": 256
       },
       {
        "name": "Price",
        "type": "esriFieldTypeDouble",
        "alias": "Price"
       },
       {
        "name": "Station_ID",
        "type": "esriFieldTypeString",
        "alias": "Station_ID",
        "length": 256
       },
       {
        "name": "areaType",
        "type": "esriFieldTypeString",
        "alias": "areaType",
        "length": 256
       },
       {
        "name": "bufferUnits",
        "type": "esriFieldTypeString",
        "alias": "bufferUnits",
        "length": 256
       },
       {
        "name": "bufferUnitsAlias",
        "type": "esriFieldTypeString",
        "alias": "bufferUnitsAlias",
        "length": 256
       },
       {
        "name": "bufferRadii",
        "type": "esriFieldTypeDouble",
        "alias": "bufferRadii"
       },
       {
        "name": "aggregationMethod",
        "type": "esriFieldTypeString",
        "alias": "aggregationMethod",
        "length": 256
       },
       {
        "name": "HasData",
        "type": "esriFieldTypeInteger",
        "alias": "HasData"
       },
       {
        "name": "TOTPOP",
        "type": "esriFieldTypeDouble",
        "alias": "Total Population",
        "fullName": "KeyGlobalFacts.TOTPOP",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       },
       {
        "name": "TOTHH",
        "type": "esriFieldTypeDouble",
        "alias": "Total Households",
        "fullName": "KeyGlobalFacts.TOTHH",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       },
       {
        "name": "AVGHHSZ",
        "type": "esriFieldTypeDouble",
        "alias": "Average Household Size",
        "fullName": "KeyGlobalFacts.AVGHHSZ",
        "component": "scripts",
        "decimals": 2,
        "units": "count"
       },
       {
        "name": "TOTMALES",
        "type": "esriFieldTypeDouble",
        "alias": "Male Population",
        "fullName": "KeyGlobalFacts.TOTMALES",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       },
       {
        "name": "TOTFEMALES",
        "type": "esriFieldTypeDouble",
        "alias": "Female Population",
        "fullName": "KeyGlobalFacts.TOTFEMALES",
        "component": "demographics",
        "decimals": 0,
        "units": "count"
       }
      ],
      "features": [
       {
        "attributes": {
         "ID": "0",
         "OBJECTID_0": 1,
         "sourceCountry": "US",
         "OBJECTID": 1,
         "UniqueID": 512,
         "FirstOfAddress": "12030ROSECRANSAVE",
         "Price": 2.95716667,
         "Station_ID": "202382",
         "areaType": "RingBuffer",
         "bufferUnits": "esriMiles",
         "bufferUnitsAlias": "miles",
         "bufferRadii": 11,
         "aggregationMethod": "BlockApportionment:US.BlockGroups",
         "HasData": 1,
         "TOTPOP": 3094288,
         "TOTHH": 892046,
         "AVGHHSZ": 3.43,
         "TOTMALES": 1518484,
         "TOTFEMALES": 1575804
        }
       },
       {
        "attributes": {
         "ID": "1",
         "OBJECTID_0": 2,
         "sourceCountry": "US",
         "OBJECTID": 2,
         "UniqueID": 1256,
         "FirstOfAddress": "2402EANAHEIMST",
         "Price": 2.95233333,
         "Station_ID": "517080",
         "areaType": "RingBuffer",
         "bufferUnits": "esriMiles",
         "bufferUnitsAlias": "miles",
         "bufferRadii": 11,
         "aggregationMethod": "BlockApportionment:US.BlockGroups",
         "HasData": 1,
         "TOTPOP": 1950246,
         "TOTHH": 632625,
         "AVGHHSZ": 3.04,
         "TOTMALES": 953468,
         "TOTFEMALES": 996778
        }
       },
       {
        "attributes": {
         "ID": "2",
         "OBJECTID_0": 3,
         "sourceCountry": "US",
         "OBJECTID": 3,
         "UniqueID": 1306,
         "FirstOfAddress": "1660W25THST",
         "Price": 2.919,
         "Station_ID": "521883",
         "areaType": "RingBuffer",
         "bufferUnits": "esriMiles",
         "bufferUnitsAlias": "miles",
         "bufferRadii": 11,
         "aggregationMethod": "BlockApportionment:US.BlockGroups",
         "HasData": 1,
         "TOTPOP": 931821,
         "TOTHH": 331777,
         "AVGHHSZ": 2.77,
         "TOTMALES": 459270,
         "TOTFEMALES": 472551
        }
       }
      ]
     }
    ]
   }
  }
 ],
 "messages": []
}


In this topic
In this topic