Can Bluemix Geospatial Analytics access nested values? -
i'm working on uses geospatial analytics fencing, , payload sending in nested structures. can geospatial services read these nested values? if not, workaround? i'm thinking work around subscribe topic has nested value, flatten , publish again geospatial services. i'm asking experts here if have better solution it.
example:
{ "gps" {
id : <id>, lat : <lat>, lng : <lng> } }
the geospatial analytics service on bluemix requires device id, latitude, , longitude attributes appear top level fields in json payload. if can change code publishes original message, best work around.
if can't change original message, suggestion have application transform message work. should publish transformed message different topic , specify topic geospatial analytics service subscribe to.
Comments
Post a Comment