Select to view content in your preferred language

3D Geoserver WFS but not rendering the Z dimension

600
1
04-13-2023 11:33 PM
lawrenceMC
New Contributor

Hi,

I have a WFS (v2.0.0) containing polylines with Z value hosted a local Geoserver. I am able to render the polylines on webscene, however, the z value seems to be missing. It is rendered flat at 0 elevation. The response from Geoserver clearly contains z value (pls refer to the screenshot).
I have tried the same using ArcGIS Server (WFS) and it was working with no issues.  Is there anything that I have missed out?  I've also upgraded to the latest version of arcgis/core (4.26.5) and played around with the elevation
 

 

 

 

let wfsURL = http://localhost:8080/geoserver/myData/ows?service=wfs&version=2.0.0let renderer =
{
    type: "simple",
    symbol: {
      type: "simple-line",
      width: "2px",
      style: "solid"
    }
  } 
const fLayer = new WFSLayer({
      title: "myPolyline",
      url: wfsURL,
      name: "myData:myPolyline",
      outFields: ["*"],
      renderer: renderer,
      popupEnabled: true, 
      elevation_info: {
         mode: "absolute-height",
         offset: 0,
         unit: "meters" }
  webscene.add(fLayer) 

 

 

 

 

 

lawrenceMC_0-1681453962238.png

 

lawrenceMC_0-1681453847547.png

 

 

Tags (2)
0 Kudos
1 Reply
AndreasUlmer
Esri Contributor

Could it simply be a mistyped property name?

elevation_info: {

->

elevationInfo: {

 

0 Kudos