<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I have setup a vector layer based on features from a WMS layer that are filtered by an argument in the url used to call up the map.  The feature is being found and shows up in the POST response in Firebug, but does not show up on the map.  My first thought was the feature needed to be transformed, so I added that.  In looking at the response in Firebug for the feature, the latitude is listed before the longitude.  This appears to be my problem because the coordinates listed for the feature in the DOM in Firebug are not realistic (contain NaN a number of times).  The code for that part of my map is below:<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in;text-indent:.5in'>var args = OpenLayers.Util.getParameters();<o:p></o:p></p><p class=MsoNormal>                                var filter = new OpenLayers.Filter.Comparison({<o:p></o:p></p><p class=MsoNormal>                                                type: OpenLayers.Filter.Comparison.EQUAL_TO,<o:p></o:p></p><p class=MsoNormal>                                                property: 'attribute',<o:p></o:p></p><p class=MsoNormal>                                                value: args['attribute']<o:p></o:p></p><p class=MsoNormal>                                });<o:p></o:p></p><p class=MsoNormal>                                var selvectorLayer = new OpenLayers.Layer.Vector("Selected Tract", {<o:p></o:p></p><p class=MsoNormal>                                                strategies: [new OpenLayers.Strategy.Fixed()],<o:p></o:p></p><p class=MsoNormal>                                                protocol: new OpenLayers.Protocol.WFS.fromWMSLayer(mylayer),<o:p></o:p></p><p class=MsoNormal>                                                styleMap: mystyles,<o:p></o:p></p><p class=MsoNormal>                                                filter: filter,<o:p></o:p></p><p class=MsoNormal>                                                displayInLayerSwitcher: false,<o:p></o:p></p><p class=MsoNormal>                                                isBaseLayer: false,<o:p></o:p></p><p class=MsoNormal>                                                visibility: true,<o:p></o:p></p><p class=MsoNormal>                                                eventListeners: {<o:p></o:p></p><p class=MsoNormal>                                                beforefeatureadded: function(event) {<o:p></o:p></p><p class=MsoNormal>                                                                event.feature.geometry.transform(new OpenLayers.Projection('EPSG:4326'),this.map.getProjectionObject());<o:p></o:p></p><p class=MsoNormal>                                                }<o:p></o:p></p><p class=MsoNormal>                                                }<o:p></o:p></p><p class=MsoNormal>                                });<o:p></o:p></p><p class=MsoNormal>The WMS layer is in EPSG:4326, and the map is in EPSG:900913.  I have tried a number of things, such as adding format: new OpenLayers.Format.GML({xy: false}) to the vector layer, but the order of the coordinates does not change.  I have a control for selecting features from this same WMS layer, and when those features are returned, the coordinates are listed longitude and then latitude.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Obviously I am missing something.  Can someone point me in the right direction to find out why the coordinates are reversed?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any suggestions are greatly appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks.<o:p></o:p></p></div></body></html>