Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 50: Importing geolocation data
February 26, 2015 by markpiller
Spread the love

Previously I wrote about importing data table schemas, relations and data objects to Backendless with CSV files. The data import feature can also work with the geolocation storage. The process is extremely simple – browse to a CSV file with the geolocation data and let Backendless process it. A file you import may include as many geopoints as you need. For each geopoint you can provide the latitude and longitude coordinates, the categories the data point should belong to and the geopoint metadata. Consider the following example of a geolocation CSV file:
[table “” not found /]

Geolocation CSV files must follow the following structure:

  • latitude column
  • longitude column
  • category names. The entire string must enclosed into double quotes. Category names must separated by commas.
  • metadata in the key=value format. Multiple key/value pairs must be separated with the pipe character – |
To import geolocation data:
  1. Login to Backendless console, select your app and click the Manage icon.
  2. Click the Import menu.
  3. Click the add file button for the Geo Service section.
  4. Browse and open a CSV file with the geolocation data

Once Backendless completes the import of the data, it sends an email to the application developer email address with a status report about the import procedure. If all the data is successfully processed, you can see it in the geolocation screen of Backendless console. For example, the data from the table shown above is rendered as:
imported geo data - Feature 50: Importing geolocation data

Share this post
Tweet about this on TwitterShare on FacebookGoogle+