[Mapserver-users] automatic extension of map-file with dynamic layers?
Eric Bridger
eric at gomoos.org
Tue Sep 23 04:00:14 PDT 2003
I have not tried this, but you can create a layer using new. (in Perl)
my $layerObj = new $mapscript::layerObject($mapObj);
You'd then have to set all the necessary layer attributes, as well as
creating the classObj, etc.
AFAIK there is no built-in way to extend the map file.
Eric
On Tue, 2003-09-23 at 06:48, Frieso ter Haseborg wrote:
> Hi,
>
> I'm working on a PHP/MapScript-component for drawing different dynamic
> (point-)layers in a map. Point-coordinates and annotation data are
> retrieved from a RDBMS. There are different classes of objects to be
> drawn, each class should be an own layer.
>
> My problem: The user of the RDBMS-app can add new classes, so I need to
> create a new layer also. But AFAIK every single layer has to be listed
> in the map-file. And I don't want my end-users doing manual
> modifacations on the map-file!
>
> Is there any (build-in) way to do this extension of the map-file
> automatically?
>
> TIA,
>
> Frieso ter Haseborg
> - Software Development -
>
> --
>
> --------------------------------------------------
> S&F Datentechnik GmbH&Co.KG
> Reimersstr. 41b
> 26789 Leer, Germany
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list