[MapProxy] California in Africa

Sebastian E. Ovide sebastian.ovide at gmail.com
Tue Aug 31 13:11:59 EDT 2010


On Tue, Aug 31, 2010 at 5:47 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:

>
> On 31.08.2010, at 18:17, Sebastian E. Ovide wrote:
> > how can I do exactly the same with MapProxy ? Do I really need to modify
> my OpenLayers script ?
>
> Without any _complete_ example configuration/code I can just guess.
>
> What where the results of my last hint, comparing two MapServer and
> MapProxy WMS requests?
>
> Have you tried to embed the service as a WMS:
>
> var ca_wild_fire_tilecache = new OpenLayers.Layer.WMS( "CA Wild Fire
> TileCache",
>         "http://mapproxy/service?",  { layers: 'ca_wild_fire' } ,  {
> opacity: 0.5, }
> );
>
>
yep... see the URL below


pls find the different requests:

MapServer: it Works

http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&mode=map&map_imagetype=png&mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&map_size=256+256&imgx=128&imgy=128&imgxy=256+256


MapProxy TMS : Looks ok but in the wrong location: CA is in Africa. If
zoomed more than 8, it is in Africa and CA at the same time but in CA is is
HUGE...
http://10.0.1.40:8123/tms/1.0.0/ca_wild_fire/EPSG3310/9/82/316.png

MapProxy WMS it displays just a back box
http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&WIDTH=256&HEIGHT=256

TileCache: it works (even if it "seams" to be slower than MapProxy)
http://10.0.1.40/tiles/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13227886.36535,4931105.56705,-13149614.8484,5009377.084&WIDTH=256&HEIGHT=256



-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20100831/74a28384/attachment.html


More information about the MapProxy mailing list