Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Conversation

@mywillpower
Copy link

Fix the bug that all geometry bin data has same id 0.
This bug will case that after one slpk file imported to ArcGISDesktop,while selected one geometry ,all geometries will be selected.

Fix the bug that all geometry bin data has same id 0. 
This bug will case that after one slpk file imported to ArcGISDesktop,while selected one  geometry ,all geometries will be selected.
@ladislavhorky
Copy link
Member

Hello, thanks for the PR.

Could you please elaborate more on the use-case, context and problem you are solving where this manifests itself as a bug?

If I understand it correctly this adds auto-increment geometry Id to each geometry = tile in this case. As the tiling is arbitrary and tiles do not have any semantic meaning in our case, I do not see it conceptually as a "better" behavior than having id 0 everywhere. Are your tiles different? What "one geometry" are you trying to select in ArcGIS? Is selecting particular tiles intended behavior?

@mywillpower
Copy link
Author

Hello.
Recently I was developing on ArcGISDesktop,I first used class " Esri.ArcGISRuntime.Mapping.ArcGISSceneLayer" to load one slpk file,then used " ArcGISSceneLayer.SelectFeature" to realize highlighting one Feature.
when loading a slpk file builded by libslpk,all Features will be highlighted,
but if I load a slpk file builded by arcgispro,this appearance will not happened;
after modified the source,I solved this problem.
Of course,my fix is simple and not best,you can fix it using better means.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants