Numéro d’ID de bogue |
BUG-000163050 |
Envoi | November 17, 2023 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS API for Python |
Version trouvée | 2.1.1 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
Layer views cannot contain spaces in the name. Underscores included in the name are kept. For example, the view can be named, 'US_Points_with_lat_long' and the view is created as expected. If the view name is, 'US Points_with_lat_long', the value contains a space in the name, which causes the issue. To automate the process, use the Python built-in replace function to replace spaces with `_`.
Solution de contournement
Include underscores in the Python code when naming the created view layer.
Étapes pour reproduire