Skip to content

Create and style features (1 of 4)

Use the portal to import a GeoJSON file to create a feature service and feature layer.

import point data
A feature layer containing point 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 point GeoJSON dataset.

  1. In your web browser, go to the USA_Major_Cities 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 cities data

The GeoJSON file contains point data with attributes. Importing the file will create a new point 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_Major_Cities.geojson file by either:

    • Dragging and dropping the file.
    • Or, clicking Your device and navigate to the file path.
  5. Select Add USA_Major_Cities.geojson 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 Major Cities
    • Tags: cities points features.
    • Summary: Point features of USA major cities.
  9. Click Save to create the new USA Major Cities 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.