How to create your own overlay file?
Creating a geojson/kml file using geojson.io

What is a GeoJSON?

GeoJSON is a format for encoding a variety of geographic data structures.
{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [125.6, 10.1] }, "properties": { "name": "Dinagat Islands" } }
GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, and MultiPolygon.
Geometric objects with additional properties are Feature objects. Sets of features are contained by FeatureCollection objects.

How to create a GeoJSON/KML file to upload on Locale?

One of the most popular tools to create the polygon boundaries is geosjon.io. We will show you how you can use this tool to upload your own files on Locale.
Home screen of geojson.io
  • Click the search button in the upper right corner and select the city, locality, or neighbourhood for which you want to define the boundaries.
Searching for place on the map

You can draw the following objects on the map:

  • Polylines
Polylines
  • Polygons
Polygons
  • Rectangles
Rectangles
  • Points
Points
Once you create your desired polygons and boundaries, before saving the file as KML or GeoJSON, we need to assign these polygons names and unique IDs in their properties section.

How to assign names and unique IDs to polygons or points?

You can do so in two ways:
  • Individually for each polygon or point
  • With a table

Individually for each polygon or point

  • Click on the individual polygon or point
  • In the properties section, press the "Add row" button to add a new row.
  • In the row, mention the row name and the name of the polygon or point
  • In order to another row for the unique ID , click on the "Add row" button and mention the row name the unique ID of the polygon or the point.
✨Note: When you are naming multiple points or polygon, make sure the name of the rows are constant throughout. For example, you can choose Name and Unique ID for the row names and use it for all of them

With a table

  • In the editor window, click on the Table option.
Adding table
  • Click on the "Add column" button and two columns. One for Name and the other for Unique ID.
Adding a column
  • Once the columns are added you can plug in the names and unique IDs for each polygon and point.
✨Note: You can also autogenerate the unique IDs on Locale without adding an extra column. Layers whose unique IDs are auto generated can not be updated or appended and can only be replaced.
Auto generate unique ID

How to save the file with polygons/points?

  • Click on save button on the top left corner
  • Choose the format of the file and save it!