Bug 321 - ExtractWFSData assumes typename = layername
: ExtractWFSData assumes typename = layername
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
: 429
:
  Show dependency treegraph
 
Reported: 2004-03-23 10:25 by
Modified: 2004-12-02 21:28 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-03-23 10:25:22
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."&";
------- Comment #1 From 2004-04-05 14:19:00 -------
for 1.99 release
------- Comment #2 From 2004-04-08 08:36:51 -------
updated version to 1.99
------- Comment #3 From 2004-04-14 15:15:51 -------
Looking into this now.  Just to confirm, instead of assuming typename=layername
I am going to look for all query "typename" and put them in a comma delimited
list as the typename.

i.e.
<LayerDescription name="Layer_A" wfs="http://www.mywfs.com/WFS?">
  <Query typeName="Road_FT"/>
  <Query typeName="Route_FT"/>
</LayerDescription>

would be: TYPENAME=Road_FT,Route_FT

------- Comment #4 From 2004-04-15 13:53:24 -------
Fixed in CVS.  Fixed as indicated in my last comment.
------- Comment #5 From 2004-06-22 15:01:19 -------
unable to verify this bug using beta 2 2004-06-20, since WFS Extract is not
extracting. 

------- Comment #6 From 2004-07-05 17:17:10 -------
to be verified after bug 429 is fixed.
------- Comment #7 From 2004-07-14 13:04:56 -------
bug 429 has been targeted for beta 3, since bug 321 depends on 429 we will have
to retarget this one
------- Comment #8 From 2004-10-25 08:24:49 -------
Changed target for verification to 1.99 RC 1.