[MapProxy] Reprojecting google maps
max.stephan at gmx.net
Wed Jan 19 10:10:24 EST 2011
Thanks for your reply, Andreas. I know that it´s possible to reproject from 4326 to 900913 with mapproxy. But as mentioned the user can add every WMS-Server he´d like to see in the application (that means he doesn´t choose from a limited list but can enter whatever he wants). So we cannot take the static approach and add them to the yaml-File manually. We would need some kind of script/interface which adds the given WMS-Server (with the requested layer maybe) to mapproxy temporarily.
From: atrawog at gmail.com [mailto:atrawog at gmail.com] On Behalf Of Andreas Trawoeger
Sent: 19 January 2011 15:50
To: Max Stephan
Cc: Oliver Tonnhofer; mapproxy at lists.osgeo.org
Subject: Re: [MapProxy] Reprojecting google maps
2011/1/19 Max Stephan <max.stephan at gmx.net<mailto:max.stephan at gmx.net>>
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.
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?
Reprojecting from EPSG 4326 to 900913 is something that can be easily done with MapProxy.
All you have to do is to configure your sources and services in mapproxy.yaml with the appropriate srs:
srs: ['EPSG:4326', 'EPSG:900913']
abstract: Bluemarble Next Generation
title: NASA Bluemarble Next Generation September
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MapProxy