| Numéro d’ID de bogue |
BUG-000110855 |
| Envoi | January 16, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.0.1 |
| Statut | Non-Reproducible
Ce problème n’a pas pu être reproduit au cours des tests réalisés par l’équipe de développement. Ce statut peut être attribué aux problèmes qui sont impossibles à reproduire ou qui ne sont plus d’actualité dans une version de développement du logiciel, alors qu’aucun correctif spécifique n’a été installé pour résoudre le problème. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
"DMS 1" & "DMS 2" format produce output as per design. The design does not include the symbols (for degree, minute second). This format was as requested. This is not to say it could not be improved, though that would mean an enhancement request (instead of this bug fix request).
WORKAROUND
It is already possible to achieve what's asked by doing the following (ArcGIS Pro code below)
- add a new text field (named "pretty_dms" for now) to the data
- run CalculateField, with the following parameter values
- field Name : pretty_dms
- expression type: python
- expression: pretty(!DMSLatLon!)
- in the code Block paste the code below
def pretty(v):
v = v.split(" ")
return v[0] + "\u00b0 " +\
v[1] + "\u2032 " +\
v[2][:-1] + "\u2033" + v[2][-1:] + " " +\
v[3] + "\u00b0 " +\
v[4] + "\u2032 " +\
v[5][:-1] + "\u2033" + v[5][-1:]
Solution de contournement
Create latitude and longitude attributes in DMS format in Arcmap and open the data in ArcGIS Pro.
Étapes pour reproduire
ID de bogue: BUG-000110855
Logiciel: