Есть Route Task, возвращает маршрут и направления (route & directions).
ArcGIS Server 9.3.1
сервер Windows Server 2003 R2 английский, региональные настройки русские (пробовал менять на английские, без перезагрузки)
Если сравнить координаты из directions и route, то окажется , что в первом случае они округлены до целого
Например
1/ первая остановка маршрута из directions
+1+8ml3h+6mgbr+0+0 (compressed geometry)
x=9131121,y=7029115 (расшифровка)
2/ Route- весь маршрут
Polyline:
Path0:[9131120,5196,7029114,5867],[9131712,0392,7028750,7598],[9131801,4032,7028661,28]...247 more...
Первая точка с десятичными знаками
x=9131120,5196, y=7029114,5867
Где засада?
Запрос
.../NAServer/Route/solve?stops=%7B%22features%22%3A%5B%7B%22attributes%22%3A%7B%22Name%22%3A%221%22%2C%22PointType%22%3A%22StopPoint%22%2C%22ReturnNumber%22%3A-1%2C%22NumVertex%22%3A-1%2C%22Status%22%3A%22Unknown%22%7D%2C%22geometry%22%3A%7B%22x%22%3A9131340.9466%2C%22y%22%3A7029490.0441%7D%7D%2C%7B%22attributes%22%3A%7B%22Name%22%3A%222%22%2C%22PointType%22%3A%22StopPoint%22%2C%22ReturnNumber%22%3A-1%2C%22NumVertex%22%3A-1%2C%22Status%22%3A%22Unknown%22%7D%2C%22geometry%22%3A%7B%22x%22%3A9184641.8256%2C%22y%22%3A7015380.9878%7D%7D%2C%7B%22attributes%22%3A%7B%22Name%22%3A%223%22%2C%22PointType%22%3A%22StopPoint%22%2C%22ReturnNumber%22%3A-1%2C%22NumVertex%22%3A-1%2C%22Status%22%3A%22Unknown%22%7D%2C%22geometry%22%3A%7B%22x%22%3A9209724.5922%2C%22y%22%3A6993433.567%7D%7D%5D%7D&barriers=%7B%22features%22%3A%5B%5D%7D&outSR=102100&ignoreInvalidLocations=true&accumulateAttributeNames=Minutes%2Cmeters&impedanceAttributeName=meters&restrictionAttributeNames=autos%2COneway&attributeParameterValues=&restrictUTurns=esriNFSBAllowBacktrack&useHierarchy=false&returnDirections=true&returnRoutes=true&returnStops=true&returnBarriers=false&directionsLanguage=en-US&outputLines=esriNAOutputLineTrueShape&findBestSequence=false&preserveFirstStop=true&preserveLastStop=false&useTimeWindows=false&startTime=&outputGeometryPrecision=9&outputGeometryPrecisionUnits=esriMeters&directionsTimeAttributeName=Minutes&directionsLengthUnits=esriNAUMeters&f=html