Skip to main content
Add Zones via GeoJSON

Learn how to add Zones via GeoJSON

e
Written by eLogii
Updated over a week ago

For a more precise zone outline, eLogii enables you to import Zones via GeoJSON.

To add Zones through GeoJSON switch to Configuration ⇒ Zones ⇒ Add ⇒ Edit GeoJSon.

Please note that you need to import one Zone at a time for it to be readable as a separate entity. Otherwise, the system will not recognize Zone borders separately but as a singular entity, even though the borders appear on the Zone outline.

This is an example of a readable input for GeoJSON with random coordinates:

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
-1.158287227068456,
52.2478084167806
],
[
-1.3327726984402375,
52.07654979924328
]
],
"type": "LineString"
}
}
]
}

Insert coordinates to delineate the Zone. Once you've added the code, click Save, and your Zone should appear on the map. Repeat the process when adding each new Zone/Region.

If the polygon you wish to insert via GeoJSON into eLogii already has this defined, you don't need to paste this code. This only applies to cases where you have the coordinates without the specified instructions. Usually, if your GeoJson resource is GitHub, you can only copy and paste the code, without making any changes.

Alternatively, you can use a free tool such as Geojson.io to define polygons more precisely and copy the GeoJSON code from there.

Search any area you wish to find and use the drawing icons in the toolbar to define your areas

After drawing your zone, please copy the code on the right-hand side of the screen and paste it into eLogii's GeoJson editor.

GeoJSON resources can be difficult to find sometimes if you don't have a dedicated database. GitHub is often a good place to find free resources for GeoJSON codes, and here are a couple of links you may find useful:

Did this answer your question?