<?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 Polyline 3D relative to ground with expression in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/polyline-3d-relative-to-ground-with-expression/m-p/1541144#M23612</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to elevated a pipeline from the ground with differentes heigth. Like house Pipes ... !&lt;/P&gt;&lt;P&gt;My polylines have Z values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TfenDbg_1-1726937181371.png" style="width: 1155px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115612i1382D81CCBD3F8D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TfenDbg_1-1726937181371.png" alt="TfenDbg_1-1726937181371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I call them with geoserver wfs service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;wMain3D = new WFSLayer({
          url: "http://127.0.0.1:8081/geoserver/wfs",  
          name: "r:wMain3D",  
            elevationInfo: {
              mode: "relative-to-ground",
              featureExpressionInfo: {
              expression: "Geometry($feature).paths[0][0].z"
               // 
            },  
            unit: "meters"
            },
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response from the network seem good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
            "type": "Feature",
            "id": "wMain3D.13",
            "geometry": {
                "type": "MultiLineString",
                "coordinates": [
                    [
                        [
                            35000.5836,
                            304238.1743,
                            0.5
                        ],
                        [
                            35001.225,
                            304239.1565,
                            0.5
                        ]
                    ]
                ]
            },
            "geometry_name": "the_geom",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But pipe stay at the ground &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TfenDbg_0-1726936923518.png" style="width: 1450px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115611i8E4F104111F3A70C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TfenDbg_0-1726936923518.png" alt="TfenDbg_0-1726936923518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think my expression is not good here :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"Geometry($feature).paths[0][0].z"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i need to iterate the linestring, but this method (elevationInfo) accept this kind of things?&lt;/P&gt;&lt;P&gt;I try this one :&lt;/P&gt;&lt;P&gt;When i want to see z value with label, nothing appears&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; wMain3D.labelingInfo = [{
      labelExpressionInfo: {
           expression: "Geometry($feature).paths[0][0].z"  
         },
         symbol: {
           type: "text",  
           color: "red",
           haloColor: "white",
           haloSize: "1px",
           font: {
             size: "12px",
             weight: "bold"
           }
         }
      }];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone have solution&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Sep 2024 16:47:16 GMT</pubDate>
    <dc:creator>TfenDbg</dc:creator>
    <dc:date>2024-09-21T16:47:16Z</dc:date>
    <item>
      <title>Polyline 3D relative to ground with expression</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/polyline-3d-relative-to-ground-with-expression/m-p/1541144#M23612</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to elevated a pipeline from the ground with differentes heigth. Like house Pipes ... !&lt;/P&gt;&lt;P&gt;My polylines have Z values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TfenDbg_1-1726937181371.png" style="width: 1155px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115612i1382D81CCBD3F8D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TfenDbg_1-1726937181371.png" alt="TfenDbg_1-1726937181371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I call them with geoserver wfs service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;wMain3D = new WFSLayer({
          url: "http://127.0.0.1:8081/geoserver/wfs",  
          name: "r:wMain3D",  
            elevationInfo: {
              mode: "relative-to-ground",
              featureExpressionInfo: {
              expression: "Geometry($feature).paths[0][0].z"
               // 
            },  
            unit: "meters"
            },
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response from the network seem good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
            "type": "Feature",
            "id": "wMain3D.13",
            "geometry": {
                "type": "MultiLineString",
                "coordinates": [
                    [
                        [
                            35000.5836,
                            304238.1743,
                            0.5
                        ],
                        [
                            35001.225,
                            304239.1565,
                            0.5
                        ]
                    ]
                ]
            },
            "geometry_name": "the_geom",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But pipe stay at the ground &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TfenDbg_0-1726936923518.png" style="width: 1450px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115611i8E4F104111F3A70C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TfenDbg_0-1726936923518.png" alt="TfenDbg_0-1726936923518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think my expression is not good here :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"Geometry($feature).paths[0][0].z"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i need to iterate the linestring, but this method (elevationInfo) accept this kind of things?&lt;/P&gt;&lt;P&gt;I try this one :&lt;/P&gt;&lt;P&gt;When i want to see z value with label, nothing appears&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; wMain3D.labelingInfo = [{
      labelExpressionInfo: {
           expression: "Geometry($feature).paths[0][0].z"  
         },
         symbol: {
           type: "text",  
           color: "red",
           haloColor: "white",
           haloSize: "1px",
           font: {
             size: "12px",
             weight: "bold"
           }
         }
      }];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone have solution&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 16:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/polyline-3d-relative-to-ground-with-expression/m-p/1541144#M23612</guid>
      <dc:creator>TfenDbg</dc:creator>
      <dc:date>2024-09-21T16:47:16Z</dc:date>
    </item>
  </channel>
</rss>

