How to Check the Size of Each Layer in HMC

Symptom-first Title
-------------------

I need to know the storage size of each layer in HERE Map Content (HMC), but I don’t see an option to view that directly.

---

Symptoms or Triggers
--------------------

1. You want a report of the total storage size used by each layer in the HERE Map Content.
2. You're trying to evaluate the storage footprint of HMC layers for cost or performance planning.
3. You can't find a metric or API to get the layer sizes through the HERE platform or tools like Data Inspector.

---

Quick Answer
------------

While HMC does not provide a direct API or UI to get aggregate storage sizes per layer, you can use the Data Inspector in the HERE platform to view tile size distributions and coverage. For actual size information, you must inspect the layers visually via layer zoom levels, and consider using Data Inspector’s heat maps for an approximation of tile size across the layer.

---

Step-by-step Instructions
-------------------------

1. Open the HERE platform and navigate to the catalog and layer you are interested in.
2. **Go to the Inspect tab of the layer to open the Data Inspector**.
3. In the Data Inspector, click the Control Panel button (top-left) to open options.
4. Enable the Heat maps* panel and select the Data size heat map** option.

> This will render a map with color gradients that indicate tile sizes in your layer.

5.Zoom in and out of the map to observe how tile sizes change.

1. For more accurate data-level insights and zoom level information:

* Use the OLP CLI with the command:

<br />olp catalog layer show<br />

* Look for the Data Level in the layer details.
* 7. Consider using the List Layers API:

* Use the List available layers (HTML/JSON) API from the Map Attributes API to get metadata, including storage sizes, for specific regions:
* HTML output:

<br />https://smap.hereapi.com/v8/maps/layers/list.html?apiKey=yourApiKey<br />

* JSON output (recommended):

<br />https://smap.hereapi.com/v8/maps/layers/list?apiKey=yourApiKey<br />

* Filter results using the optional mapName or region parameters to narrow down the data.
* 8. Use the storage and level fields from the JSON response to understand the layer’s data size distribution.

---

Applies to
----------

* HERE Map Content (HMC)
* HERE platform users analyzing data storage
* Platform developers integrating HMC in their workflows
* Anyone working with the Data Inspector in the HERE platform

---

Tags
----

HMC size, layer size, Data Inspector, storage size, Map Attributes API, HERE catalog layer, tile size, layer metadata


Did this page help you?