<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Pro vector tile package: line feature labels from multiple label classes are not distinguished correctly in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-vector-tile-package-line-feature-labels/m-p/1710106#M103774</link>
    <description>&lt;P&gt;I’m creating a vector tile package (`.vtpk`) in ArcGIS Pro for a line feature layer. According to the official documentation, when a feature layer has multiple label classes, the exported vector tiles should distinguish them using fields like `_name`, `_name1`, etc.&lt;/P&gt;&lt;P&gt;Official documentation:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/zh-cn/pro-app/latest/help/mapping/map-authoring/labeling-in-vector-tiles.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/zh-cn/pro-app/latest/help/mapping/map-authoring/labeling-in-vector-tiles.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, in my case, when I publish/export line feature labels to a vector tile package, all label classes are written as `_name` in the generated vector tile style JSON. I cannot use `text-field` to distinguish different label classes, because the expected `_name1`, `_name2`, etc. fields are not generated for the line features.&lt;/P&gt;&lt;P&gt;Example of the generated style JSON:&lt;/P&gt;&lt;P&gt;```json&lt;BR /&gt;[&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline",&lt;BR /&gt;"type": "line",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline",&lt;BR /&gt;"layout": {&lt;BR /&gt;"line-cap": "round",&lt;BR /&gt;"line-join": "round"&lt;BR /&gt;},&lt;BR /&gt;"paint": {&lt;BR /&gt;"line-color": "#3C8C46",&lt;BR /&gt;"line-width": 1.33333&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline/label/类 2",&lt;BR /&gt;"type": "symbol",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline/label",&lt;BR /&gt;"filter": [&lt;BR /&gt;"==",&lt;BR /&gt;"_label_class",&lt;BR /&gt;1&lt;BR /&gt;],&lt;BR /&gt;"layout": {&lt;BR /&gt;"symbol-placement": "line",&lt;BR /&gt;"symbol-spacing": 1000,&lt;BR /&gt;"text-font": [&lt;BR /&gt;"宋体 常规"&lt;BR /&gt;],&lt;BR /&gt;"text-size": 13.3333,&lt;BR /&gt;"text-anchor": "bottom",&lt;BR /&gt;"text-offset": [&lt;BR /&gt;0,&lt;BR /&gt;-0.1&lt;BR /&gt;],&lt;BR /&gt;"text-field": "{_name}",&lt;BR /&gt;"text-optional": true&lt;BR /&gt;},&lt;BR /&gt;"paint": {}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline/label/类 1",&lt;BR /&gt;"type": "symbol",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline/label",&lt;BR /&gt;"filter": [&lt;BR /&gt;"==",&lt;BR /&gt;"_label_class",&lt;BR /&gt;0&lt;BR /&gt;],&lt;BR /&gt;"layout": {&lt;BR /&gt;"symbol-placement": "line",&lt;BR /&gt;"symbol-spacing": 1000,&lt;BR /&gt;"text-font": [&lt;BR /&gt;"宋体 常规"&lt;BR /&gt;],&lt;BR /&gt;"text-size": 13.3333,&lt;BR /&gt;"text-anchor": "bottom",&lt;BR /&gt;"text-offset": [&lt;BR /&gt;0,&lt;BR /&gt;-0.1&lt;BR /&gt;],&lt;BR /&gt;"text-field": "{_name}",&lt;BR /&gt;"text-optional": true&lt;BR /&gt;},&lt;BR /&gt;"paint": {}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Problem:&lt;BR /&gt;- The line features have multiple label classes in ArcGIS Pro.&lt;BR /&gt;- After exporting to a vector tile package, all labels are mapped to `_name`.&lt;BR /&gt;- The expected fields `_name1`, `_name2`, etc. are not generated for the line labels.&lt;BR /&gt;- As a result, I cannot distinguish label classes using `text-field` in the vector tile style.&lt;/P&gt;&lt;P&gt;Question:&lt;BR /&gt;- Is this a known limitation for line features in vector tile packages?&lt;BR /&gt;- Is there any supported way to preserve multiple label classes for line features?&lt;BR /&gt;- Should I split the labels into separate layers before exporting?&lt;BR /&gt;- Is there a workaround to make ArcGIS Pro export `_name1`, `_name2`, etc. for line labels?&lt;/P&gt;&lt;P&gt;Any guidance or official workaround would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2026 03:12:33 GMT</pubDate>
    <dc:creator>bondxiao</dc:creator>
    <dc:date>2026-06-26T03:12:33Z</dc:date>
    <item>
      <title>ArcGIS Pro vector tile package: line feature labels from multiple label classes are not distinguished correctly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-vector-tile-package-line-feature-labels/m-p/1710106#M103774</link>
      <description>&lt;P&gt;I’m creating a vector tile package (`.vtpk`) in ArcGIS Pro for a line feature layer. According to the official documentation, when a feature layer has multiple label classes, the exported vector tiles should distinguish them using fields like `_name`, `_name1`, etc.&lt;/P&gt;&lt;P&gt;Official documentation:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/zh-cn/pro-app/latest/help/mapping/map-authoring/labeling-in-vector-tiles.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/zh-cn/pro-app/latest/help/mapping/map-authoring/labeling-in-vector-tiles.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, in my case, when I publish/export line feature labels to a vector tile package, all label classes are written as `_name` in the generated vector tile style JSON. I cannot use `text-field` to distinguish different label classes, because the expected `_name1`, `_name2`, etc. fields are not generated for the line features.&lt;/P&gt;&lt;P&gt;Example of the generated style JSON:&lt;/P&gt;&lt;P&gt;```json&lt;BR /&gt;[&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline",&lt;BR /&gt;"type": "line",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline",&lt;BR /&gt;"layout": {&lt;BR /&gt;"line-cap": "round",&lt;BR /&gt;"line-join": "round"&lt;BR /&gt;},&lt;BR /&gt;"paint": {&lt;BR /&gt;"line-color": "#3C8C46",&lt;BR /&gt;"line-width": 1.33333&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline/label/类 2",&lt;BR /&gt;"type": "symbol",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline/label",&lt;BR /&gt;"filter": [&lt;BR /&gt;"==",&lt;BR /&gt;"_label_class",&lt;BR /&gt;1&lt;BR /&gt;],&lt;BR /&gt;"layout": {&lt;BR /&gt;"symbol-placement": "line",&lt;BR /&gt;"symbol-spacing": 1000,&lt;BR /&gt;"text-font": [&lt;BR /&gt;"宋体 常规"&lt;BR /&gt;],&lt;BR /&gt;"text-size": 13.3333,&lt;BR /&gt;"text-anchor": "bottom",&lt;BR /&gt;"text-offset": [&lt;BR /&gt;0,&lt;BR /&gt;-0.1&lt;BR /&gt;],&lt;BR /&gt;"text-field": "{_name}",&lt;BR /&gt;"text-optional": true&lt;BR /&gt;},&lt;BR /&gt;"paint": {}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "pipelineline/label/类 1",&lt;BR /&gt;"type": "symbol",&lt;BR /&gt;"source": "esri",&lt;BR /&gt;"source-layer": "pipelineline/label",&lt;BR /&gt;"filter": [&lt;BR /&gt;"==",&lt;BR /&gt;"_label_class",&lt;BR /&gt;0&lt;BR /&gt;],&lt;BR /&gt;"layout": {&lt;BR /&gt;"symbol-placement": "line",&lt;BR /&gt;"symbol-spacing": 1000,&lt;BR /&gt;"text-font": [&lt;BR /&gt;"宋体 常规"&lt;BR /&gt;],&lt;BR /&gt;"text-size": 13.3333,&lt;BR /&gt;"text-anchor": "bottom",&lt;BR /&gt;"text-offset": [&lt;BR /&gt;0,&lt;BR /&gt;-0.1&lt;BR /&gt;],&lt;BR /&gt;"text-field": "{_name}",&lt;BR /&gt;"text-optional": true&lt;BR /&gt;},&lt;BR /&gt;"paint": {}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Problem:&lt;BR /&gt;- The line features have multiple label classes in ArcGIS Pro.&lt;BR /&gt;- After exporting to a vector tile package, all labels are mapped to `_name`.&lt;BR /&gt;- The expected fields `_name1`, `_name2`, etc. are not generated for the line labels.&lt;BR /&gt;- As a result, I cannot distinguish label classes using `text-field` in the vector tile style.&lt;/P&gt;&lt;P&gt;Question:&lt;BR /&gt;- Is this a known limitation for line features in vector tile packages?&lt;BR /&gt;- Is there any supported way to preserve multiple label classes for line features?&lt;BR /&gt;- Should I split the labels into separate layers before exporting?&lt;BR /&gt;- Is there a workaround to make ArcGIS Pro export `_name1`, `_name2`, etc. for line labels?&lt;/P&gt;&lt;P&gt;Any guidance or official workaround would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 03:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-vector-tile-package-line-feature-labels/m-p/1710106#M103774</guid>
      <dc:creator>bondxiao</dc:creator>
      <dc:date>2026-06-26T03:12:33Z</dc:date>
    </item>
  </channel>
</rss>

