Hello,
I am trying to publish a web scene that includes both a voxel layer and a 3D point layer. I successfully published a similar web scene in the past, but it has been some time, and I don’t remember how I resolved an earlier issue.
I need to share the web scene on ArcGIS Online with others, but I am encountering an error: "X layer needs to match the scene spatial reference" , which applies to all the layers I've included. I’ve already created a new local scene and ensured that all features have the same spatial reference, but I am still facing this error.
Could you please provide guidance on the best approach for creating and sharing a web scene? I would appreciate detailed steps or tips so that I can document this for future reference.
Thank you for your help!
Best regards,
Solved! Go to Solution.
Hi @JV_ ,
Thank you for sharing the ppkx.
When I opened the ppkx I noticed that the Scene itself has a different Coordinate System than the voxel, that's why it was not rendering. The Scene is taking the Coordinate System of the 2D Layers. You can change the coordinate system of the Scene in Pro and then Share it as a Web Scene. Here are the steps I did to publish it as a web scene with the correct coordinate system.
Here is a sample of the published web scene using the attached ppkx.
Let me know if the steps above helps.
Regards,
Johanna
Hi,
Are you able to share your app code or the layers which you're using? That could help us troubleshoot.
Thanks,
Dani
Hello,
I have created a package with synthetic data; is that okay?
I believe my problem arises from working with my own personalized coordinate system. Even when I manage to reproject all features to WGS84, it still doesn't work in ArcGIS Online. When I load it into AGOL, the voxel doesn't align with the points, like this:
and the symbology of the points doesn't show up either.
I just want to learn how to do all the process, from the beginning correctly because I'm going to do it very often.
Hi @JV_ ,
Thank you for sharing the ppkx.
When I opened the ppkx I noticed that the Scene itself has a different Coordinate System than the voxel, that's why it was not rendering. The Scene is taking the Coordinate System of the 2D Layers. You can change the coordinate system of the Scene in Pro and then Share it as a Web Scene. Here are the steps I did to publish it as a web scene with the correct coordinate system.
Here is a sample of the published web scene using the attached ppkx.
Let me know if the steps above helps.
Regards,
Johanna
Thank you Johanna,
I opened a support case and had a call with support yesterday, which was very helpful.
To keep track for future reference, here are the steps I followed to set up a fully functional Web Scene:
Well, I think that covers everything! This is mostly for my own reference for next time. 😄
Thank you for your help!