> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_vectortile

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_vectortile.rs#L28-L47)
pub async fn [get\_vectortile](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-vectortile.md#method.get_vectortile)( \&self, table\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, column\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, layers: [HashMap](https://doc.rust-lang.org/1.98.1/std/collections/hash/map/struct.HashMap.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>>, tile\_x: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), tile\_y: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), zoom: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetVectortileResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Generate vector tiles from specified tablesFor internal use only. Generates the vector tiles requested using the given tables and parameters.

##### Arguments

<ul>
  <li>`table_names` - Names of the tables containing the data for generating vector tiles.</li>
  <li>`column_names` - Names of the columns containing geometric feature data.</li>
  <li>`layers` - A map of tables to colums from which vector tile layers are being generated.</li>
  <li>`tile_x` - Horizontal tile index.</li>
  <li>`tile_y` - Vertical tile index.</li>
  <li>`zoom` - Zoom level of the tile requested.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_vectortile.rs#L67-L93)
pub async fn [get\_vectortile\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-vectortile.md#method.get_vectortile_with_opts)( \&self, table\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, column\_names: [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, layers: [HashMap](https://doc.rust-lang.org/1.98.1/std/collections/hash/map/struct.HashMap.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), [Vec](https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>>, tile\_x: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), tile\_y: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), zoom: [i32](https://doc.rust-lang.org/1.98.1/std/primitive.i32.html), options: [GetVectortileRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetVectortileResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Generate vector tiles from specified tablesFor internal use only. Generates the vector tiles requested using the given tables and parameters.

##### Arguments

<ul>
  <li>`table_names` - Names of the tables containing the data for generating vector tiles.</li>
  <li>`column_names` - Names of the columns containing geometric feature data.</li>
  <li>`layers` - A map of tables to colums from which vector tile layers are being generated.</li>
  <li>`tile_x` - Horizontal tile index.</li>
  <li>`tile_y` - Vertical tile index.</li>
  <li>`zoom` - Zoom level of the tile requested.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_vectortile.rs#L96-L107)
pub async fn [get\_vectortile\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-vectortile.md#method.get_vectortile_raw)( \&self, request: &[GetVectortileRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetVectortileResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`GetVectortileRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileRequest) to the `/get/vectortile` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/get_vectortile.rs#L111-L123)
pub async fn [get\_vectortile\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/get-vectortile.md#method.get_vectortile_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[GetVectortileRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[GetVectortileResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`GetVectortileRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.GetVectortileRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.