<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
<font face="Verdana">Hi Noli,<br>
<br>
Thanks, I did this and came to this point:<br>
</font>
<pre><b>sudo cp /home/timlinux/dev/cpp/qgis/src/mapserver/wms_metadata.xml .
Now edit that file and set your details as appopriate.
</b></pre>
<p><br>
Which would be "appropriate details" for me?<br>
</p>
<p>best regards<br>
Christopher<br>
</p>
<br>
<br>
<br>
Am 19.10.2011 10:39, schrieb Noli Sicad:
<blockquote
cite="mid:CADs9uc8XvPm9NaONDeX8+QD4Au1X2W_3=zRKxAwOwq1Cd0eNgQ@mail.gmail.com"
type="cite">
<pre wrap="">I guess you have read this,
<a class="moz-txt-link-freetext" href="http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/">http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/</a>
Noli
On 10/19/11, Noli Sicad <a class="moz-txt-link-rfc2396E" href="mailto:nsicad@gmail.com"><nsicad@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Christopher,
The code that I posted is not complete.
Did you include OpenLayers.js and CSS for the openlayers?
Visit this link and to see the whole code,
<a class="moz-txt-link-freetext" href="http://linfiniti.com/2011/09/qgis-server-with-tilecache/">http://linfiniti.com/2011/09/qgis-server-with-tilecache/</a>
It seem the link is not working now. However, you browse the any
openlayers example and see how the post that I copied from Tim's is
used.
Noli
On 10/19/11, Christopher Stark <a class="moz-txt-link-rfc2396E" href="mailto:christopherstark@gmx.de"><christopherstark@gmx.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Noli,
which parts in this code do I have to modify for my Qgis Server Project?
I pasted this code into a html (index2.html) file within var/www/ but
there is nothing displayed when I open
localhost/index2.html
best regards
Christopher
Am 16.10.2011 04:40, schrieb Noli Sicad:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">The most common web client being Openlayers, this will require work on
your part, mainly a few lines of javascript in a web page. You might be
able to use it directly in Geocommons or in Mapfish (also takes setup).
</pre>
</blockquote>
<pre wrap="">This is how Tim used it for OpenLayers client (below).
Very few documentation how to actually use in OpenLayers and WMS.
Noli
##############################################
<script type="text/javascript">
var map, layer;
function init(){
var MapOptions = {
projection: new OpenLayers.Projection("EPSG:32633"),
units: "m",
masxScale: 19567.879237500,
//maxScale:1000,
//minScale:17000000,
numZoomLevels: 10,
resolutions: [19567.8792375, 9783.93961875,
4891.969809375, 2445.9849046875, 1222.99245234375, 611.496226171875,
305.7481130859375, 152.87405654296876, 76.43702827148438,
38.21851413574219],
maxExtent: new
OpenLayers.Bounds(-918304.23600184,6418410.00099619,1957227.50491800,7976533.94886646),
fractionalZoom: false,
transitionEffect:"resize",
};
map = new OpenLayers.Map( 'map', MapOptions );
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
<a class="moz-txt-link-rfc2396E" href="http://maps.linfiniti.com/cgi-bin/tilecache.cgi">"http://maps.linfiniti.com/cgi-bin/tilecache.cgi"</a>,
{layers: 'utno-test'} );
map.addLayer(layer);
map.zoomToMaxExtent();
}
</script>
</head>
<body onload="init()">
<div id="map" class="map"></div>
</body>
#########################################################
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</blockquote>
</body>
</html>