<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Thanks...but it didn´t change anything.</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Vince Lotito <vince@vvl.com><br><b><span style="font-weight: bold;">An:</span></b> Robert Buckley <robertdbuckley@yahoo.com><br><b><span style="font-weight: bold;">Gesendet:</span></b> Samstag, den 9. Juli 2011, 15:06:06 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> RE: [Users] why are my Search form results not georeferenced?<br></font><br><style><!--
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"sans-serif";}
span.apple-tab-span
        {}
span.BalloonTextChar
        {font-family:"sans-serif";}
span.EmailStyle21
        {font-family:"sans-serif";color:#1F497D;}
.MsoChpDefault
        {font-size:10.0pt;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {}
--></style><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">In similar situations I’ve had to project the coordinates into EPSG:3857, so give that a try…</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Vince</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";"> users-bounces@geoext.org [mailto:users-bounces@geoext.org] <b>On Behalf Of </b>Robert
Buckley<br><b>Sent:</b> Saturday, July 09, 2011 8:11 AM<br><b>To:</b> users@geoext.org<br><b>Subject:</b> Re: [Users] why are my Search form results not georeferenced?</span></p></div></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";">Thanks for the tip.</span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";">In firebug I see this.</span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"><span class="apple-tab-span"> </span></span></p><p class="MsoNormal"><span class="apple-tab-span"><span
style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"><ogc:and></span></p><div><p class="MsoNormal"><span class="apple-tab-span"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"><ogc:propertyislike wildCard="*" singleChar="." escape="!"></span></p></div><div><p class="MsoNormal"><span class="apple-tab-span"><span
style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"><ogc:propertyname>bez</ogc:propertyname></span></p></div><div><p class="MsoNormal"><span class="apple-tab-span"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"><ogc:literal>WF 10</ogc:literal></span></p></div><div><p class="MsoNormal"><span class="apple-tab-span"><span
style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"></ogc:propertyislike></span></p></div><div><p class="MsoNormal"><span class="apple-tab-span"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></span><span style="font-size:10.0pt;font-family:"sans-serif";"></ogc:and></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"></ogc:filter></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"></wfs:query></span></p></div><div><p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"sans-serif";"></wfs:getfeature></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";">Does this reveal anything?</span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div><div><div><div class="MsoNormal" align="center" style="text-align:center;"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"><hr size="1" width="100%" align="center"></span></div><p class="MsoNormal"
style="margin-bottom:12.0pt;"><b><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Von:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> Antony Scott <Antony.Scott@sustain.co.uk><br><b>An:</b> Robert Buckley <robertdbuckley@yahoo.com><br><b>Gesendet:</b> Samstag, den 9. Juli 2011, 12:55:11 Uhr<br><b>Betreff:</b> RE: [Users] why are my Search form results not georeferenced?</span><span style="color:black;"></span></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Robert</span><span style="color:black;"></span></p></div><div><p class="MsoNormal"><span style="color:black;"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">I've been working on the same thing, and had a similar problem - I thought I fixed it by including the srsName and
using WFS 1.1.0, but I see you've already done that... Also have you looked at the WFS settings in GeoServer?</span><span style="color:black;"></span></p></div><div><p class="MsoNormal"><span style="color:black;"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Are you using Firebug to see the contents of the Post? I found this very useful - you can grab the GML and save to a file, then load that as a layer and see what happens.</span><span style="color:black;"></span></p></div><div><p class="MsoNormal"><span style="color:black;"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Good luck</span><span style="color:black;"></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Antony</span><span
style="color:black;"></span></p></div><div id="divRpF914398"><div class="MsoNormal" align="center" style="text-align:center;"><span style="color:black;"><hr size="2" width="100%" align="center"></span></div><p class="MsoNormal" style="margin-bottom:12.0pt;"><b><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";color:black;"> users-bounces@geoext.org [users-bounces@geoext.org] On Behalf Of Robert Buckley [robertdbuckley@yahoo.com]<br><b>Sent:</b> 09 July 2011 10:46<br><b>To:</b> users@geoext.org<br><b>Subject:</b> [Users] why are my Search form results not georeferenced?</span><span style="color:black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">Hi,<br><br>After trying to install a search form into my project, I have had limited success. I can run the search and
get correct results. The only problem is that all results are positioned at 0,0 off the coase of Africa and not where they are supposed to be.<br><br>I have obviously overlooked something rudimentary here. This type of issue is usually due to the wrong SRS being assigned, but if this were the case, why does the grid work fine before the search is actived?<br><br>To understand the problem try it out here.<br><br><a rel="nofollow" target="_blank" href="http://maps.zgb.de/www/eeg/eeg_portal.html">http://maps.zgb.de/www/eeg/eeg_portal.html</a><br><br><br>Here is the code for the search. I am using the protocol from the source layer "layer_wea".<br><br>//layer_wea<br>var layer_wea = new OpenLayers.Layer.Vector("Windkraftanlagestandort", {<br> styleMap: style_wea,<br> projection: "EPSG:4326",<br> strategies: [new
OpenLayers.Strategy.Fixed()],<br> protocol: new OpenLayers.Protocol.WFS({<br> url: "<a rel="nofollow" target="_blank" href="http://maps.zgb.de/geoserver/wfs">http://maps.zgb.de/geoserver/wfs</a>?",<br> version: "1.1.0",<br> featureType: "wea_wgs84",<br> featureNS: "<a rel="nofollow" target="_blank" href="http://www.zgb.de/postgis">http://www.zgb.de/postgis</a>",<br> srsName: "EPSG:4326"<br> }),<br> eventListeners: {<br> featuresadded:
function () {<br> var extent_wea = layer_wea.getDataExtent();<br> mapPanel_wea.map.zoomToExtent(extent_wea);<br> }<br> }<br> });<br><br>//search<br> // create a GeoExt form panel (configured with an OpenLayers.Protocol<br> // instance)<br> <br> <br> var features = new Array();<br> var formPanel = new GeoExt.form.FormPanel({<br> width:
300,<br> height: 200,<br> region: "west",<br> protocol: layer_wea.protocol,<br> items: [{<br> xtype: "textfield",<br> name: "bez__like",<br> value: "WF*",<br> fieldLabel: "bez"<br> }],<br> listeners:
{<br> actioncomplete: function(form, action) {<br> // this listener triggers when the search request<br> // is complete, the OpenLayers.Protocol.Response<br> // resulting from the request is available<br> // through "action.response"<br> features =
action.response.features;<br> store_wea.loadData(features);<br> <br> }<br> }<br> });<br> formPanel.addButton({<br> text: "search",<br> handler: function() {<br> this.search();<br>
},<br> scope: formPanel<br> });<br> <br> var searchwin = new Ext.Window({<br> title: "wfs search",<br> layout: 'fit',<br> width: 200,<br> x:300,<br> collapsible: true,<br> height: 100,<br> closeAction: 'hide',<br> plain: true,<br> items: [formPanel]<br> });<br><br><br><br>If anyone has any clues i´d be grateful,<br><br>yours,<br><br>Rob</span></p><div><p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"sans-serif";color:black;"> </span></p></div></div></div><p class="MsoNormal"><span style="color:black;"> </span></p><p><span style="font-family:"sans-serif";color:black;">Sustain is a leading carbon reduction company. Our clients have saved</span><span style="color:black;"></span></p><p><b><span style="font-family:"sans-serif";color:#99CC33;">4,131,800</span></b><span style="font-family:"sans-serif";color:#99CC33;"> </span><span style="font-family:"sans-serif";color:black;">lifetime </span><span style="font-size:10.0pt;font-family:"sans-serif";color:black;">tCO<sub>2</sub>e </span><span style="font-family:"sans-serif";color:black;">through working with us (June 2011)</span><span style="color:black;"></span></p><div class="MsoNormal"><span style="color:black;"><hr size="1" width="500" style="width:375.0pt;" noshade=""
align="left"></span></div><p><span style="font-size:10.0pt;color:black;">Sustain Ltd. Registered in England No. 3384793 <br>Barley Wood Stables, Long Lane, Wrington, Bristol BS40 5SA, UK</span><span style="color:black;"></span></p><div class="MsoNormal"><span style="color:black;"><hr size="1" width="500" style="width:375.0pt;" noshade="" align="left"></span></div><p><span style="font-size:10.0pt;color:black;">This e-mail and any attachments are strictly confidential and intended solely for the <br>addressee. If you are not the intended recipient of this document then you must <br>immediately inform the sender and delete this e-mail and any attachments from <br>your system.</span><span style="color:black;"></span></p><p><span style="font-size:10.0pt;color:black;">E-mail transmissions cannot be guaranteed to be secure or error free as information <br>could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. The sender <br>does not
accept liability for any errors or omissions in the content of this message <br>which arise as a result of e-mail transmission.</span><span style="color:black;"></span></p><div class="MsoNormal"><span style="color:black;"><hr size="1" width="500" style="width:375.0pt;" noshade="" align="left"></span></div><p class="MsoNormal"><span style="color:black;"> </span></p></div></div></div></div></div></div><div style="position:fixed"></div>
</div></body></html>