Skip to content

Productivity: How to import Shapefile as zones

Updated 

Procedure

  1. Open the ImportZonesShapefile (or Import KML Zones) tool.
  2. Provide required parameters: Server, Database, User name, Password, Options.
  3. Load the specified shapefile set.
  4. Use the Geotab.Geographical components to create zones from the polygons and their names.
  5. Create Geotab API object and Authenticate.
  6. Import created zones into the database.

Additional Notes

To use the Import KML Zones tool, please follow the instruction on the How to import KML zones into MyGeotab article.

Common problems:

  • Points too close together - there is a minimum distance that vertices have to be separated by, or they will be considered to be the same point, and only one of them will be used. (I don't know the exact distance off the top of my head). This can cause individual polygons (or in this case, very narrow ones) to fail to load.
  • Projection - shapefiles should be projected in WGS84, or they may fail to load.
  • Coordinate system - Shapefiles should use the decimal degree coordinate system, using linear units will cause the shapefile to fail to import.
  • Interior space - Zones cannot have empty interior space, this will cause individual polygons to fail to load.