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