<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; color: rgb(42, 42, 42); "><div style="line-height: 17px; ">I would load a wms layer in kamap:</div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; "><div> #--------------------------------------------------</div><div> LAYER</div><div> NAME "WMSIDENA"</div><div> CONNECTION "http://idena.navarra.es/ogc/wms.aspx?"</div><div> CONNECTIONTYPE WMS</div><div> TYPE RASTER</div><div> STATUS default</div><div> GROUP Ortofoto_2010</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div> # MAXSCALE 10000</div><div> # MINSCALE 501</div><div><br></div><div> PROJECTION</div><div> "init=epsg:23030" # ED(50) UTM ZONA 30</div><div> END</div><div><br></div><div> METADATA</div><div> "wms_title" "Ortofotografia 2010 Escala 5000"</div><div> "wms_srs" "EPSG:23030"</div><div> "wms_name" "ortofoto_5000_2010"</div><div> "wms_server_version" "1.1.1"</div><div> "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp"</div><div> "wms_format" "image/png"</div><div> #"imageformat" "gif"</div><div> END</div><div> END</div><div> #--------------------------------------------------</div></div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; ">The sistem is Ok.</div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; ">Kamap works with WMS layers. Any servers don't work in kamap because the server has got an exception because kamap calls in the config.php 6 x 6 tiles and the size of this tiles are 256 x 256 pixels.</div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; ">kamap request 6 x 256 = 1536 and the maxsize permited in any servers are 1500 x 1500 px.</div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; ">Then if we change the config.php KAMAP is OK.</div><div style="line-height: 17px; "><br></div><div style="line-height: 17px; ">I change only the config file, the $metaWidth and $metaHeight value:</div><div style="line-height: 17px; "><br style="line-height: 17px; "></div><div style="line-height: 17px; ">$metaWidth = 4;</div><div style="line-height: 17px; ">$metaHeight = 4;</div><div style="line-height: 17px; "><br style="line-height: 17px; "></div><div style="line-height: 17px; ">And it's perfect.</div><div style="line-height: 17px; "><br style="line-height: 17px; "></div><div style="line-height: 17px; ">THANKS FOR ALL.</div><div style="line-height: 17px; "><span class="Apple-style-span" style="line-height: normal; "><pre style="line-height: 17px; white-space: normal; ">>> Daniel<br style="line-height: 17px; ">>> --<br style="line-height: 17px; ">>> Daniel Morissette<br style="line-height: 17px; ">>> <a href="http://www.mapgears.com/" target="_blank" style="line-height: 17px; font-weight: inherit; text-decoration: underline; color: rgb(0, 102, 204); cursor: pointer; ">http://www.mapgears.com/</a><br style="line-height: 17px; "></pre></span></div></span><div><span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; color: rgb(42, 42, 42); "><pre style="line-height: 17px; white-space: normal; ">>>Please edit your ka-Map's include/config.php file and set $metaWidth and<br style="line-height: 17px; ">$metaHeight to 4 ... this will result in metatiles of 4x4 tiles i.e. 4x4<br style="line-height: 17px; ">x 256x256 pixels = 1024 x 1024 ... and this may make the server happier.</pre></span></div><br><div>Saludos, <br>----------- <br>Antonio García Benlloch <br><br><strong>Correo:
<br></strong>angarben@hotmail.com <br><a href="mailto:angarben@aaa.upv.es">angarben@aaa.upv.es</a> <br><br><strong>Web:
<br></strong>http://personales.alumno.upv.es/~angarben<br><span style="font-size:10pt;font-family:'Courier New';color:black" lang="EN-GB"></span><span style="font-size:7.5pt;font-family:'Arial','sans-serif';color:green"><br>Antes de imprimir este mensaje, asegúrese de que es necesario.
Proteger el medio ambiente está en nuestra mano.</span><span style="font-size:10pt;font-family:'Courier New';color:black"> </span><span style="font-size:10pt;font-family:'Verdana','sans-serif'"></span>
<p class="ecxecxMsoNormal"><span style="font-size:7.5pt;font-family:'Arial','sans-serif';color:rgb(191, 191, 191)">Este mensaje y sus archivos adjuntos son confidenciales. No está
permitida su reproducción o distribución sin la autorización expresa de Antonio García. Si ha recibido este mensaje por error, por favor
bórrelo e informe a <a href="mailto:cdcom@grupocdcom.com"><span style="color:rgb(191, 191, 191);text-decoration:none">angarben@hotmail.com</span></a>. </span><span style="font-size:10pt;font-family:'Verdana','sans-serif'"></span></p>
</div><br><br><br><br>> From: ka-map-users-request@lists.maptools.org<br>> Subject: ka-Map-users Digest, Vol 65, Issue 3<br>> To: ka-map-users@lists.maptools.org<br>> Date: Tue, 23 Nov 2010 17:10:03 -0500<br>> <br>> Send ka-Map-users mailing list submissions to<br>>         ka-map-users@lists.maptools.org<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>         http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> or, via email, send a message with subject or body 'help' to<br>>         ka-map-users-request@lists.maptools.org<br>> <br>> You can reach the person managing the list at<br>>         ka-map-users-owner@lists.maptools.org<br>> <br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of ka-Map-users digest..."<br>> <br>> <br>> Today's Topics:<br>> <br>> 1. Re: I want a layer with WMS 1.3.0 in KAMAP (Daniel Morissette)<br>> 2. Re: ka-Map-users Digest, Vol 65, Issue 2 (Antonio Garc?a)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Tue, 23 Nov 2010 16:54:13 -0500<br>> From: Daniel Morissette <dmorissette@mapgears.com><br>> Subject: Re: [ka-Map-users] I want a layer with WMS 1.3.0 in KAMAP<br>> To: Antonio Garc?a <angarben@hotmail.com><br>> Cc: ka-map-users@lists.maptools.org<br>> Message-ID: <4CEC3805.2080509@mapgears.com><br>> Content-Type: text/plain; charset=ISO-8859-1<br>> <br>> Antonio Garc?a wrote:<br>> > Hello, I have got a big problem.<br>> > <br>> > I want insert a wms service in my kamap project.<br>> > <br>> > The problem is:<br>> > <br>> > I want insert the wms service: http://idena.navarra.es/ogc/wms.aspx <br>> > the service version is 1.3.0. but kamap only admit 1.0.0 to 1.1.1.<br>> > <br>> <br>> It seems that the server supports WMS 1.1.1 as well, see:<br>> <br>> http://idena.navarra.es/ogc/wms.aspx?service=wms&version=1.1.1&request=GetCapabilities<br>> <br>> Daniel<br>> -- <br>> Daniel Morissette<br>> http://www.mapgears.com/<br>                                            </body>
</html>