Hi everyone,
I would create a Mapbox Vector Tile cache using ogr2ogr and MVT: Mapbox Vector
Tiles — GDAL documentation but writing the files in the EPSG:25830 projection.
Later I want to show this layer in one OpenLayers map viewer with this CRS as
map system reference.
I have read the driver provides the TILINGS_SCHEME parameter:
TILING_SCHEME=crs,tile_origin_upper_left_x,tile_origin_upper_left_y,
tile_dimension_zoom_0: Define a custom tiling scheme with a CRS (typically
given as EPSG:XXXX), the coordinates of the upper-left corner of the upper-left
tile (0,0) in the CRS, and the dimension of the tile at zoom level 0. Only
available for FORMAT=DIRECTORY. The standard WebMercator tiling scheme would be
defined by “EPSG:3857,-20037508.343,20037508.343,40075016.686”. A tiling scheme
for WGS84 geodetic could be “EPSG:4326,-180,180,360”. The tiling scheme for
Finnish ETRS-TM35FIN (EPSG:3067) is “EPSG:3067,-548576,8388608,2097152”. When
using such as custom tiling scheme, the ‘crs’, ‘tile_origin_upper_left_x’,
‘tile_origin_upper_left_y’ and ‘tile_dimension_zoom_0’ entries are added to the
metadata.json, and are honoured by the OGR MVT reader.
How can I get these metadata values for my CRS? Any way, is it a good pratice
using another CRS that EPSG:3857? Otherwise, what do you recommend me?
Thanks in advanceAlvaro
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev