Bug-ID-Nummer |
BUG-000163050 |
Eingereicht | November 17, 2023 |
Zuletzt geändert | June 5, 2024 |
Gilt für | ArcGIS API for Python |
Gefunden in Version | 2.1.1 |
Betriebssystem | Windows OS |
Betriebssystemversion | 10.0 64 Bit |
Status | As Designed
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Verhalten wie geplant ist. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen".
|
Zusätzliche Informationen
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 `_`.
Workaround
Include underscores in the Python code when naming the created view layer.
Schritte zur Reproduzierung