Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I3S Loader not working - 404/Requested scene layer node root resource not available #2309

Closed
leefsmp opened this issue Jan 2, 2023 · 5 comments · Fixed by #2310
Closed
Assignees

Comments

@leefsmp
Copy link

leefsmp commented Jan 2, 2023

Just can't get dataset to load with the I3S loader, it attempts to invoke an endpoint for the root node that doesn't exist on the service. Not sure if the spec isn't correct or if I need to do something on my side to make it work...

https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/BARNEGAT_BAY_LiDAR_UTM/SceneServer/layers/0/nodes/root >> 404 "Requested scene layer node root resource not available."

Sample service:
https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/BARNEGAT_BAY_LiDAR_UTM/SceneServer/layers/0

Live demo:
https://developers.arcgis.com/javascript/latest/sample-code/layers-pointcloud/live/

const loadTest = async(zoom: number) => {

    const tileseturl = "https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/BARNEGAT_BAY_LiDAR_UTM/SceneServer/layers/0";

  const tileset = await load(tileseturl, I3SLoader);

  const tileset3d = new Tileset3D(tileset, {
    onTileLoad: tile => console.log(tile)
  });

  const viewport = new WebMercatorViewport({
    longitude: -122.431297, 
    latitude: 37.773972, 
    zoom
  })

  tileset3d.update(viewport);

  console.log(tileset3d.tiles)
}
@kauly
Copy link

kauly commented Jan 4, 2023

I'm having the same problem with the cesium-ion-loader. Seems that the bearer token is being modified in the request header.

@kauly
Copy link

kauly commented Jan 4, 2023

My problem here was that cesium changed the base URL, its working now.

@leefsmp
Copy link
Author

leefsmp commented Jan 4, 2023

I think the problem here is that I3S pointcloud tiles API is a bit different than IntegratedMeshes and it's not supported by that loader unfortunately.

@belom88
Copy link
Collaborator

belom88 commented Jan 4, 2023

I3SLoader doesn't support Point Cloud Layer at the moment.
We should probably promt some warning in the console @Tamrat-B ?

@Tamrat-B
Copy link
Collaborator

Tamrat-B commented Jan 5, 2023

@belom88 agreed. Could you pls add an issue to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants