[mapserver-users] PHPMapscript: Include Directive
Pedro Arriondo
pedroaa10 at gmail.com
Wed Jun 22 07:40:34 PDT 2011
Excellent, you has cleared my doubts.
Thanks for your time
2011/6/22 Brent Fraser <bfraser at geoanalytic.com>
> **
> Not as far as I know. I assume that when ms_newMapObj() is executed,
> mapserver parses the mapfile (and parses and included files), and creates
> structures/objects in memory from the mapfile objects. The "include"
> directive is never created as an object and so cannot be manipulated by PHP.
>
> Best Regards,
> Brent Fraser
>
>
> On 6/22/2011 8:19 AM, Pedro Arriondo wrote:
>
> Yes, i load mapfiles with include directives, but my question is how
> control it with phpmapscript.
> For example: how delete, add or modify include directives contained in an
> object ms_newMapObj()
>
>
>
>
>>
>>
>> 2011/6/22 Brent Fraser <bfraser at geoanalytic.com>
>>
>>> Yes, a map loaded using ms_newMapObj() can contain "include" statements.
>>>
>>> Best Regards,
>>> Brent Fraser
>>>
>>>
>>> On 6/22/2011 7:59 AM, Pedro Arriondo wrote:
>>>
>>> Thanks for your answer, but i refer to Mapserver's INCLUDE Directive (
>>> http://mapserver.org/mapfile/Include.html)
>>>
>>> 2011/6/22 Brent Fraser <bfraser at geoanalytic.com>
>>>
>>>> Yes, you can use "include". PHP Mapscript is an extension to PHP, not
>>>> a replacement.
>>>>
>>>> Best Regards,
>>>> Brent Fraser
>>>>
>>>>
>>>> On 6/22/2011 7:29 AM, Pedro Arriondo wrote:
>>>>
>>>> Hi friends, i'd like know if is possible control the INCLUDE directive
>>>> with PHPMapscript.
>>>>
>>>> Thanks for your time.
>>>>
>>>> Sorry for my (bad) english!
>>>>
>>>> Pedro.
>>>>
>>>>
>>>> _______________________________________________
>>>> mapserver-users mailing list
>>>> mapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110622/28cd470d/attachment.htm>
More information about the MapServer-users
mailing list