wso2cep : Error - 'within' is neither a function extension nor an aggregated attribute extension in execution plan "ExecutionPlan11" -


i using wso2 cep 4.1.0 version real time event processing , writing execution plan checking whether inputted geocoordinates within polygon. getting error : 'within' neither function extension nor aggregated attribute extension in execution plan "executionplan11"

my execution plan below , please me in solving error.

/* enter unique executionplan */ @plan:name('executionplan11')

@import('newinputstream:1.0.0') define stream instream (meta_sourceid string, meta_engoiltemp float, meta_engfuelrate float, meta_acceleratorpedalpos float, meta_engspeed float, meta_barometricpressure float, meta_receivedtime long, meta_latitude double, meta_longitude double);

@export('newoutputstream:1.0.0') define stream outstream (meta_sourceid string, meta_alarmname string, meta_alarmmessage string, meta_alarmattribute string, meta_data string, meta_unit string, meta_pointid string, meta_pointname string, meta_deviceid string, meta_receivedtime long);

from instream[geo:within(meta_latitude, meta_longitude,"{'type':'polygon','coordinates':[[[12.52,77.32],[12.89,77.69],[13.011,77.686],[13.058,77.555],[12.9284,77.4421]]]}" == false)]

select meta_sourceid, "geofencing alarm" meta_alarmname, "out of geo range" meta_alarmmessage, "geofence" meta_alarmattribute, "na" meta_data, "na" meta_unit, "latitude" meta_pointid, "longitude" meta_pointname, "d1" meta_deviceid, meta_receivedtime insert outstream;

i guess have not installed gpl features.above geo functions not come in default cep pack.to use geo functions need install corresponding gpl features.please follow link install said features.(gpl - siddhi geo extension)


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -