{"_id":"5b3f9f106a6e990003f5fd82","project":"55faeacad0e22017005b8265","version":{"_id":"55faeacad0e22017005b8268","project":"55faeacad0e22017005b8265","__v":37,"createdAt":"2015-09-17T16:31:06.800Z","releaseDate":"2015-09-17T16:31:06.800Z","categories":["55faeacbd0e22017005b8269","55faf550764f50210095078e","55faf5b5626c341700fd9e96","55faf8a7825d5f19001fa386","560052f91503430d007cc88f","560054f73aa0520d00da0b1a","56005aaf6932a00d00ba7c62","56005c273aa0520d00da0b3f","5601ae7681a9670d006d164d","5601ae926811d00d00ceb487","5601aeb064866b1900f4768d","5601aee850ee460d0002224c","5601afa02499c119000faf19","5601afd381a9670d006d1652","561d4c78281aec0d00eb27b6","561d588d8ca8b90d00210219","563a5f934cc3621900ac278c","5665c5763889610d0008a29e","566710a36819320d000c2e93","56ddf6df8a5ae10e008e3926","56e1c96b2506700e00de6e83","56e1ccc4e416450e00b9e48c","56e1ccdfe63f910e00e59870","56e1cd10bc46be0e002af26a","56e1cd21e416450e00b9e48e","56e3139a51857d0e008e77be","573b4f62ef164e2900a2b881","57c9d1335fd8ca0e006308ed","57e2bd9d1e7b7220000d7fa5","57f2b992ac30911900c7c2b6","58adb5c275df0f1b001ed59b","58c81b5c6dc7140f003c3c46","595412446ed4d9001b3e7b37","59e76ce41938310028037295","5a009de510890d001c2aabfe","5a96f89c89442e002041144b","5b3f9b7267cbc90003d283a5"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"v1","version_clean":"1.0.0","version":"1"},"category":{"_id":"5b3f9b7267cbc90003d283a5","project":"55faeacad0e22017005b8265","version":"55faeacad0e22017005b8268","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-07-06T16:40:18.797Z","from_sync":false,"order":20,"slug":"vector-tile-generation-and-export","title":"Vector Export Service"},"user":"56267741db1eda0d001c3dbb","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-07-06T16:55:44.667Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"56e2c51cc8b0a40e000aa56b","results":{"codes":[{"name":"","code":"{\n    \"request_id\": \"0e157a1a1434f000\",\n    \"url\": \"/api/export/0e157a1a1434f000/status\"\n}","language":"json","status":200}]},"method":"post","examples":{"codes":[{"code":"https://vector.geobigdata.io/insight-vector/api/export\n\nBody:\n{\n\t\"request_type\": [ \"zip\", \"tile\" ],\n\t\"index\": \"vector-gbdx-*-catalog-v2-2*\",\n\t\"query\": { \"query_string\": { \"query\": \"item_type: SENTINEL2\" } },\n\t\"geometry\": {\n\t\t\"type\": \"GeometryCollection\",\n\t\t\"geometries\": [\n\t\t\t{ \"type\": \"Polygon\",\n\t\t\t\"coordinates\": [[[1.7,1.9], [1.7,2.5],[2.5,2.5],[2.5,1.9],[1.7,1.9]]]\n\t\t\t},\n\t\t\t{ \"type\": \"MultiPolygon\",\n\t\t\t\"coordinates\": [ [ [ [ -7.629, 33.61 ], [ -7.629, 33.59 ], [ -7.58, 33.59 ], [ -7.59, 33.63 ], [ -7.629, 33.61 ] ] ], [ [ [ -7.55, 33.61 ], [ -7.54, 33.57 ], [ -7.57, 33.54 ], [ -7.58, 33.58 ], [ -7.55, 33.61 ] ] ] ]\n\t\t\t}\n\t\t]\n\t},\n\t\"s3_prefix\": \"Test\",\n\t\"tile_params\": {\n\t\t\"tileset_name\": \"Test Set\",\n\t\t\"layer_name\": \"Test footprints\",\n\t\t\"tileset_description\": \"A test.\",\n\t\t\"min_zoom\": 0,\n\t\t\"max_zoom\": 5,\n\t\t\"simplification\": 8\n\t}\n}","language":"json"},{"code":"Request:\n  POST /insight-vector/api/export\n\nHeaders:\n  Authorization: Bearer {token}\n  Content-Type: application/json\n\nBody:\n  {...JSON...}\n  \n\nResponse (success):\n  200 OK\n  {\n    \"request_id\": \"{flake_id}\",\n    \"url\": \"{url}\"\n  }","language":"text"}]},"auth":"required","params":[],"url":"/insight-vector/api/export"},"isReference":false,"order":4,"body":"**request_id** is the ID generated for this request.\n**url** is the URL which can be used to check on the progress of the tile request. See [View Export Status](doc:view-export-status).","excerpt":"","slug":"export-vectors","type":"endpoint","title":"Export Vectors"}

postExport Vectors


Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

**request_id** is the ID generated for this request. **url** is the URL which can be used to check on the progress of the tile request. See [View Export Status](doc:view-export-status).

User Information

Try It Out


post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}