I have an input from a JSON service that does not always have values for the LAT, LON fields that is generating a lot of errors when trying to generate the Geometry field. I've dropped the Create Geometry option for the input definition, and have created a filter that ignores records without LAT, LON values, but I'm unsure how to remap the Geometry field for my output definition. I have a field mapping processor setup, but I'm not getting any data in my streaming service.
Thanks,
Dan
Solved! Go to Solution.
Hate leaving questions unanswered - even if they are my own. I finally resolved my issue of creating the Geometry object after I received the JSON from the input. There is actually a section in the Esri Introduction Tutorial that covers this - in Appendix A.
My solution involved doing the following in the GeoEvent Service:
Here is the GeoNet article that pointed me in the right direction.
Hate leaving questions unanswered - even if they are my own. I finally resolved my issue of creating the Geometry object after I received the JSON from the input. There is actually a section in the Esri Introduction Tutorial that covers this - in Appendix A.
My solution involved doing the following in the GeoEvent Service:
Here is the GeoNet article that pointed me in the right direction.
Do you know if the function toPoint(long,lat,wkid) replaces this calculator expression? I am assuming the function wasn't available in 2017.