<div dir="ltr">Thank you Pierre for the support, that's brilliant and works well in the areas I crosschecked.<div>The second TMS entry only needs to be manually updated when the token is updated, until Digital Globe gives us access to the most recent image at the highest zoom levels.</div><div><br></div><div>Claire</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 25 janv. 2019 à 22:29, Pierre Béland via talk <<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_5450599189017916801ydpd4b33babyahoo-style-wrap" style="font-family:verdana,helvetica,sans-serif;font-size:13px"><div><div>For the #ebola2018 OSM Response, OSM-RDC is using DigitalGlobe Premium imagery for the Tasking Manager project 5660 <a href="https://tasks.hotosm.org/project/5660" rel="nofollow" target="_blank">https://tasks.hotosm.org/project/5660</a>.</div><div><br></div><div>DigitalGlobe Premium superposes two images in this area. The first image is clearer and more recent but with lower resolution. Buildings look tiny and it is hard to trace precisely. The second image is relatively obscure and sometimes have clouds.</div><div><br></div><div>We can trace first with high res imagery and later switch to the lower resolution to compete the tracing. But<br></div><div>when zooming-in with JOSM, there is an automatic switch from low to high res image at the 40 meters scale (zoom 18). <br></div><div><br></div><div>How to avoid this behavior  and stick with the low res imagery ? <br></div><div><br></div><div>This is the Hack! We simply create a second TMS entry in the Imagery panel using the tms[17] prefix. Using this, the image is stretched when we zoom-in up to 40 meters. Even if we have a pixelated image, it is easier to align and trace along the building outlines.<br></div><div><span>tms[17]:https://{switch:a,b,c,d}.<a href="http://tiles.mapbox.com/v4/digitalglobe.316c9a2e/%7Bz%7D/%7Bx%7D/%7By%7D.png?access_token=pk.eyJ1IjoiZGlnaXRhbGdsb2JlIiwiYSI6ImNqZGFrZ2c2dzFlMWgyd2x0ZHdmMDB6NzYifQ.9Pl3XOO82ArX94fHV289Pg" target="_blank">tiles.mapbox.com/v4/digitalglobe.316c9a2e/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoiZGlnaXRhbGdsb2JlIiwiYSI6ImNqZGFrZ2c2dzFlMWgyd2x0ZHdmMDB6NzYifQ.9Pl3XOO82ArX94fHV289Pg</a></span><br></div><div><br></div><div>see <a href="https://twitter.com/pierzen/status/1088904024626249728" rel="nofollow" target="_blank">https://twitter.com/pierzen/status/1088904024626249728</a></div><div><br></div><div class="gmail-m_5450599189017916801ydpd4b33babsignature"><span style="font-style:italic;color:rgb(0,0,191);font-weight:bold"> <br><font face="garamond, new york, times, serif">Pierre </font><br></span></div></div></div></div>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div>