| Numéro d’ID de bogue |
BUG-000138575 |
| Envoi | March 30, 2021 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS GIS Server |
| Version trouvée | 10.6.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | N/A |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
When stops are passed in a simple format, do not locate restricted elements and the stops are located on the nearest unrestricted street. To locate restricted elements (and thus an error is returned due to it not being able to route to or from the stop), specify this by passing in a more verbose format for specifying stops and specify, doNotLocateOnRestrictedElements=false.
For example:
{"features":[{"geometry":{"x":-88.135097,"y":37.692951356},"attributes":{"Name":"Stop1"}},{"geometry":{"x":-88.165574,"y":37.706985},"attributes":{"Name":"Stop2"}}],"doNotLocateOnRestrictedElements":false}
The following is the encoded URL:
%7B%22features%22%3A%5B%7B%22geometry%22%3A%7B%22x%22%3A-88.135097%2C%22y%22%3A37.692951356%7D%2C%22attributes%22%3A%7B%22Name%22%3A%22Stop1%22%7D%7D%2C%7B%22geometry%22%3A%7B%22x%22%3A-88.165574%2C%22y%22%3A37.706985%7D%2C%22attributes%22%3A%7B%22Name%22%3A%22Stop2%22%7D%7D%5D%2C%22doNotLocateOnRestrictedElements%22%3Afalse%7D
Étapes pour reproduire
ID de bogue: BUG-000138575
Logiciel: