[gdal-dev] Vector Tile Service
ari.jolma at gmail.com
Tue May 12 02:25:58 PDT 2020
VRT is raster format and MVT is vector format, so they are incompatible
without raster to vector transformation. So, I think there's something
missing from your problem statement.
rmaddu . kirjoitti 12.5.2020 klo 8.14:
> I need some help on usage of GDAL C# bindings to convert VRT to MVT.
> How do I know that, below call is complete? We observed that below
> call is Async (All the code lines are executed and Parent thread is
> waiting until the MVT files/folders are created in disk). Is this
> I want to create a Vector Tile Service. My goal is to return the tile
> to client once the tiles are generated. For this, whether the call is
> completed or not? Below is the code, written in console app.
> var options = new
> "-f", "MVT",
> "-dsco", "TILE_EXTENSION=pbf",
> "-dsco", "MINZOOM=0",
> "-dsco", "MAXZOOM=10",
> string input = @"C:\Temp\vrtfile.vrt";
> string output = @"C:\Temp\myMVTtiles";
> using (
> Dataset ds = Gdal.OpenEx(input, 4, null, null, null))
> var newDs = Gdal.wrapper_GDALVectorTranslateDestName (output, ds,
> gdalOptions, new Gdal.GDALProgressFuncDelegate(ProgressFunc), null);
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev