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

SLPK attribute issue - in spec or in arcgis pro tool after 2^24 = 16 777 216 records #155

Open
chritomix opened this issue Jan 10, 2023 · 2 comments

Comments

@chritomix
Copy link

Hi,
When using geoprocessing tool "Create 3D Object Scene Layer Content" in arcgis Pro 2.9.X or 3.X – I am coming to some limit of that tool / Script. I am using the tool to create SLPK based on polygon multipatch feature class representing buildings.

My guess is that within the script (written in C++ ?) , there is some variable , assign as float, so that it can only store value up to 2^24 numbers, and then it restarts from 1 again…

The tool correctly creates scene layer package with the right geometry (height) for each building. However, within SLPK, not all attribute data are correctly assigned:
• Up to 2^24 = 16 777 216 records the attribute data from SLPK corresponds to attribute data of multipitch feature class (in fact up to 16 777 214 records, the last two records have “empty “ information”).
• Then, the next building has the right geometry, but no attribute: the attribute data is the same exactly as the first building.
• The second building has the right geometry, but its attributes are the same as the second building
• etc…
Workflow:
• Open arcgis pro – GLOBAL SCENE (projection WME).
• Add MultiPatch feature class ( I am going to provide you two – one with 38 records only - to run fast small test, and second one containing more than 16mln records of buildings)
• From Tools open “Create 3D object Scene layer Content” – SLPK:

  • Set output coordinate system: Projection horizontale 4326, Projection Vetrical 5720
  • Texture – ‘ALL’ or ‘Desktop’ does not matter.

• Once SLPK is generated. Compare attributes information between multipatch feature class and SLPK (the best is to open map viewer (with multipatch ) and scene viewer (with SLPK) next to each other and compare them.

  • Go to first object id of multipatch see compare attribute information
  • Go to 16 777 217 and again compare attribute information

PRE- REQUIEREMENTS:

  • On your C drive, you must have at least 3 *25Go= 7Go free space, prior producing SLPK based on large multipatch
  • You might use the latest version of arcgis pro 3.X or 2.9. that does not matter.
    Data:
  • Attached link with geodatabase with two feature classes:
    o Building_MultiPatch_38 – with 38 records
    o Building_MultiPatch_16777224 – with 16 777 224 records of buildings
    https://www.dropbox.com/sh/0l7valf2xqrm5b2/AAAkyq661u8B7MGz-FB3uWX_a?dl=0
@Ivonne-S
Copy link

Hello,
we analyzed the issue and found a solution for the problem. We used your provided data for testing. We are planning to include the fix in ArcGIS Pro 3.2 as well as part of plan of a ArcGIS Pro 3.1 patch.

@chritomix
Copy link
Author

Good news. thank you. regards

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

No branches or pull requests

2 participants