[Chameleon-dev] [Bug 1622] New: LayerAttributes.php does not deal with Mapserver ms prefix

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Dec 4 10:15:28 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1622

           Summary: LayerAttributes.php does not deal with Mapserver ms
                    prefix
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at osgis.nl


LayerAttributes.php does not deal with the new Mapserver 4.8+ ms prefix.

    // loop through the structures and process the layer name
    foreach ($tags as $key=>$val)
    {
        // process layer name
        // bartvde, upgrade, now there can be a prefix, for instance ms: by default
        $pos = strpos($key, ':');
        if ($pos !== false)
        {
          $key = substr($key, $pos+1);
        }

Excerpt from gfs file:
<GMLFeatureClassList>
  <GMLFeatureClass>
    <Name>ms:nap-speciaal</Name>

So we need to ignore the prefix.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list