MapTools.org

[Chameleon-dev] [Bug 321] New: ExtractWFSData assumes typename = layername

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Tue, 23 Mar 2004 10:25:23 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=321

           Summary: ExtractWFSData assumes typename = layername
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: bartvde@xs4all.nl


The ExtractWFSData assumes that the name of the WFS Typename is exactly the 
same as the WMS Layername. This is true for Mapserver, but for other OGC 
situations this is not always the case.

It should be like the following:
the TYPENAME should be retrieved from the DescribeLayer response

Example DescribeLayer resonse:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <WMS_DescribeLayerResponse version="1.1.0">
- <LayerDescription name="0" 
wfs="http://192.168.3.107:8080/ImsOgcAdapter/servlet/ImsOgcAdapter?
serviceName=gemeentes">
  <Query typeName="0" /> 
  </LayerDescription>
  </WMS_DescribeLayerResponse>

piece of code I am referring to:
            if ( strpos( $szUpperCase, "TYPENAME=" ) === false )
                $szWFSConnection .= "TYPENAME=".$szSelectedLayerName."&";



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


This archive was generated by Pipermail.