Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия Следующая версия Следующая версия справа и слева | ||
ru:airlay:dataloader [2019/06/28 17:46] Рыков Павел [Коды ошибок] |
ru:airlay:dataloader [2020/08/20 12:29] Максим [Коды ошибок] |
||
---|---|---|---|
Строка 7: | Строка 7: | ||
<code javascript> | <code javascript> | ||
api type: POST | api type: POST | ||
- | /api/v2/ | + | /api/v3/ |
//headers// | //headers// | ||
Authorization: | Authorization: | ||
Строка 13: | Строка 13: | ||
//body// | //body// | ||
body : string(данные для отправки) | body : string(данные для отправки) | ||
+ | dataSetId : string(id dataSet) | ||
- | //return// | + | // |
Корректная отправка | Корректная отправка | ||
{ | { | ||
" | " | ||
- | " | + | " |
" | " | ||
} | } | ||
Строка 43: | Строка 44: | ||
<code javascript> | <code javascript> | ||
id = logId | id = logId | ||
- | /api/v3/log/get | + | format = json |
+ | /api/v3/logs/get | ||
{ | { | ||
" | " | ||
Строка 64: | Строка 66: | ||
1. Блок " | 1. Блок " | ||
- | 2. Блок " | + | 2. Блок " |
3. Блоке " | 3. Блоке " | ||
Строка 78: | Строка 80: | ||
=== relation === | === relation === | ||
* 201 Relation properties not exists | * 201 Relation properties not exists | ||
- | * 202 Relation | + | * |
* 203 Relation geometryType not exists | * 203 Relation geometryType not exists | ||
+ | * 204 Relation has no members | ||
=== member === | === member === | ||
- | * 301 'Member not found. Id | + | * 301 Member not found. Id |
- | * 302 'Node not found' | + | * 302 Node not found |
* 303 Invalid member type | * 303 Invalid member type | ||
* 304 One relation members expected for polygon | * 304 One relation members expected for polygon | ||
* 305 Three or more node members expected for polygon | * 305 Three or more node members expected for polygon | ||
* 306 Impossible to build the geometry of different types | * 306 Impossible to build the geometry of different types | ||
- | * 307 One relation member is expected for a point | + | * 307 One and more relation member is expected for a multi point |
=== geometry === | === geometry === | ||
- | * 400 Invalid geometry | + | * 400 Relation not found |
- | * 401 Geometry type point is expected for a Point relation | + | * 401 Impossible merge two types of geometry |
- | * 402 Geometry | + | * 402 Impossible convert |
+ | * 403 Invalid geometry type | ||
+ | * 404 Invalid geometry geometry/ | ||
* 403 Invalid geometry, is not array | * 403 Invalid geometry, is not array | ||
* 404 Invalid geometry, coordinates must contain one pair/ | * 404 Invalid geometry, coordinates must contain one pair/ | ||
Строка 99: | Строка 104: | ||
* 406 Invalid geometry, the lineString must consist of 2 or more points | * 406 Invalid geometry, the lineString must consist of 2 or more points | ||
* 407 Invalid geometry, duplicate points in line: | * 407 Invalid geometry, duplicate points in line: | ||
- | * 408 Invalid geometry, the polygon must consist | + | * 408 Invalid geometry, the polygon must consist |
* 409 Invalid geometry, the polygon is not closed | * 409 Invalid geometry, the polygon is not closed | ||
- | * 410 Polygon crosses itself | + | * 410 Invalid geometry, the LinearRing must consist of 3 or more Points |
- | * 411 Invalid geometry type | + | * 411 Invalid geometry, the MultiLineSting must consist of 1 or more Lines |
+ | * 412 Invalid geometry, the MultiPoint must consist of 1 or more Points | ||
+ | * 413 Invalid geometry, the MultiPolygon must consist of 1 or more Polygons | ||
+ | * 414 Invalid geometry, the Bbox must consist of 1 or more coordinates | ||
+ | * 415 Polygon crosses itself | ||
+ | * 416 Invalid geometry type | ||
+ | * 417 Empty geometry coordinates | ||
+ | * 418 Exceeded the maximum length |