What is geofence?

Source: Internet
Author: User
1) What is geofence?

According to Wikipedia, geofence (also called geo-fencing),"Geo-fenceIs a virtual perimeter for a real-world geographic area ."

A geo-fence cocould be dynamically generated-as in a radius around a store or point location. or a geo-fence can be a predefined set of boundaries, like school attendance zones or neighborhood boundaries. custom-digitized geofences are also in use.

 

2) what can geofence do?

Geofencing, used with child location services, can sort y parents when a child leaves a designated area.

When a child leaves the preset range, it can trigger an event, such as sending a text message or sending an email alarm.

These geo-fences when crossed by an equipped vehicle or person can trigger a warning to the user or operator via SMS or email.

 

3) How to Implement

A)

One way is to use a different SDK, such as the location-Labs SDK, including the Android and IOS versions:

Http://geofence.locationlabs.com/code.html

 

B)

One way is to implement the corresponding functions by yourself.

Ios5 has built-in support for geofencinig,

For exampleStartmonitoringforregion: desiredaccuracy:Method of yourCllocationmanagerObject.

Android callsRequestlocationupdatesAnd other functions.

 

Self-implementation is not complicated.

 

4) References

For more geolocation-related APIs, see: 5 geolocation APIs you may not have heard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.