<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-size:small">I am creating a custom tiling scheme for NZTM, using the MVT driver, and outputting to a directory.<br clear="all"></div><div><br></div><div><div style="font-size:small" class="gmail_default">ogr2ogr -progress -f MVT  wellyDEM_50mContour_nztm_simp ../wellyDEM_contour_50m_simp.shp -dsco MINZOOM=0 -dsco MAXZOOM=8 -dsco COMPRESS=NO -dsco TILING_SCHEME=EPSG:2193,-1000000,10000000,2293760</div><br></div><div><div style="font-size:small" class="gmail_default">In
 the render, there are no errors and the process completes just fine. If
 I use the .pbf files in an NZTM map on Leaflet, everything seems to go 
fine until I reach Zoom 8. The grid structure created for the .pbf files
 no longer lines up with an NZTM map.  I suspect this is due to the fact
 that NZTM does not have a structure where the resolutions half for each
 zoom scale and at zoom 8, this is where this first happens.  <br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">NZTM Map Tile Resolutions<br></div><div style="font-size:small" class="gmail_default">resolutions = [8960.0,4480.0,2240.0,1120.0,560.0,280.0,140.0,70.0,28.0,14.0,7.0,2.8,1.4,0.7,0.28,0.14,0.07]</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Is
 there any way I can use the resolutions also when building the tile 
cache? If I could, do you think this would this solve the alignment 
issue?</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Cheers,</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Ian<font color="#888888"><br></font></div></div></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ian C Reese</div><div><a href="https://xycarto.com" target="_blank">https://xycarto.com</a><br></div></div></div></div>