<div dir="ltr">Hi Tom, I'm not sure to understand your problem, I point you to the function that downloads vector tiles from mapillary doing that conversion:<br><a href="https://github.com/enricofer/go2mapillary/blob/6c452b768e8bf8264516f27db33b1e6c690ada48/mapillary_coverage.py#L139">https://github.com/enricofer/go2mapillary/blob/6c452b768e8bf8264516f27db33b1e6c690ada48/mapillary_coverage.py#L139</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-09 17:26 GMT+01:00 Tom Chadwin <span dir="ltr"><<a href="mailto:tom.chadwin@nnpa.org.uk" target="_blank">tom.chadwin@nnpa.org.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all<br>
<br>
I've never implemented support of any unit other than pixels in my plugin. A<br>
particular use case (vector tiles) could really use mapunits. Can someone<br>
explain (or point me towards) the method for converting from mapunits to<br>
pixels for on-screen rendering?<br>
<br>
Thanks<br>
<br>
Tom<br>
<br>
<br>
<br>
-----<br>
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/QGIS-Developer-<wbr>f4099106.html</a><br>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></blockquote></div><br></div>