<br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 7:08 PM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></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>
> MapServer: it Works<br>
><br>
> <a href="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" target="_blank">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</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&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&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" target="_blank">http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&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</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>
> 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>
> <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>
> MapProxy WMS it displays just a back box<br>
> <a href="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" target="_blank">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</a><br>
><br>
> TileCache: it works (even if it "seams" to be slower than MapProxy)<br>
> <a href="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" target="_blank">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</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: "©Omniscale 2010 (<a href="http://omniscale.de" target="_blank">http://omniscale.de</a>) â Map data: CC-BY-SA OpenStreetMap and Contributors"<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: 'None'<br>
<br>layers:<br> - ca_wild_fire:<br> md:<br> title: CA Wild Fire<br> param:<br> srs: ['EPSG:3310']<br># srs: ['EPSG:3857']<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&transparent=true" target="_blank">http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&transparent=true</a><br>
layers: ca_wild_fire<br><br><br><br><br> var ms_mapinfo_sh = new OpenLayers.Layer.MapServer( "CA Wild Fire MapServer", <br> "<a href="http://10.0.1.40/cgi-bin/mapserv" target="_blank">http://10.0.1.40/cgi-bin/mapserv</a>", <br>
{ layers: 'ca_wild_fire',<br> map: '/home/sebas/public_html/workshop-5.4/sebas.map'<br> },<br> { <br> opacity: 0.5,<br>
visibility: false <br> }<br> ); <br> <br><br> var ca_wild_fire_wms = new OpenLayers.Layer.WMS( "CA Wild Fire WMS",<br>
"<a href="http://10.0.1.40:8123/service/" target="_blank">http://10.0.1.40:8123/service/</a>",<br> { layers: 'ca_wild_fire'<br> } , <br> {<br>
opacity: 0.5,<br>
visibility: false <br> }<br> ); <br><br> var ca_wild_fire = new OpenLayers.Layer.TMS( "CA Wild Fire TMS",<br> "<a href="http://10.0.1.40:8123/tms/" target="_blank">http://10.0.1.40:8123/tms/</a>",<br>
{ layername: 'ca_wild_fire/EPSG3310',<br> type:'png'<br> },<br> { <br> opacity: 0.5,<br> visibility: false <br>
}<br> ); <br><br> <br> var ca_wild_fire_tilecache = new OpenLayers.Layer.WMS( "CA Wild Fire TileCache",<br> "<a href="http://10.0.1.40/tiles/" target="_blank">http://10.0.1.40/tiles/</a>",<br>
{ layers: 'ca_wild_fire'<br> } , <br> {<br>// transparent:"true",<br>// format:'image/png',<br> opacity: 0.5,<br>
// visibility: false <br> }<br> ); <br><br><br>-- <br></div></div>Sebastian E. Ovide<br><br><br><br>