Friday, April 23, 2021

Uploading SmartFences with a CSV File

We have a wonderful new feature we would like to share with you today: the ability to upload SmartFences by using a CSV file! This is particularly useful to companies that need to work with multiple Geo Fences and wish to do it quickly instead of adding them manually one by one.

The steps to create them are very similar to how you would create a new fence. First, go to the Administration tab and select "Rules, Action and Fences" from the Advanced section:

Then, click on "Manage SmartFences":

Click on the "Upload Smart Fence CSV File" button:

After that, you will be taken to the Upload screen. Take a moment to look at the sample file:

Notice how there are two different options in the "Fence Type" column, these are "polygon" and "circular". As you might have guessed, this corresponds to the type of fence that you wish to create, just like doing it manually.

In the case of a circular fence, you must set the radius in column C, specifying the amount of miles the fence should be, then in columns E and F, you need to set the coordinates for what is going to be considered as the center of the circle. Circular fences only need one row in the file to be created.

On the other hand, when using the polygon option, since you need a set of different points in the map to draw the complete shape, then you would use a row using the same name of the fence for each of the dots that will be used to complete the polygon. Make sure to use the map of your choice to gather the coordinates for each of the dots and use these in the CSV file.

Here is a screenshot of the actual CSV file we will be using for this example, notice that our "Area 001" has many rows with the same name in column A, but each has different coordinates in columns E and F. This is due to what we just explained before, all of these correspond to separate dots that will shape up our polygon SmartFence:

(Click on the image to enlarge)

Click on "Choose File" to browse and find the file you wish to upload:

(Click on the image to enlarge)

After selecting the file and clicking on "Open", you will see its name next to the "Choose File" button, all you need to do now is click the "Upload" button:

You will get a confirmation screen prior to completing the upload, this is a good chance to make sure everything is OK before proceeding:

(Click on the image to enlarge)

When you are ready, scroll to the bottom of the screen and click the "Confirm" button:

After that, all the SmartFences in the file will be uploaded:

(Click on the image to enlarge)

To view the wonderful final results, you can click on the ID of the fence, for example, let's check our "Area 002":
(Click on the image to enlarge)

Our system has perfectly created the polygon using the coordinates we provided! From here on, you can work on adding and editing the rules that will take place inside this area, such as "Entering Area", "Leaving Area", "Clock-in Lock" or any of the other available rules.

That's it for now, stay in tune for more exciting news!

--Econz Team

No comments:

Post a Comment