Create GeoEvent definition with no field headings

836
1
Jump to solution
09-30-2016 05:39 AM
ChrisAdams
Esri Contributor

Is it possible to create a GeoEvent definition from a json feed where there are no field headings. For example:

{
"total": 3,
"1": ["asdf", 23, 34, 0],
"2": ["fyih", 23, 34, 0],
"3": ["56j", 23, 34, 0],

The TrackID would be the numbers listed 1,2,3 etc and the attributes of the feature listed.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ChrisBeyett
Occasional Contributor

Hi Chris, 

I've used the JSON sample you've provided to test within GeoEvent 10.4. Do you have an accessible source for this JSON feed? With the current JSON formatting, GeoEvent will create a definition with the numbers (1,2,3) as individual fields. This seems more specific to the syntax of the JSON rather than a setting in GeoEvent. Below is the auto-generated definition when I polled the JSON you've provided

GeoEvent Definition No Fields JSON

Out of curiosity I'll be testing the JSON syntax to see if it's actually possible, but I would say that it's not possible to generate the Definition without using dedicated field names in the JSON.

-Chris

View solution in original post

1 Reply
ChrisBeyett
Occasional Contributor

Hi Chris, 

I've used the JSON sample you've provided to test within GeoEvent 10.4. Do you have an accessible source for this JSON feed? With the current JSON formatting, GeoEvent will create a definition with the numbers (1,2,3) as individual fields. This seems more specific to the syntax of the JSON rather than a setting in GeoEvent. Below is the auto-generated definition when I polled the JSON you've provided

GeoEvent Definition No Fields JSON

Out of curiosity I'll be testing the JSON syntax to see if it's actually possible, but I would say that it's not possible to generate the Definition without using dedicated field names in the JSON.

-Chris

View solution in original post