English

How To: Change the area fill of a hosted feature layer to the hatched symbology in ArcGIS Online

Summary

Using the hatched symbology as an area fill is useful when symbolizing different types of characteristics, such as types of woodwork in the construction industry, types of steel in engineering drawing, or distinguishing lithological patterns in geology. Although the option for hatched symbology is not available in ArcGIS Online, changing a hosted feature layer area fill to the hatched symbology is possible by altering the Simple Fill Symbol (esriSFS) property from the REST endpoint.

The image below shows the bedrock geology in Indiana during the Paleozoic era. Three map notes layers are drawn to represent mapping activities conducted in May, June, and July. In this article, the map layers for May will be symbolized using the hatched symbology.
 

This is the geologic map of Indiana.

 

Procedure

Use the following steps to change the area fill of a hosted feature layer to the hatched symbology in ArcGIS Online:

Note:
To perform these steps, log in with administrator credentials and ensure the hosted feature layer is not shared publicly.
  1. In ArcGIS Online Map Viewer, save the layer drawn to create a feature layer.

    This is the Save Layer function.
     
  2. Open the item details page of the feature layer and click Publish to publish the feature layer as a hosted feature layer.
  3. Open the item details page of the hosted feature layer. At the Layers section, click the Service URL for Areas. This opens the Areas ArcGIS REST Services Directory page.

    The Service URL for areas.
     
  4. In the Areas ArcGIS REST Services Directory URL, insert admin between rest and services. Press Enter on the keyboard.

    Add admin in between rest and services.
     
  5. Scroll to the bottom of the page and click Update Definition. This opens the Update Layer Definition page.

    Click Update Definition.
     
  6. In the Update Layer Definition page, press CTRL + F on the keyboard to open a search bar. Search for esriSFSSolid.

    Search for esriSFSSolid.
     
  7. Change esriSFSSolid to esriSFSForwardDiagonal. For more information on other simple fill symbols, refer to Web map specification: Simple Fill Symbol (esriSFS).

    Change esriSFSSolid to esriSFSForwardDiagonal.
     
  8. In the search bar, search for lastEditDate.

    Search for lastEditDate.
     
  9. Change the lastEditDate value to " ".
  10. In the ASync field, click True.
  11. Click Update Layer Definition.

    Change the lastEditDate value to " ".
     
  12. In ArcGIS Online Map Viewer, add the recently altered hosted feature layer by clicking Add > Add Layer from Web.
  13. In the Add Layer from Web dialog box, enter the service URL. Click ADD LAYER.
The image below shows the hosted feature layer of the mapping activity conducted in May filled with the hatched symbology.

Image showing the hatched symbology generated.

Related Information