<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi there<div><br></div><div>I have been playing with Mapproxy and I am quite impressed. Good job with it, is fantastic.</div><div><br></div><div>Now, I am trying to use it as a proxy for NASA GIBS into webmercator. For example look at</div><div><br></div><div><a href="http://146.185.145.247/tiles/citylights/GLOBAL_WEBMERCATOR/0/0/0.jpeg">http://146.185.145.247/tiles/citylights/GLOBAL_WEBMERCATOR/0/0/0.jpeg</a></div><div><br></div><div>But unfortunately the image is cut. This is the configuration I am using at MapProxy</div><div><br></div><div>------------------</div><div><div>grids:</div><div>  webmercator:</div><div>    base: GLOBAL_WEBMERCATOR</div><div>  wgs84_grid: </div><div>    base: GLOBAL_GEODETIC</div><div>    tile_size: [512, 512]</div><div>    origin: nw</div><div>    bbox: [-180, -54, 108, 90]</div><div>    bbox_srs: 'EPSG:4326’</div></div><div><br></div><div><div>sources:</div><div>  nasa_gibs_citylights:</div><div>    type: tile</div><div>    grid: wgs84_grid</div><div>    url: <a href="http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_CityLights_2012/default/EPSG4326_500m/%(z)s/%(y)s/%(x)s.jpeg">http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_CityLights_2012/default/EPSG4326_500m/%(z)s/%(y)s/%(x)s.jpeg</a></div></div><div><br></div><div><div>caches:</div><div>  nasa_gibs_citylights_cache:</div><div>    grids: [GLOBAL_WEBMERCATOR]</div><div>    sources: [nasa_gibs_citylights_cache_in]</div><div>    format: image/jpeg  </div><div>    disable_storage: true  </div><div><br></div><div>  nasa_gibs_citylights_cache_in:</div><div>    grids: [wgs84_grid]</div><div>    sources: [nasa_gibs_citylights]</div><div>    disable_storage: true</div><div><br></div><div><div>layers:</div><div> - name: citylights</div><div>   title: Layer from tiles</div><div>   sources: [nasa_gibs_citylights_cache]</div></div><div><br></div><div><div>services:</div><div>  tms:</div><div>    use_grid_names: true</div><div>    origin: ‘nw'</div></div><div>———————</div><div><br></div><div>I suspect it has to do with the bbox defined on the grid, but changing it does not work the way I expect.</div><div><br></div><div>Has anybody managed to get this working?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0);"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div>Javier de la Torre</div><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;"><div style="font-size: 11px;"><a href="http://twitter.com/jatorre/"><font class="Apple-style-span" color="#000000">@jatorre</font></a></div><div style="font-size: medium;"><br></div><div style="font-size: medium;"><b>CartoDB</b></div><div><span style="font-size: x-small; text-align: -webkit-auto;">247 Centre Street 6R</span><font size="1"><span style="text-align: -webkit-auto;"> </span>New York, 10013,USA</font></div></span></div></div></span></div></span><span class="Apple-style-span" style="font-size: 10px;">+1 347 460-5284</span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="font-size: 10px;"><br></span></div><font class="Apple-style-span" size="2"><a href="http://www.cartodb.com/">www.cartodb.com</a></font></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><font class="Apple-style-span" size="2">Map, analyze and build applications with your data</font></div><div><font class="Apple-style-span" size="2"><br></font></div></div></span></div></div></span></div></span></div></div></span></div></span></div></span></div></span></div></span></span></div></span></div></div></span></div></span></div></span></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span><br class="Apple-interchange-newline"></div></div></span></div></span></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>