[mapserver-users] PHPMapscript: Include Directive
bfraser at geoanalytic.com
Wed Jun 22 10:30:47 EDT 2011
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.
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
> <mailto:bfraser at geoanalytic.com>>
> Yes, a map loaded using ms_newMapObj() can contain "include"
> 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
>> <mailto: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!
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> <mailto:mapserver-users at lists.osgeo.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-users