<br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 7:08 PM, Oliver Tonnhofer <span dir="ltr">&lt;<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div><br>
On 31.08.2010, at 19:11, Sebastian E. Ovide wrote:<br>
&gt; MapServer: it Works<br>
&gt;<br>
&gt; <a href="http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&amp;map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&amp;mode=map&amp;map_imagetype=png&amp;mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&amp;imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&amp;map_size=256+256&amp;imgx=128&amp;imgy=128&amp;imgxy=256+256" target="_blank">http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&amp;map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&amp;mode=map&amp;map_imagetype=png&amp;mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&amp;imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&amp;map_size=256+256&amp;imgx=128&amp;imgy=128&amp;imgxy=256+256</a><br>



<br>
</div>Do you have that as a WMS request?<br></blockquote><div><br>what do you mean ? this is the URL generated by OpenLayers. If I open it I get a image.<br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


What do you get from the following URL?<br>
<a href="http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&amp;map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;FORMAT=image%2Fjpeg&amp;SRS=EPSG%3A900913&amp;BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&amp;WIDTH=256&amp;HEIGHT=256" target="_blank">http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&amp;map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;FORMAT=image%2Fjpeg&amp;SRS=EPSG%3A900913&amp;BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&amp;WIDTH=256&amp;HEIGHT=256</a><br>



<div><br></div></blockquote><div><br>I get an image saying that SRS must be valid.<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
&gt; 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...<br>
&gt; <a href="http://10.0.1.40:8123/tms/1.0.0/ca_wild_fire/EPSG3310/9/82/316.png" target="_blank">http://10.0.1.40:8123/tms/1.0.0/ca_wild_fire/EPSG3310/9/82/316.png</a><br>
<br>
</div>I thought they are now in the right place but the resolution does not match. Still should be a configuration issue.<br>
<div><br></div></blockquote><div><br>If I go to CA and zoom more than 8 I can see CA in CA... but HUGE... if I zoom out I can see CA in Africa with the correct (it looks like correct) size.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


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



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



<br>
</div>I need your MapProxy configuration (and your OpenLayer client for the TMS) to help you. And a URL to a WMS server that supports 3310 would be handy.<br></blockquote><div><br>service:<br>    attribution:<br>        text: &quot;©Omniscale 2010 (<a href="http://omniscale.de" target="_blank">http://omniscale.de</a>) â Map data: CC-BY-SA OpenStreetMap and Contributors&quot;<br>


    md:<br>        title: MapProxy WMS Proxy<br>        abstract: This is the fantastic MapProxy.<br>        online_resource: <a href="http://mapproxy.org/" target="_blank">http://mapproxy.org/</a><br>        contact:<br>

            person: Your Name Here<br>
            position: Technical Director<br>            organization:<br>            address: Fakestreet 123<br>            city: Somewhere<br>            postcode: 12345<br>            country: Germany<br>            phone: +49(0)000-000000-0<br>


            fax: +49(0)000-000000-0<br>            email: <a href="mailto:info@omniscale.de" target="_blank">info@omniscale.de</a><br>        access_constraints:<br>            This service is intended for private and evaluation use only.<br>


            The data is licensed as Creative Commons Attribution-Share Alike 2.0<br>            (<a href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank">http://creativecommons.org/licenses/by-sa/2.0/</a>)<br>

        fees: &#39;None&#39;<br>
<br>layers:<br>    - ca_wild_fire:<br>        md:<br>            title: CA Wild Fire<br>        param:<br>            srs: [&#39;EPSG:3310&#39;]<br>#            srs: [&#39;EPSG:3857&#39;]<br>            bbox: [-373876.958741,-604494.167244, 540030.000742, 450023.697768]<br>


            tile_size: [256, 256]<br>        sources:<br>        - type: cache_wms<br>          req:<br>            url: <a href="http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&amp;transparent=true" target="_blank">http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&amp;transparent=true</a><br>


            layers: ca_wild_fire<br><br><br><br><br>            var ms_mapinfo_sh = new OpenLayers.Layer.MapServer( &quot;CA Wild Fire MapServer&quot;, <br>                    &quot;<a href="http://10.0.1.40/cgi-bin/mapserv" target="_blank">http://10.0.1.40/cgi-bin/mapserv</a>&quot;, <br>


                    {    layers: &#39;ca_wild_fire&#39;,<br>                        map: &#39;/home/sebas/public_html/workshop-5.4/sebas.map&#39;<br>                    },<br>                    {    <br>                        opacity: 0.5,<br>


                        visibility: false                    <br>                    }<br>            );        <br>            <br><br>            var ca_wild_fire_wms = new OpenLayers.Layer.WMS( &quot;CA Wild Fire WMS&quot;,<br>


                &quot;<a href="http://10.0.1.40:8123/service/" target="_blank">http://10.0.1.40:8123/service/</a>&quot;,<br>                {    layers: &#39;ca_wild_fire&#39;<br>                } , <br>                {<br>

                    opacity: 0.5,<br>
                    visibility: false                <br>                }<br>            );        <br><br>            var ca_wild_fire = new OpenLayers.Layer.TMS( &quot;CA Wild Fire TMS&quot;,<br>                &quot;<a href="http://10.0.1.40:8123/tms/" target="_blank">http://10.0.1.40:8123/tms/</a>&quot;,<br>


                {    layername: &#39;ca_wild_fire/EPSG3310&#39;,<br>                    type:&#39;png&#39;<br>                },<br>                {    <br>                    opacity: 0.5,<br>                    visibility: false                    <br>


                }<br>            );        <br><br>            <br>            var ca_wild_fire_tilecache = new OpenLayers.Layer.WMS( &quot;CA Wild Fire TileCache&quot;,<br>                &quot;<a href="http://10.0.1.40/tiles/" target="_blank">http://10.0.1.40/tiles/</a>&quot;,<br>


                {    layers: &#39;ca_wild_fire&#39;<br>                } , <br>                {<br>//                    transparent:&quot;true&quot;,<br>//                    format:&#39;image/png&#39;,<br>                    opacity: 0.5,<br>


//                    visibility: false                <br>                }<br>            );    <br><br><br>-- <br></div></div>Sebastian E. Ovide<br><br><br><br>