<p>hi Tamas&nbsp;Szekeres,</p>
<p>The address (http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/csharp/examples/inline.cs<br />)you showed to me is using c#+mapscript to draw layers with several classes defined in the programming environment. This is very flexible for programmer to draw thematic map what&nbsp; they like to. But in the same address,in PHP MODULES,i donot find the examples using PHP to relize the same functinal,because&nbsp; the later(PHP) would read mapfile,but the former (C#)&nbsp;need not to read mapfile. </p>
<p>Would you like to give me some examples using PHP nor c# that need not read mapfiles?</p>
<p>Best Regards,</p>
<p>Rui jx<br />&gt;Today&amp;apos;s&nbsp;Topics:<br />&gt;<br />&gt;&nbsp;&nbsp;&nbsp;1.&nbsp;Re:&nbsp;help:create&nbsp;maps&nbsp;on&nbsp;the&nbsp;fly&nbsp;without&nbsp;having&nbsp;a&nbsp;map&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file<br />&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Tamas&nbsp;Szekeres)<br />&gt;<br />&gt;<br />&gt;----------------------------------------------------------------------<br />&gt;<br />&gt;Message:&nbsp;1<br />&gt;Date:&nbsp;Fri,&nbsp;2&nbsp;Oct&nbsp;2009&nbsp;17:01:35&nbsp;+0200<br />&gt;From:&nbsp;Tamas&nbsp;Szekeres&nbsp;&lt;szekerest@gmail.com&gt;<br />&gt;Subject:&nbsp;Re:&nbsp;[mapserver-dev]&nbsp;help:create&nbsp;maps&nbsp;on&nbsp;the&nbsp;fly&nbsp;without<br />&gt;&nbsp;&nbsp;&nbsp;&nbsp;having&nbsp;a&nbsp;map&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file<br />&gt;To:&nbsp;???&nbsp;&lt;ruijianxun@126.com&gt;<br />&gt;Cc:&nbsp;mapserver-dev&nbsp;&lt;mapserver-dev@lists.osgeo.org&gt;<br />&gt;Message-ID:<br />&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;f3b73b7d0910020801l7648f71bvd715a59128538853@mail.gmail.com&gt;<br />&gt;Content-Type:&nbsp;text/plain;&nbsp;charset=GB2312<br />&gt;<br />&gt;Hi,<br />&gt;<br />&gt;MapScript&nbsp;provides&nbsp;the&nbsp;object&nbsp;model&nbsp;(a&nbsp;couple&nbsp;of&nbsp;classes&nbsp;with<br />&gt;properties&nbsp;and&nbsp;methods)&nbsp;for&nbsp;setting&nbsp;up&nbsp;your&nbsp;map&nbsp;configuration&nbsp;from<br />&gt;scratch.&nbsp;You&nbsp;would&nbsp;normally&nbsp;require&nbsp;to&nbsp;create&nbsp;a&nbsp;map&nbsp;object&nbsp;(mapObj)<br />&gt;add&nbsp;layers&nbsp;and&nbsp;set&nbsp;up&nbsp;the&nbsp;styles&nbsp;and&nbsp;symbology&nbsp;for&nbsp;each&nbsp;layer.&nbsp;You<br />&gt;could&nbsp;then&nbsp;render&nbsp;the&nbsp;map&nbsp;into&nbsp;an&nbsp;image&nbsp;object&nbsp;or&nbsp;you&nbsp;could&nbsp;optionally<br />&gt;save&nbsp;your&nbsp;map&nbsp;configuration&nbsp;to&nbsp;a&nbsp;mapfile&nbsp;for&nbsp;later&nbsp;use.<br />&gt;Here&nbsp;is&nbsp;an&nbsp;example&nbsp;written&nbsp;in&nbsp;C#&nbsp;to&nbsp;set&nbsp;up&nbsp;a&nbsp;map&nbsp;configuration<br />&gt;programmatically:<br />&gt;http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/csharp/examples/inline.cs<br />&gt;This&nbsp;example&nbsp;creates&nbsp;the&nbsp;shapes&nbsp;for&nbsp;the&nbsp;layer&nbsp;programmatically&nbsp;as&nbsp;well.<br />&gt;<br />&gt;Best&nbsp;regards,<br />&gt;<br />&gt;Tamas<br />&gt;<br />&gt;<br />&gt;<br />&gt;<br />&gt;2009/10/2&nbsp;芮建勋&nbsp;&lt;ruijianxun@126.com&gt;:<br />&gt;&gt;&nbsp;Hi&nbsp;everyone,<br />&gt;&gt;&nbsp;I&nbsp;have&nbsp;found&nbsp;a&nbsp;paragraph&nbsp;in&nbsp;a&nbsp;book&nbsp;named&nbsp;&lt;Web&nbsp;Mapping&nbsp;Illustrated-p&gt;,as<br />&gt;&gt;&nbsp;fllowing:<br />&gt;&gt;&nbsp;"MapServer&nbsp;map&nbsp;files&nbsp;are&nbsp;still&nbsp;a&nbsp;key&nbsp;component&nbsp;to&nbsp;writing&nbsp;a&nbsp;MapScript-based<br />&gt;&gt;&nbsp;application.&nbsp;If&nbsp;you&nbsp;have&nbsp;a&nbsp;map&nbsp;file&nbsp;ready&nbsp;to&nbsp;use,&nbsp;you&nbsp;can&nbsp;start&nbsp;accessing<br />&gt;&gt;&nbsp;and&nbsp;manipulating&nbsp;it&nbsp;right&nbsp;away.&nbsp;However,&nbsp;a&nbsp;powerful&nbsp;feature&nbsp;of&nbsp;MapScript&nbsp;is<br />&gt;&gt;&nbsp;the&nbsp;ability&nbsp;to&nbsp;create&nbsp;maps&nbsp;on&nbsp;the&nbsp;fly&nbsp;without&nbsp;having&nbsp;a&nbsp;map&nbsp;file.&nbsp;In&nbsp;this<br />&gt;&gt;&nbsp;case,&nbsp;you&nbsp;can&nbsp;build&nbsp;your&nbsp;map&nbsp;from&nbsp;scratch".<br />&gt;&gt;&nbsp;I&nbsp;donot&nbsp;understand&nbsp;that&nbsp;we&nbsp;can&nbsp;create&nbsp;maps&nbsp;on&nbsp;the&nbsp;fly&nbsp;without&nbsp;having&nbsp;a&nbsp;map<br />&gt;&gt;&nbsp;file.Is&nbsp;mapserver&nbsp;can&nbsp;really&nbsp;work&nbsp;without&nbsp;mapfile,especially&nbsp;in&nbsp;the<br />&gt;&gt;&nbsp;environment&nbsp;via&nbsp;PHP/MapScript&nbsp;or&nbsp;Python&nbsp;/MapScript&nbsp;?<br />&gt;&gt;&nbsp;Best&nbsp;Regards,<br />&gt;&gt;&nbsp;Rui&nbsp;jx<br />&gt;&gt;<br />&gt;&gt;<br />&gt;&gt;&nbsp;________________________________<br />&gt;&gt;&nbsp;网易邮箱用户购物独享现金返还<br />&gt;&gt;&nbsp;_______________________________________________<br />&gt;&gt;&nbsp;mapserver-dev&nbsp;mailing&nbsp;list<br />&gt;&gt;&nbsp;mapserver-dev@lists.osgeo.org<br />&gt;&gt;&nbsp;http://lists.osgeo.org/mailman/listinfo/mapserver-dev<br />&gt;&gt;<br />&gt;&gt;<br />&gt;<br />&gt;<br />&gt;------------------------------<br />&gt;<br />&gt;_______________________________________________<br />&gt;mapserver-dev&nbsp;mailing&nbsp;list<br />&gt;mapserver-dev@lists.osgeo.org<br />&gt;http://lists.osgeo.org/mailman/listinfo/mapserver-dev<br />&gt;<br />&gt;<br />&gt;End&nbsp;of&nbsp;mapserver-dev&nbsp;Digest,&nbsp;Vol&nbsp;21,&nbsp;Issue&nbsp;3<br />&gt;********************************************<br />&gt;&nbsp;</p>