Select to view content in your preferred language

Credit Usage: Hosted Feature Layer vs. Feature Collection

1303
1
08-12-2021 01:44 PM
Labels (1)
JohnMDye
Frequent Contributor

I am trying to keep my credit usage minimal on ArcGIS Online. I have a standard python notebook that reaches out to an API, makes a query , pushes the query results into a spatial dataframe and then either updates a feature layer if it already exists, or if not, publishes the feature layer. Everything works, its great.

However, I noticed my credit balance dropping a little faster than I'd like. So I wanted to take a look at whether I was using the most appropriate feature layer type. I took a look at the Understanding Credits documentation, specifically Credits by Capability and noted that Feature Storage is charged at a rate of 2.4 credits per 10MB stored, calculated hourly while Feature Collection storage is charged at a rate of 1.2 credits per 1GB stored, calculated hourly.

 

That's a significant savings, but I am confused.

CapabilityExample of where usedCredits used
Feature storage, excluding feature attachments, feature collections, and features associated with location trackingStore a hosted feature layer

2.4 credits per 10 MB stored per month, calculated hourly

Note:

Feature layer settings, such as Enable Sync and Keep track of created and updated features, can increase storage size over time.

Storage of all content, excluding hosted feature layers and content in ArcGIS Notebooks

Store web maps

Store feature collections

Store attachments in a hosted feature layer

Store published vector tile layers from ArcGIS Pro

Store scene layer packages from ArcGIS Pro

1.2 credits per 1 GB stored per month, calculated hourly

 

Feature Storage cites the example of storing a hosted feature layer - makes sense. Meanwhile, storage of all content, excluding hosted feature layers and content in ArcGIS Notebooks cites multiple different examples, including storing Feature Collections.

In my python notebook, I create a Feature Layer from a spatial dataframe already populated with x/y coordinates and attributes using:

JohnMDye_0-1628802443472.png

 which produces a Feature Layer Collection. All is good. But then I look in My Content in my organization and the item type is shown as Feature Layer (hosted). 

JohnMDye_1-1628802492732.png

So which is it? A Hosted Feature Layer or a Feature Layer Collection? Am I going to be charged 2.4 credits per 10MB/month or 1.2 credits per 1GB/month for my Feature Layer Collection/Feature Layer (hosted) item.

OR am I thinking about Feature Collections wrong and the Feature Layer collection is actually the Shapefile that was generated, which the Feature Layer (hosted) was then created from and the Shapefile is what costs 1.2 credits per 1GB/month while the Feature Layer (hosted) costs 2/4 credits per 10MB/month.

0 Kudos
1 Reply
KateDoughty1
Regular Contributor

I am researching the same thing. As this post is a few years old, was there any resolution as methods for minimal credits usage? @JohnMDye