<br><div class="gmail_quote">2011/1/19 Max Stephan <span dir="ltr"><<a href="mailto:max.stephan@gmx.net">max.stephan@gmx.net</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
We donīt have an agreement with google concerning this. The reason why we want to reproject the google-maps-Data is that we are overlaying it with several WMS-Layers in our Open-Layers-based application. No problem so far but the users are able to add their own WMS-Servers and some of them donīt support EPSG:900913 but I guess each of them supports EPSG:4326.<br>
So our second approach is to reproject data from those servers to EPSG:900913 but the problem is that this is not really working client-side (there is one approach using gdal-warp.js but itīs really slow and causes browser-crashes). Would it be possible to add those WMS-Servers to mapproxy temporarily to reproject them there? Is there an interface for such use cases?<br>
</blockquote><div><br><br>Reprojecting from EPSG 4326 to 900913 is something that can be easily done with MapProxy.<br>All you have to do is to configure your sources and services in mapproxy.yaml with the appropriate srs:<br>
<br>services:<br> demo:<br> kml:<br> tms:<br> wms:<br> srs: ['EPSG:4326', 'EPSG:900913']<br> image_formats: ['image/png']<br> md:<br> title: Bluemarble<br> abstract: Bluemarble Next Generation<br>
<br>layers:<br> - BMNG_09:<br> title: NASA Bluemarble Next Generation September<br> sources: [mapnik_bmng09_cache]<br><br>caches:<br> mapnik_bmng09_cache:<br> grids: [EPSG_4326_World,EPSG_900913_World]<br>
sources: [mapnik_bmng09_wms] <br> link_single_color_images: true<br> minimize_meta_requests: true<br> <br>sources:<br> mapnik_bmng09_wms:<br> type: wms<br> supported_srs: ['EPSG:4326']<br> req:<br>
url: <a href="http://localhost:8000/">http://localhost:8000/</a>?<br> layers: bmng200409<br><br>grids:<br> EPSG_4326_World:<br> base: GLOBAL_GEODETIC<br> srs: 'EPSG:4326'<br> <br> EPSG_900913_World:<br>
base: GLOBAL_MERCATOR<br> srs: 'EPSG:900913'<br><br><br>cu andreas <br></div></div>