FRAMES | NO FRAMES
Feature Object

This is an archive of a previous version of the ArcGIS REST API. The current version can be found at http://resources.arcgis.com/en/help/arcgis-rest-api/

Overview

This document discusses the JSON feature object as returned by the REST API.

A feature consists of 2 properties. All properties are optional:

JSON Syntax

{
  "geometry" : <geometry>,

  "attributes" : {
    "name1" : <value1>,
    "name2" : <value2>,
  }
}

JSON Example

{
  "geometry" : {"x" : -118.15, "y" : 33.80},

  "attributes" : {
    "OWNER" : "Joe Smith",
    "VALUE" : 94820.37,
    "APPROVED" : true,
    "LASTUPDATE" : 1227663551096
  }
}