Field & Boundary Upload Format

Updated Nov 8, 2017

This document describes the details of how Climate FieldView expects fields to be formatted for ingestion into the FieldView platform. While FieldView may accept variations from this specification, partners should not expect or rely upon support for anything other than what is documented here.

Metadata Format

Items listed in this specification as metadata should be provided in the metadata section of the POST to the /uploads endpoint.  All keys and values in the metadata map must be strings.

Content Type

The content type of a field upload must be set to 'application/vnd.climate.field.geojson'

GeoJson Feature

The contents uploaded must be a valid GeoJson 'Feature'.  Additionally, the accepted type(s) of the geometry property must be one of the following:

  • Polygon
  • MultiPolygon

The feature must contain the following entry in the properties section:

  • fieldName

Optionally, the feature may contain the following entries in the properties section:

  • farmName - defaults to default
  • clientName - defaults to default

The coordinates field of the geometry field must contain no more than 10,000 points.

The total area of the field may not be larger than 20,000 acres in size.

 

{
    "type": "Feature",
    "properties": {
        "clientName":"default",
        "farmName":"default",
        "fieldName":"Polygon"
    },
    "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -87.8134677,
          39.9061671
        ],
        [
          -87.8136118,
          39.9059702
        ],
        [
          -87.8136655,
          39.90249
        ],
        [
          -87.8156222,
          39.9024854
        ],
        [
          -87.8157295,
          39.9025394
        ],
        [
          -87.8178852,
          39.9025246
        ],
        [
          -87.8178982,
          39.9026176
        ],
        [
          -87.8179148,
          39.9051715
        ],
        [
          -87.8179091,
          39.9096913
        ],
        [
          -87.8134965,
          39.9097224
        ],
        [
          -87.81346,
          39.9062024
        ],
        [
          -87.8134677,
          39.9061671
        ]
      ]
    ]
  }
}