Amélioration

Running a Dissolve loses z - it appears to be reset to 0.0.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID d’amélioration NIM001607
EnvoiAugust 22, 2014
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.1
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Processus alternatif

From 680654:
Below are two possible workarounds that others have suggested, the second one requires 3D Analyst:

1. Write out the pre-dissolve features to a text file using the GP tool 'Write Features To Text File'
2. Also write out the post-dissolve features to a text file. This will not have Zs.
3. I made the assumption that each unique XY vertex would have a corresponding unique Z.
4. I joined the post dissolve table with pre dissolve table based on a concatenation of the X and Y fields.
5. I calc'd the post dissolve Z to equal the pre dissolve Z
6. I created a new feature class from the table using the GP tool 'Create Feature From Text File'.

The other, using 3D Analyst:

1. Take the original feature run Feature Vertices to Points on it.
2. Take the new point feature class and run Feature to raster and set the "Field" property to the Shape field so that the Zs become the cell value of the raster.
3. Run your dissolve.
4. On the 3d analyst toolbar there is a tool called "Convert Features to 3d". Run this tool and use your newly created raster as the input. This will give z values to your feature class.

Étapes pour reproduire

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Contacter le support technique

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement