Ecommerce
...
Order Settings
Delivery Settings

QGIS GeoJSON Boundaries

6min

If you want to set up zones that snap to boundaries, like zip codes, town borders, etc., you will need to download the GIS data file for your state. Most states have a GIS data file on their website that is open source for people to use, so you can get zip code boundaries, city boundaries, etc.

Files uploaded to AIQ for location delivery boundaries should always be in the geoJSON format.

Pre-work

Download the state-specific GIS file that you want to use.

Creating Zones by Boundaries

  1. Add the data layer: Layer > Add Layer > Add Vector Layer
Document image


2. Select your state-specific GIS file in the field Source: Vector Dataset(s)

Document image


3. Click Add. Now you will see your map broken out by whatever your GIS file is (towns, zips, etc.)

This may take a few moments to add if the file is large.

Document image


4. Click Edit (pencil), then click the polygon tool (yellow square within a square).

Document image


5. Click on the boundary that you want to select (in this example it's Grand Rapids, Michigan)

Document image


6. Create a new layer with this selection. Layer > Create LAyer > New Shapefile Layer

Document image


7. Give it a name, in this example 'temp'

Document image


8. Now you will see that layer in your Layers panel on the left.

Document image


9. Select your GIS file layer (in this case Michigan Cities and Townships) and remove the editing (pencil icon), so that it's static and hide it in the layer list (uncheck it).

10. Export your zone: in the Layers panel in the left, select your 'temp' layer, go to Output > Export > Save Features As. Give it a name and file location.

AIQ Ecommerce requires one file per zone.