Geofence won't add "inarea" property

Hi everyone, I'm new here.
I'm using the flight Radar 24 node into the geofence node with the "inarea" option selected.
I can see the message and all of the usual objects are there, I just cant see the "inarea" object in the debug tab. The other options inside or outside the area, work fine. Is it just me? :slight_smile: :upside_down_face:

Many thanks
Paul.

Here is the output

{"id":"2649da5c","registration":"LX-VCL","flight":null,"callsign":"CLX42K","origin":"PIK","destination":"LUX","altitude":39000,"bearing":136,"speed":496,"rateOfClimb":-64,"isOnGround":false,"squawkCode":"1150","model":"B748","modeSCode":"4D0116","radar":"F-EGXU1","isGlider":false,"timestamp":1607733832,"lat":53.136,"lon":1.541,"name":"CLX42K","icon":"plane","iconColor":"#F9DF39","layer":"FlightRadar24"}

Here are the nodes

[{"id":"45b4fad0.b6baf4","type":"inject","z":"bb6b9492.b2d228","name":"","topic":"","payload":"","payloadType":"date","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":500,"wires":[["8c835cc0.29652"]]},{"id":"8c835cc0.29652","type":"flightradar24","z":"bb6b9492.b2d228","lat":"52.455","latType":"num","lon":"1.155","lonType":"num","name":"","x":310,"y":500,"wires":[["a1931a45.e582c8","8bac4939.f6c9c8"]]},{"id":"8bac4939.f6c9c8","type":"geofence","z":"bb6b9492.b2d228","name":"MaxRange","mode":"circle","inside":"both","rad":37008.85997626756,"points":[],"centre":{"latitude":52.45726463903304,"longitude":1.15631103515625},"x":290,"y":600,"wires":[["34e2fe4c.f7e3b2","74fb98c0.eaffe8"]]},{"id":"74fb98c0.eaffe8","type":"debug","z":"bb6b9492.b2d228","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1030,"y":740,"wires":[]}]

Try changing the debug node to display the 'Complete msg object'

Hi zenofmud, I have tried everything it's not there not just not visible.
Totally stumped

When you display the 'Complete msg object' you will notice a msg.location and in that is msg.location.inarea:
Screen Shot 2020-12-12 at 7.25.00 AM
is that what you are looking for?

1 Like

Hi zenofmud,
Thank you I can now see it.
Did this - image

Can now see this -

Good lesson learned.
Cheers.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.