Skip to content

Create and style vector tiles (1 of 7)

Use the portal to import a GeoJSON file with polygons (states) to create a feature service and feature layer.

import polygon data
A feature layer containing polygon features from GeoJSON data.

Prerequisites

You need an ArcGIS Location Platform or ArcGIS Online account.

Steps

Get the data

For this how-to, use a polygon GeoJSON dataset.

  1. In your web browser, go to the USA States Population item by esri_devlabs.

  2. Click the Download button to download the GeoJSON file locally.

Sign in to the portal

  1. Sign in to your portal.

Import the US population data

The GeoJSON file contains polygon data with attributes. Importing the file will create a new polygon feature layer in a feature service.

  1. In the top navigation bar, click My dashboard.

  2. In the top navigation bar of your dashboard, click Layers and data services.

  3. Click Import data.

  4. In the New item window, upload the USA_States_Population file by either:

    • Dragging and dropping the file.
    • Or, clicking Your device and navigate to the file path.
  5. Select Add USA_States_Population and create a hosted feature layer to publish the file as a hosted feature layer.

  6. In Fields, leave all fields at their default settings and click Next.

  7. In Location settings, leave the default settings and click Next.

  8. Set the following information in the item details pane:

    • Title: USA States Population
    • Tags: polygon population.
    • Summary: Polygon features of USA states and their population.
  9. Click Save to create the new USA_States_Population feature layer and feature service.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.