Esri / i3s-spec

This repository hosts the specification for Scene Layers which are containers for arbitrarily large amounts of geographic data. The delivery and persistence model for Scene Layers, referred to as Indexed 3d Scene Layer (I3S) and Scene Layer Package (SLPK) respectively, are specified.
Other
319 stars 85 forks source link

strange error happened SLPK_FILE_METHOD_NOT_STORE #141

Closed disednet closed 2 years ago

disednet commented 2 years ago

I couldn't upload the slpk file and then checked it with i3_converter. It informed me that the file contented a wrong resource and the description was "Warning : Loading resource sublayers/0/nodes/root/3dNodeIndexDocument failed with error:SLPK_FILE_METHOD_NOT_STORE". Could you explain what it does mean?

rvargasESRI commented 2 years ago

@disednet Can you upload an example SLPK?

Every node requires a https://github.com/Esri/i3s-spec/blob/master/docs/1.8/3DNodeIndexDocument.cmn.md so either your missing the document per node or it is not valid.

rvargasESRI commented 2 years ago

@disednet I have a correct to my comment above. The error message you are receiving is due to a portion of the archive being compressed where it should not be. Please see https://github.com/Esri/i3s-spec/blob/master/format/Indexed%203d%20Scene%20Layer%20Format%20Specification.md#scene-layer-packages-

disednet commented 2 years ago

@rvargasESRI I attached the model through google drive. I double-checked that the file exists and zip is on the STORE state. Could you check the file, I am likely to miss something

disednet commented 2 years ago

Could you find out the reason for this failure with the file I attached?

disednet commented 2 years ago

@disednet I have a correct to my comment above. The error message you are receiving is due to a portion of the archive being compressed where it should not be. Please see https://github.com/Esri/i3s-spec/blob/master/format/Indexed%203d%20Scene%20Layer%20Format%20Specification.md#scene-layer-packages-

According to the document you attached, I could compress the scene with STORE MODE, but for every file inside SLPK structure, I can choose gzip compressor with the certain level of the compression.

disednet commented 2 years ago

I found the error, actually, it was a file with metainfo which was compressed with another level of compression.