Crash halfway on itemCount 0 must be greater than or equal to 1
See original GitHub issueCommand:
docker run \
-v $(pwd)/data/tiles:/app/output \
-it geodan/pg2b3dm \
-h metis -U tomt -d maquette_nl -p 5433 \
-t tmp.betterroofs_extruded
output:
tool: pg2b3dm 0.3.1.0
Start processing....
Calculating bounding boxes...
Writing tileset.json...
Writing 24 tiles...
Progress: tile 7 - 29.17%
Unhandled Exception: System.ArgumentOutOfRangeException: itemCount 0 must be greater than or equal to 1.
Parameter name: itemCount
at SharpGLTF.Guard.MustBeGreaterThanOrEqualTo[TValue](TValue value, TValue min, String parameterName)
at SharpGLTF.Schema2.Accessor.SetData(BufferView buffer, Int32 bufferByteOffset, Int32 itemCount, DimensionType dimensions, EncodingType encoding, Boolean normalized)
at SharpGLTF.Schema2.Accessor.SetVertexData(BufferView buffer, Int32 bufferByteOffset, Int32 itemCount, DimensionType dimensions, EncodingType encoding, Boolean normalized)
at SharpGLTF.Schema2.Accessor.SetVertexData(MemoryAccessor src)
at SharpGLTF.Schema2.Schema2Toolkit.CreateVertexAccessor(ModelRoot root, MemoryAccessor memAccessor)
at SharpGLTF.Schema2.Schema2Toolkit.WithVertexAccessor(MeshPrimitive primitive, MemoryAccessor memAccessor)
at SharpGLTF.Schema2.Schema2Toolkit.WithVertexAccessors(MeshPrimitive primitive, IEnumerable`1 memAccessors)
at SharpGLTF.Geometry.PackedPrimitiveBuilder`1.CopyToMesh(Mesh dstMesh, Func`2 materialEvaluator)
at SharpGLTF.Geometry.PackedMeshBuilder`1.CreateSchema2Mesh(ModelRoot root, Func`2 materialEvaluator)
at SharpGLTF.Schema2.Schema2Toolkit.CreateMeshes[TMaterial,TvP,TvM,TvS](ModelRoot root, Func`2 materialEvaluator, MeshBuilder`4[] meshBuilders)
at pg2b3dm.Program.WriteB3dm(List`1 geomrecords, Int32 tile_id) in /src/pg2b3dm/Program.cs:line 171
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Crash Data Improvement Program Guide - CrashStats - NHTSA
The CDIP guide is intended for State crash database administrators and managers, State Traffic Records. Coordinating Committee \ members, State ...
Read more >Understanding Car Crashes: It's Basic Physics - YouTube
Watch an updated version at https://youtu.be/2XKOzibVqJgWhat happens to vehicles and their occupants in crashes is determined by science.
Read more >Vehicle Damage Guide for Traffic Crash Investigators
If a vehicle sustained no discernible damage, a “0” rating should be reported. The “0” rating is generally applicable to collisions of motor...
Read more >Understanding Car Crashes — It's Basic Physics!
1. What determines if one car has more momentum than another in a two-car collision? Momentum is a product of a car's mass...
Read more >TRANSPORTATION CODE CHAPTER 550. ACCIDENTS AND ...
(b) An operator of a vehicle required to stop the vehicle by Subsection (a) shall do so without obstructing traffic more than is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Works! 😃
Works!