<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Text de globus Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EstilCorreuElectrnic19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextdeglobusCar
        {mso-style-name:"Text de globus Car";
        mso-style-priority:99;
        mso-style-link:"Text de globus";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=CA link=blue vlink=purple style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hello Dominik,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ok. I tryed again, but I didn’t get any response from
server. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I hope in the future back to provide more successfully mapproxy.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thank you all for your time.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Antoni Vidal</span></b><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:gray'>Unitat d'Aplicacions SIG-WEB<br>
<a
href="http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392"><span
style='color:gray'>Institut Cartogrāfic de Catalunya</span></a><br>
Parc de Montjuīc, E-08038 Barcelona<br>
Tel. (+34) 93 567 15 00 (ext. 3228)<br>
<a href="http://www.icc.cat/">www.icc.cat</a></span><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'> </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dominik Helle
[mailto:helle@omniscale.de] <br>
<b>Enviat:</b> viernes, 07 de mayo de 2010 13:18<br>
<b>Per a:</b> Vidal, Antoni<br>
<b>A/c:</b> Oliver Tonnhofer; mapproxy@lists.osgeo.org<br>
<b>Tema:</b> Re: RS: [MapProxy] EPSG:23031 in direct mode<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hi Antoni,<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>i copied your mapproxy-config and try it out. <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>With your config the following link is showing my a map
:-)<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal><a
href="http://localhost:8080/service?LAYERS=icc&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG:23031&BBOX=290000,4538500,302000,4543500&WIDTH=1200&HEIGHT=500">http://localhost:8080/service?LAYERS=icc&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG:23031&BBOX=290000,4538500,302000,4543500&WIDTH=1200&HEIGHT=500</a><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Best regards,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Dominik<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<p class=MsoNormal>Am 07.05.2010 um 12:11 schrieb Vidal, Antoni:<o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br>
<o:p></o:p></p>
<div>
<p style='margin-bottom:12.0pt'><span style='font-size:10.0pt'>Hello again,<br>
<br>
I didn't get response. I changed services.yaml, here it is:<br>
<br>
service:<br>
# attribution:<br>
# text: "ŠOmniscale 2010 (<a
href="http://omniscale.de/">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/">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">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/">http://creativecommons.org/licenses/by-sa/2.0/</a>)<br>
fees: 'None'<br>
<br>
layers:<br>
# ###########################################<br>
# # server with two data sources<br>
# # configured for use in regular WMS clients<br>
# ###########################################<br>
# merged:<br>
# md:<br>
# title:
Merged server<br>
# param:<br>
# # cache tiles in
format:<br>
# # format: image/png<br>
# <br>
# # cache projected and
geographical SRS<br>
# srs: ['EPSG:4326',
'EPSG:900913']<br>
# <br>
# # store another level
between each regular level<br>
# res: 'sqrt2'<br>
# <br>
# # request all data in
this format:<br>
# request_format: image/tiff<br>
# <br>
# # use a tile size of:<br>
# tile_size: [512, 512]<br>
# <br>
# sources:<br>
# - type: cache_wms<br>
# req:<br>
# url: <a
href="http://server1/mapserver/service">http://server1/mapserver/service</a>?<br>
# layers:
base<br>
# - type: cache_wms<br>
# req:<br>
# url: <a
href="http://server2/mapserver/service">http://server2/mapserver/service</a>?<br>
# layers:
roads<br>
<br>
# # #########################<br>
# # # Layer from TMS Source<br>
# # #########################<br>
# osm:<br>
# md:<br>
# title: <a
href="http://osm.omniscale.net">osm.omniscale.net</a> - Open Street Map<br>
# attribution:<br>
# # text for this
layer<br>
# text:
""<br>
# # if inverse:
use white on black attribution. for aerial images<br>
# # inverse: False<br>
# watermark:<br>
# # add the
following text on each tile<br>
# text:
Omniscale<br>
# sources:<br>
# - type: cache_tms<br>
# # is the tile
coordinate origin (0, 0) in the lower left corner? otherwise top left.<br>
# ll_origin: True<br>
# url: <a
href="http://osm.omniscale.net/proxy/tms/osm_EPSG900913">http://osm.omniscale.net/proxy/tms/osm_EPSG900913</a><br>
<br>
# ###########################################<br>
# # overlay layer<br>
# ###########################################<br>
# roads:<br>
# md:<br>
# title:
transparent overlay<br>
# param:<br>
# srs: 'EPSG:900913'<br>
# sources:<br>
# - type: cache_wms<br>
# req:<br>
# url: <a
href="http://server/mapserver/service">http://server/mapserver/service</a>?<br>
# layers:
roads<br>
#
transparent: 'true'<br>
<br>
# #########################<br>
# # Layer from TMS Source<br>
# #########################<br>
osm:<br>
md:<br>
title:
Omniscale OSM WMS - <a href="http://osm.omniscale.net">osm.omniscale.net</a><br>
param:<br>
# cache
tiles in format:<br>
# format:
image/png<br>
<br>
# cache
projected and geographical SRS<br>
srs:
['EPSG:4326', 'EPSG:900913']<br>
<br>
# store
another level between each regular level<br>
res: 'sqrt2'<br>
<br>
# request
all data in this format:<br>
#
request_format: image/png<br>
<br>
# use a tile
size of:<br>
tile_size:
[256, 256]<br>
sources:<br>
- type: cache_wms<br>
req:<br>
url: <a
href="http://osm.omniscale.net/proxy/service">http://osm.omniscale.net/proxy/service</a>?<br>
layers: osm<br>
# styles:<br>
#
transparent: False<br>
<br>
# #########################<br>
# # Layer from TMS Source<br>
# #########################<br>
icc:<br>
md:<br>
title: ICC
WMS - <a href="http://www.icc.cat">www.icc.cat</a><br>
param:<br>
# cache
tiles in format:<br>
# format:
image/png<br>
<br>
# cache
projected and geographical SRS<br>
srs:
['EPSG:23031', 'EPSG:4326']<br>
<br>
# store
another level between each regular level<br>
res: 'sqrt2'<br>
<br>
# request
all data in this format:<br>
#
request_format: image/png<br>
<br>
# use a tile
size of:<br>
tile_size:
[256, 256]<br>
sources:<br>
- type: direct<br>
req:<br>
url: <a
href="http://shagrat.icc.es/lizardtech/iserv/ows">http://shagrat.icc.es/lizardtech/iserv/ows</a>?<br>
layers:
mtc50m<br>
exceptions:
application/vnd.ogc.se_xml<br>
# styles:<br>
#
transparent: False<br>
<br>
<br>
Thank you Oliver.<br>
<br>
Antoni Vidal.<br>
<br>
-----Missatge original-----<br>
De: Oliver Tonnhofer [<a href="mailto:olt@omniscale.de">mailto:olt@omniscale.de</a>]<br>
Enviat el: dv. 07/05/2010 10:26<br>
Per a: Vidal, Antoni<br>
A/c: <a href="mailto:mapproxy@lists.osgeo.org">mapproxy@lists.osgeo.org</a><br>
Tema: Re: [MapProxy] EPSG:23031 in direct mode<br>
<br>
Hi Antoni,<br>
<br>
On 07.05.2010, at 08:28, Vidal, Antoni wrote:<br>
<br>
>> Anything on the console? Can you post you configuration?<br>
> sources:<br>
> - type: direct<br>
> req:<br>
> url: <a
href="http://shagrat.icc.es/lizardtech/iserv/ows">http://shagrat.icc.es/lizardtech/iserv/ows</a>?<br>
> layers:
mtc50m<br>
<br>
<br>
That one is tricky. Your server does not support inimage exceptions <br>
wich is the default for the direct requests. That's OK and within the <br>
standard, but your server does not report meaningful errors: <br>
"<ServiceException>Unknown error</ServiceException>".<br>
<br>
You need to set the exception format explicit:<br>
<br>
- type: direct<br>
req:<br>
url: <a
href="http://shagrat.icc.es/lizardtech/iserv/ows">http://shagrat.icc.es/lizardtech/iserv/ows</a>?<br>
layers:
mtc50m<br>
exceptions:
application/vnd.ogc.se_xml<br>
<br>
<br>
After that you will hit the bug I mentioned yesterday. You have to <br>
remove line 2 and 3 of your service.yaml, you are also limited to the <br>
image format that is configured 'image/png' and can't set transparent <br>
and bgcolor. I will try to fix this bug today.<br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer <<a href="mailto:tonnhofer@omniscale.de">tonnhofer@omniscale.de</a>><br>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR<br>
Nadorster Str. 60, 26123 Oldenburg<br>
Tel: +49(0)441/9392774-2 (Fax: 9)<br>
<br>
</span><o:p></o:p></p>
</div>
<p class=MsoNormal>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
http://lists.osgeo.org/mailman/listinfo/mapproxy<o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>-- <o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Dominik Helle <<a href="mailto:helle@omniscale.de">helle@omniscale.de</a>><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Omniscale, Dominik Helle, Oliver Tonnhofer GbR<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Nadorster Straße 60, 26123 Oldenburg<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Tel: +49(0)441/9392774-1 (Fax: 9)<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>