<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>MapScript ohne MapFile</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@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";}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:21.6pt;
        text-indent:-21.6pt;
        page-break-after:avoid;
        mso-list:l1 level1 lfo7;
        font-size:16.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:28.8pt;
        text-indent:-28.8pt;
        page-break-after:avoid;
        mso-list:l1 level2 lfo7;
        font-size:14.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h3
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:36.0pt;
        text-indent:-36.0pt;
        page-break-after:avoid;
        mso-list:l1 level3 lfo7;
        font-size:13.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h4
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:43.2pt;
        text-indent:-43.2pt;
        page-break-after:avoid;
        mso-list:l1 level4 lfo7;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:32.15pt;
        margin-bottom:.0001pt;
        text-indent:-18.0pt;
        mso-list:l0 level1 lfo6;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:0cm;
        text-align:center;
        font-size:18.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {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";}
p.Autor, li.Autor, div.Autor
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:0cm;
        text-align:center;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-variant:small-caps;}
p.Literaturverzeichnis, li.Literaturverzeichnis, div.Literaturverzeichnis
        {margin-top:3.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:35.45pt;
        margin-bottom:.0001pt;
        text-indent:-35.45pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage23
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:-125;
        mso-list-type:simple;
        mso-list-template-ids:-602487996;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:"Aufzählungszeichen 2";
        mso-level-text:o;
        mso-level-tab-stop:32.15pt;
        mso-level-number-position:left;
        margin-left:32.15pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1
        {mso-list-id:329017703;
        mso-list-template-ids:-1269145284;}
@list l1:level1
        {mso-level-style-link:"Überschrift 1";
        mso-level-tab-stop:21.6pt;
        mso-level-number-position:left;
        margin-left:21.6pt;
        text-indent:-21.6pt;}
@list l1:level2
        {mso-level-style-link:"Überschrift 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:28.8pt;
        mso-level-number-position:left;
        margin-left:28.8pt;
        text-indent:-28.8pt;}
@list l1:level3
        {mso-level-style-link:"Überschrift 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        margin-left:36.0pt;
        text-indent:-36.0pt;}
@list l1:level4
        {mso-level-style-link:"Überschrift 4";
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:43.2pt;
        mso-level-number-position:left;
        margin-left:43.2pt;
        text-indent:-43.2pt;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:50.4pt;
        mso-level-number-position:left;
        margin-left:50.4pt;
        text-indent:-50.4pt;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:57.6pt;
        mso-level-number-position:left;
        margin-left:57.6pt;
        text-indent:-57.6pt;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:64.8pt;
        mso-level-number-position:left;
        margin-left:64.8pt;
        text-indent:-64.8pt;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        margin-left:72.0pt;
        text-indent:-72.0pt;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:79.2pt;
        mso-level-number-position:left;
        margin-left:79.2pt;
        text-indent:-79.2pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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=DE link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hallo Matthias,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>ja, Du hast Recht. Es geht auch ohne
MapFile. Zum setzen von Werten im MapObjekt siehe phpMapScript Doku:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class"
title="http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class">http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Einige Werte lassen sich mit der Methode
set setzen andere direkt belegen. Zum Hinzufügen von neuen Layern z.B. gibt es
auch wieder extra Methoden ms_newLayerObj etc. Man gibt beim Konstruktor
jeweils an wo es dazugehört. Der Layer z.B. zu welchem MapObjekt.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Außer das OutputFormatObj kann man alle
konstruieren. Das OutputFormatObjekt nach meinem letzten Kenntnisstand noch
nicht. Das behebst Du in dem Du doch eine MapDatei ließt beim erzeugen eines
MapObjektes wo nur die Outputformatbeschreibungen drin stehen. Wie hier:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>MAP<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> OUTPUTFORMAT<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> NAME png<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> MIMETYPE image/png<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> DRIVER GD/PNG<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> EXTENSION png<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> IMAGEMODE RGB<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> TRANSPARENT FALSE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> OUTPUTFORMAT<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> NAME jpeg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> MIMETYPE image/jpeg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> DRIVER GD/JPEG<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> EXTENSION jpg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> IMAGEMODE RGB<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> TRANSPARENT FALSE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> OUTPUTFORMAT<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> NAME
jpeg_print<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> MIMETYPE
image/jpeg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> DRIVER
GD/JPEG<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> EXTENSION
jpg<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> IMAGEMODE
RGB<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> TRANSPARENT
FALSE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
FORMATOPTION "QUALITY=100"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>END<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Es gibt Anwendungen wo die MapDatei
komplett weggelassen wird und die Inhalte nur in einer Datenbank gehalten
werden.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>z.B. kvwmap siehe:
https://kvwmap.geoinformatik.uni-rostock.de<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Gruß Peter Korduan<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapserver-de-bounces@freegis.org [mailto:mapserver-de-bounces@freegis.org] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>Heber, Matthias<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 27. März 2006
12:09<br>
<b><span style='font-weight:bold'>An:</span></b> <st1:PersonName w:st="on">mapserver-de@freegis.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> [Mapserver-DE] MapScript
ohne MapFile</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hallo,</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>da ich
den MapServer zwar schon als CGI kenne, nun aber mit PHP MapScript arbeiten
möchte, folgende Frage:</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Soweit
ich weiß, kann man mit MapScript die Parameter (Eigenschaften, Werte) der
Map-Datei verändern.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Ist es
auch möglich Parameter die noch nicht in der Map-Datei angegeben wurden per
MapScript einzufügen?</span></font> <o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Falls
dies der Fall ist, müsste es doch auch möglich sein, die ".map"
nachzubauen und so die eigentliche Datei wegzulassen?</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Grüße
aus Hannover</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Matthias
Heber</span></font> <o:p></o:p></p>
<p><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></font>
<br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Dipl.-Ing.
Matthias Heber</span></font> <o:p></o:p></p>
<p><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>GGA-Institut
<font color=navy><span style='color:navy'>(Leibniz Institute for Applied
Geosciences) </span></font></span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Sektion
5 - Geoinformatik und Datenbanken</span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Stilleweg
2</span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>30655
Hannover / Germany</span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Tel.:
+49 (0)511 643-2939<br>
Fax.: +49 (0)511 643-3665</span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Mail:
</span></font><a href="mailto:m.heber@gga-hannover.de"
title="mailto:m.heber@gga-hannover.de"><font size=2 face=Tahoma
title="mailto:m.heber@gga-hannover.de"><span
title="mailto:m.heber@gga-hannover.de"><span style='font-size:10.0pt;
font-family:Tahoma'>m.heber@gga-hannover.de</span></span></font></a> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Web:
</span></font><a href="file:///\\www.gga-hannover.de"
title="file://www.gga-hannover.de/"><font size=2 face=Tahoma
title="file://www.gga-hannover.de/"><span title="file://www.gga-hannover.de/"><span
style='font-size:10.0pt;font-family:Tahoma'>www.gga-hannover.de</span></span></font></a>
<o:p></o:p></p>
</div>
</body>
</html>