Buffer Processor not working

2741
1
08-31-2015 11:16 AM
YuyingLi
New Contributor II

I am using Geoevent extension 10.3.0 and would like to buffer the income event (JSON with X and Y on REST endpoint, projected to Stateplane), but somehow the buffer processor didn't create any geometry and here is the error message I got in the log file:

2015-08-28 13:30:32,665 | ERROR | #912 - Multicast | GeometryProcessor                | metryprocessor.GeometryProcessor  134 | 286 - com.esri.ges.framework.processor.geometry-processor - 10.3.0 | Unable to process geometry. Error: Unable to buffer geometry. Track id is 192.168.129.013. Error: null..

2015-08-28 13:30:32,666 | INFO  | #912 - Multicast | GeometryProcessor                | metryprocessor.GeometryProcessor  135 | 286 - com.esri.ges.framework.processor.geometry-processor - 10.3.0 | Unable to buffer geometry. Track id is 192.168.129.013. Error: null.

java.lang.IllegalArgumentException

  at com.esri.ges.processor.geometryprocessor.UnitConverter.findWkidByName(UnitConverter.java:104)[286:com.esri.ges.framework.processor.geometry-processor:10.3.0]

Does anyone run into same issue? Any suggestions/comments?

Thanks a lot!

Yuying

Tags (2)
0 Kudos
1 Reply
RJSunderman
Esri Regular Contributor

Hello Yuying -

Thank you for sending me a sample of the JSON you are sending to GeoEvent so that I can test using your event data.

[
    {
        "UserID": "Dave",
        "DateTime": "08/13/2015 11:53:30 AM",
        "Latitude": 34.05716,
        "Longitude": -117.195704,
        "WKID": 4326
    },
    {
        "UserID": "Dave",
        "DateTime": "08/13/2015 11:54:00 AM",
        "Latitude": 34.05897,
        "Longitude": -117.195423,
        "WKID": 4326
    }
]

I took a look at the issue you reported, but was not able to reproduce it. The Create Buffer processor is working for me when incorporated into a GeoEvent Service like the one you illustrate.

There was an issue at the 10.3.0 release that an invalid unit of measure "feet" was included in the 'Allowed units list' used by this processor. The correct unit of measure should be "foot". Unfortunately the invalid value was selected as the default. To correct the error you would have to select something other than the default unit. To really fix the issue you should first delete the processor which references the invalid unit of measure, then go to Site > Settings, edit the 'Allowed units list' and uncheck 'Feet' ... check 'Foot' then return to configure a new Buffer Creator processor with the valid linear unit.

I'm not sure, however, that this is the issue you are encountering. The Buffer Creator in your screenshot looks like it's configured to create a 100 meter buffer. This led me to question why you were projecting the event data to NAD 1983 State Plane system for California (WKID 2230) whose linear measure is US Feet if you intended on creating a buffer measured in meters.

I've attached the 10.3.0 configuration I used to test the issue.

- RJ