Help Center
-> 
Import

Import

Atlist lets you import GeoJSON Polygon or MultiPolygon shapes.

Step 1: Find or Create Your GeoJSON Shape

Atlist supports two GeoJSON shape types:

  • Polygon — a single shape
  • MultiPolygon — multiple separate shapes

Step 2. Make Sure It’s the Right Format

Atlist imports raw Polygon and MultiPolygon geometry.

A simple Polygon looks like this:

{
  "type":"Polygon",
  "coordinates":[
    [
      [120, 60],
      [100, 60],
      [100, 40],
      [120, 40],
      [120, 60]
    ]
  ]
}

A MultiPolygon looks like this:

{
  "type":"MultiPolygon",
  "coordinates":[
    [
      [
        [120, 60],
        [100, 60],
        [100, 40],
        [120, 40],
        [120, 60]
      ]
    ],
    [
      [
        [160, 60],
        [140, 60],
        [140, 40],
        [160, 40],
        [160, 60]
      ],
      [
        [155, 55],
        [145, 55],
        [145, 45],
        [155, 45],
        [155, 55]
      ]
    ]
  ]
}

Important: Extract the Shape Geometry

Many GeoJSON files downloaded online come wrapped in a FeatureCollection, like this:

{
  "type":"FeatureCollection",
  "features":[
    {
      "type":"Feature",
      "geometry":{
        "type":"Point",
        "coordinates":[102.0,0.5]
      },
      "properties":{
        "prop0":"value"
      },
    },
    {
      "type":"Feature",
      "geometry":{
        "type":"LineString",
        "coordinates":[
          [102.0,0.0],
          [103.0,1.0],
          [104.0,0.0],
          [105.0,1.0]
        ]
      },
      "properties":{
        "prop0":"value",
        "prop1":0.0
      }
    },
    {
      "type":"Feature",
      "geometry":{
        "type":"Polygon",
        "coordinates":[
          [
            [100.0,0.0],
            [101.0,0.0],
            [101.0,0.0],
            [101.0,0.0]
          ]
        ]
      },
      "properties":{
        "prop0":"value",
        "prop1":{
          "this":"that"
        }
      }
    }
  ]
}

Atlist only needs the actual shape geometry inside that file.

So instead of importing the entire FeatureCollection, copy just the geometry object:

{
  "type":"Polygon",
  "coordinates":[
     [
        [100.0,0.0],
        [101.0,0.0],
        [101.0,0.0],
        [101.0,0.0]
     ]
   ]
}

Step 3. Import into Atlist

  1. Open your map in Build
  2. Open the Shapes tab
  3. Click Import a Polygon
  4. Paste your GeoJSON
  5. Click Create Shape

Was this helpful? Send feedback.