[mapserver-dev] help:thanks,create maps on the fly without
Rui Jianxun
gis at shnu.edu.cn
Sat Oct 3 04:39:55 EDT 2009
hi Tamas Szekeres,
The address (http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/csharp/examples/inline.cs
)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.
Would you like to give me some examples using PHP nor c# that need not read mapfiles?
Best Regards,
Rui jx
>Today's Topics:
>
> 1. Re: help:create maps on the fly without having a map file
> (Tamas Szekeres)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 2 Oct 2009 17:01:35 +0200
>From: Tamas Szekeres <szekerest at gmail.com>
>Subject: Re: [mapserver-dev] help:create maps on the fly without
> having a map file
>To: ??? <ruijianxun at 126.com>
>Cc: mapserver-dev <mapserver-dev at lists.osgeo.org>
>Message-ID:
> <f3b73b7d0910020801l7648f71bvd715a59128538853 at mail.gmail.com>
>Content-Type: text/plain; charset=GB2312
>
>Hi,
>
>MapScript provides the object model (a couple of classes with
>properties and methods) for setting up your map configuration from
>scratch. You would normally require to create a map object (mapObj)
>add layers and set up the styles and symbology for each layer. You
>could then render the map into an image object or you could optionally
>save your map configuration to a mapfile for later use.
>Here is an example written in C# to set up a map configuration
>programmatically:
>http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/csharp/examples/inline.cs
>This example creates the shapes for the layer programmatically as well.
>
>Best regards,
>
>Tamas
>
>
>
>
>2009/10/2 Üǽ¨Ñ« <ruijianxun at 126.com>:
>> Hi everyone,
>> I have found a paragraph in a book named <Web Mapping Illustrated-p>,as
>> fllowing:
>> "MapServer map files are still a key component to writing a MapScript-based
>> application. If you have a map file ready to use, you can start accessing
>> and manipulating it right away. However, a powerful feature of MapScript is
>> the ability to create maps on the fly without having a map file. In this
>> case, you can build your map from scratch".
>> I donot understand that we can create maps on the fly without having a map
>> file.Is mapserver can really work without mapfile,especially in the
>> environment via PHP/MapScript or Python /MapScript ?
>> Best Regards,
>> Rui jx
>>
>>
>> ________________________________
>> ÍøÒ×ÓÊÏäÓû§¹ºÎï¶ÀÏíÏֽ𷵻¹
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>>
>
>
>------------------------------
>
>_______________________________________________
>mapserver-dev mailing list
>mapserver-dev at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
>
>End of mapserver-dev Digest, Vol 21, Issue 3
>********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20091003/118b833a/attachment-0001.html
More information about the mapserver-dev
mailing list