com.amap.api.navi.enums

## 类 PathPlanningErrCode

- java.lang.Object
- - com.amap.api.navi.enums.PathPlanningErrCode

-     public class PathPlanningErrCode
      extends java.lang.Object

  路径规划错误码
  Path planning error codes.
  从以下版本开始:
    1.6.0

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static int` | `ACCESS_TOO_FREQUENT` 单位时间内访问过于频繁 Access too frequent within unit time
    `static int` | `DISABLE_RESTRICT` 已过时。
    `static int` | `ERROR_BUF` Buf数据格式错误 Buf data format error
    `static int` | `ERROR_CONNECTION` 网络超时或网络失败 Network timeout or network failure.
    `static int` | `ERROR_DISTANCE` 起点/终点/途经点的距离太长(驾车距离>6000km，步行距离>100km，骑行距离>1200km) Distance between start/end/way points is too long (driving distance > 6000km, walking distance > 100km, cycling distance > 1200km)
    `static int` | `ERROR_ENCODER` 算路服务端编码失败 Path calculation server encoding failed
    `static int` | `ERROR_ENDPOINT` 终点错误 End point error
    `static int` | `ERROR_NAVI_PARAMS` 调用直接导航 没有算路 参数错误，缺失有效的导航路径，无法开始导航 Direct navigation call without route calculation, Parameter error, missing valid navigation path, unable to start navigation
    `static int` | `ERROR_NOROADFORENDPOINT` 终点没有找到道路 No road found for end point
    `static int` | `ERROR_NOROADFORSTARTPOINT` 起点没有找到道路 No road found for start point.
    `static int` | `ERROR_NOROADFORWAYPOINT` 途径点没有找到道路 No road found for way point
    `static int` | `ERROR_PREVIEW` 路径数据缺乏预览数据 Path data lacks preview data
    `static int` | `ERROR_PROTOCOL` 请求协议非法 Illegal request protocol.
    `static int` | `ERROR_STARTPOINT` 起点错误 Start point error
    `static int` | `ERROR_WAYPOINT` 途经点错误 Way point error
    `static int` | `INSUFFICIENT_PRIVILEGES` 已过时。
    `static int` | `INVALID_PARAMS` 请求参数非法 Illegal request parameters
    `static int` | `INVALID_USER_KEY` 用户key非法或过期（请检查key是否正确） User key is invalid or expired (please check if the key is correct)
    `static int` | `INVALID_USER_SCODE` MD5安全码未通过验证,需要开发者判定key绑定的SHA1,package是否与sdk包里的一致 MD5 security code verification failed.
    `static int` | `MISMATCH_WITH_NAVIGATION` 路径规划与当前导航状态不匹配，如果正在导航中，无法进行与导航类型不匹配的普通算路 Path planning does not match current navigation status, If navigation is in progress, normal route calculation that does not match the navigation type cannot be performed
    `static int` | `NEWER_PLANNING_TASK_WORKING` 有新的独立算路任务在进行中导致本次独立算路失败 A new independent route calculation task is in progress, causing this independent route calculation to fail
    `static int` | `OUT_OF_SERVICE` 使用路径规划服务接口时可能出现该问题，规划点（包括起点、终点、途经点）不在中国陆地范围内 This issue may occur when using the path planning service interface.
    `static int` | `OVER_DIRECTION_RANGE` 使用路径规划服务接口时可能出现该问题，路线计算失败，通常是由于道路起点和终点距离过长导致 This issue may occur when using the path planning service interface, Route calculation failed, usually due to excessive distance between road start and end points
    `static int` | `OVER_QUOTA` 请求超出配额 Request exceeds quota.
    `static int` | `SERVICE_NOT_EXIST` 已过时。
    `static int` | `SERVICE_RESPONSE_ERROR` 已过时。
    `static int` | `UNKNOWN_ERROR` 未知错误(可能是由于连接的网络无法访问外网) Unknown error (may be due to the connected network being unable to access the internet)
    `static int` | `USERKEY_PLAT_NOMATCH` 请求中使用的key与绑定平台不符，例如：开发者申请的是js api的key，却用来调web服务接口 The key used in the request does not match the bound platform, For example: a developer applied for a js api key but used it to call web service interfaces

  - ### 方法概要

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### ERROR_CONNECTION

          public static final int ERROR_CONNECTION

      网络超时或网络失败
      Network timeout or network failure.
      另请参阅:
        常量字段值

    - #### ERROR_STARTPOINT

          public static final int ERROR_STARTPOINT

      起点错误
      Start point error
      另请参阅:
        常量字段值

    - #### ERROR_PROTOCOL

          public static final int ERROR_PROTOCOL

      请求协议非法
      Illegal request protocol.
      另请参阅:
        常量字段值

    - #### ERROR_ENDPOINT

          public static final int ERROR_ENDPOINT

      终点错误
      End point error
      另请参阅:
        常量字段值

    - #### ERROR_ENCODER

          public static final int ERROR_ENCODER

      算路服务端编码失败
      Path calculation server encoding failed
      另请参阅:
        常量字段值

    - #### ERROR_PREVIEW

          public static final int ERROR_PREVIEW

      路径数据缺乏预览数据
      Path data lacks preview data
      另请参阅:
        常量字段值

    - #### ERROR_BUF

          public static final int ERROR_BUF

      Buf数据格式错误
      Buf data format error
      另请参阅:
        常量字段值

    - #### ERROR_NOROADFORSTARTPOINT

          public static final int ERROR_NOROADFORSTARTPOINT

      起点没有找到道路
      No road found for start point.
      另请参阅:
        常量字段值

    - #### ERROR_NOROADFORENDPOINT

          public static final int ERROR_NOROADFORENDPOINT

      终点没有找到道路
      No road found for end point
      另请参阅:
        常量字段值

    - #### ERROR_NOROADFORWAYPOINT

          public static final int ERROR_NOROADFORWAYPOINT

      途径点没有找到道路
      No road found for way point
      另请参阅:
        常量字段值

    - #### SERVICE_NOT_EXIST

          public static final int SERVICE_NOT_EXIST

      已过时。
      请求服务不存在
      Requested service does not exist
      另请参阅:
        常量字段值

    - #### SERVICE_RESPONSE_ERROR

          public static final int SERVICE_RESPONSE_ERROR

      已过时。
      请求服务响应错误
      Request service response error
      另请参阅:
        常量字段值

    - #### INSUFFICIENT_PRIVILEGES

          public static final int INSUFFICIENT_PRIVILEGES

      已过时。
      无权限访问此服务
      No permission to access this service
      另请参阅:
        常量字段值

    - #### ERROR_DISTANCE

          public static final int ERROR_DISTANCE

      起点/终点/途经点的距离太长(驾车距离>6000km，步行距离>100km，骑行距离>1200km)
      Distance between start/end/way points is too long (driving distance > 6000km, walking distance > 100km, cycling distance > 1200km)
      另请参阅:
        常量字段值

    - #### ERROR_WAYPOINT

          public static final int ERROR_WAYPOINT

      途经点错误
      Way point error
      另请参阅:
        常量字段值

    - #### DISABLE_RESTRICT

          public static final int DISABLE_RESTRICT

      已过时。
      无法躲避限行区域，可能是规划的路线必须经过限行道路等原因
      Unable to avoid restricted areas, May be due to the planned route needing to pass through restricted roads, etc.
      另请参阅:
        常量字段值

    - #### INVALID_USER_KEY

          public static final int INVALID_USER_KEY

      用户key非法或过期（请检查key是否正确）
      User key is invalid or expired (please check if the key is correct)
      另请参阅:
        常量字段值

    - #### OVER_QUOTA

          public static final int OVER_QUOTA

      请求超出配额
      Request exceeds quota.
      另请参阅:
        常量字段值

    - #### INVALID_PARAMS

          public static final int INVALID_PARAMS

      请求参数非法
      Illegal request parameters
      另请参阅:
        常量字段值

    - #### INVALID_USER_SCODE

          public static final int INVALID_USER_SCODE

      MD5安全码未通过验证,需要开发者判定key绑定的SHA1,package是否与sdk包里的一致
      MD5 security code verification failed. Developers need to verify if the SHA1 and package bound to the key match those in the SDK package.
      另请参阅:
        常量字段值

    - #### ACCESS_TOO_FREQUENT

          public static final int ACCESS_TOO_FREQUENT

      单位时间内访问过于频繁
      Access too frequent within unit time
      另请参阅:
        常量字段值

    - #### USERKEY_PLAT_NOMATCH

          public static final int USERKEY_PLAT_NOMATCH

      请求中使用的key与绑定平台不符，例如：开发者申请的是js api的key，却用来调web服务接口
      The key used in the request does not match the bound platform, For example: a developer applied for a js api key but used it to call web service interfaces
      另请参阅:
        常量字段值

    - #### OUT_OF_SERVICE

          public static final int OUT_OF_SERVICE

      使用路径规划服务接口时可能出现该问题，规划点（包括起点、终点、途经点）不在中国陆地范围内
      This issue may occur when using the path planning service interface. Planning points (including start, end, and way points) are not within the land area of China
      另请参阅:
        常量字段值

    - #### OVER_DIRECTION_RANGE

          public static final int OVER_DIRECTION_RANGE

      使用路径规划服务接口时可能出现该问题，路线计算失败，通常是由于道路起点和终点距离过长导致
      This issue may occur when using the path planning service interface, Route calculation failed, usually due to excessive distance between road start and end points
      另请参阅:
        常量字段值

    - #### UNKNOWN_ERROR

          public static final int UNKNOWN_ERROR

      未知错误(可能是由于连接的网络无法访问外网)
      Unknown error (may be due to the connected network being unable to access the internet)
      另请参阅:
        常量字段值

    - #### ERROR_NAVI_PARAMS

          public static final int ERROR_NAVI_PARAMS

      调用直接导航 没有算路 参数错误，缺失有效的导航路径，无法开始导航
      Direct navigation call without route calculation, Parameter error, missing valid navigation path, unable to start navigation
      另请参阅:
        常量字段值

    - #### MISMATCH_WITH_NAVIGATION

          public static final int MISMATCH_WITH_NAVIGATION

      路径规划与当前导航状态不匹配，如果正在导航中，无法进行与导航类型不匹配的普通算路
      Path planning does not match current navigation status, If navigation is in progress, normal route calculation that does not match the navigation type cannot be performed
      另请参阅:
        常量字段值

    - #### NEWER_PLANNING_TASK_WORKING

          public static final int NEWER_PLANNING_TASK_WORKING

      有新的独立算路任务在进行中导致本次独立算路失败
      A new independent route calculation task is in progress, causing this independent route calculation to fail
      从以下版本开始:
        7.7.0
      另请参阅:
        常量字段值