FRAMES | NO FRAMES
Feature Object

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
  }
}