[Cartoweb-users] PHP in mapfile
yves.bolognini at camptocamp.com
Tue May 23 10:43:50 EDT 2006
PHP mapfiles in CartoWeb are linked to the concept of "auto layers" (see
To do what you want, you will need to rename your mapfile with
extension .map.php instead of .map.
On mar, 2006-05-23 at 15:46 +0200, Jacolin Yves wrote:
> I would like to create a kind of dynamic mapfile. I mean create a mapfile from
> a file tree and to add layers from a postgis DB.
> So one script create the mapfile (and the layers.ini and outline.ini files)
> and another one, create a file that contains LAYER informations from the
> postgis DB.
> Is it possible to put something like this in the first mapfile :
> include (postgisLayer.php);
> and then create the mapfile final using makemaps.phpat the end of my script ?
More information about the Cartoweb-users