i3s-spec icon indicating copy to clipboard operation
i3s-spec copied to clipboard

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

Open chritomix opened this issue 2 years ago • 2 comments

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

chritomix avatar Jan 10 '23 16:01 chritomix