<u></u>
<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I tried using the FormPanel but the QueryPanel seems to fit better in
this case. I want the user to be able to filter data coming from a WFS
after specifying certain conditions, which differ from case to case. <br>
<br>
I got the GeoExt QueryPanel working so far, it recognizes the layers
available on my Geoserver but it is not able to get the attribute
columns of the dataset. I configured a proxy on my Apache Server. A
DescribeFeatureType request is sent when selecting the layer I want to
filter from. The same happens when trying to choose the attribute column in
the query panel, but there are none displayed. <br>
<br>
These are the request URLs:<br>
<br>
[ <a href="http://localhost/cgi-bin/proxy.cgi/wfs?VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=cases">http://localhost/cgi-bin/proxy.cgi/wfs?VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=cases</a> ]<br>
<br>
[ <a href="http://localhost/cgi-bin/proxy.cgi/wfs?VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=cases&query=">http://localhost/cgi-bin/proxy.cgi/wfs?VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=cases&query=</a> ]<br>
<br>
Opening the reply bodies of these requests in a new tab via Firebug, I get to the OpenLayers webpage...<br>
Does anybody have a clue whatīs going wrong here and why the attribute fields cannot be read but all the layers on geoserver are displayed? <br>
<br>
@ Matt: The print function is what I need for the Map "Export".
Furthermore I want to be able to export the attribute table of the query
made in the QueryPanel as a *.csv or similar filetype that can be read
in Excel. <br>
<br>
Any help is appreciated!<br>
<br>
Cheers,<br>
<br>
Philippe<br>
<br>
<br>
On <a href="tel:26.08.2011%2017" value="+12608201117" target="_blank">26.08.2011 17</a>:39, Matt Priour wrote:
<blockquote type="cite">
<div dir="ltr">
<div style="font-family:'Arial';color:rgb(0, 0, 0);font-size:10pt">
<div>You want to use the GeoExt.form.FormPanel</div>
<div>see:</div>
<div><a href="http://dev.geoext.org/docs/lib/GeoExt/widgets/form/FormPanel.html" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://dev.geoext.org/docs/lib/GeoExt/widgets/form/FormPanel.html</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div><a href="http://dev.geoext.org/trunk/geoext/examples/search-form.html" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://dev.geoext.org/trunk/geoext/examples/search-form.html</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div> </div>
<div>You may or may not need a ProxyHost configured in
OpenLayers:</div>
<div><a href="http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div> </div>
<div>Try to use this class and see if you can get WFS
attribute filtering working.</div>
<div> </div>
<div>With regards to exporting your map and grid, that really
depends on what you are really trying to accomplish.</div>
<div>Do you want an snapshot of the map or grid?</div>
<div>Or Do you want to export the query and map extent so that
the particular view can be recreated?</div>
<div> </div>
<div>If you want a snapshot, do you want to simply print the
grid or map?</div>
<div>Or do you want to actually export the data itself.</div>
<div> </div>
<div style="font-family:'Arial';color:rgb(0, 0, 0);font-size:10pt">Matt Priour<br>
Kestrel Computer Consulting</div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:rgb(0, 0, 0);font-size:small;font-weight:normal;text-decoration:none">
<div style="font:10pt tahoma">
<div> </div>
<div style="background:none repeat scroll 0% 0% rgb(245, 245, 245)">
<div><b>From:</b> <a title="philippe.rufin@googlemail.com" href="mailto:philippe.rufin@googlemail.com" target="_blank">Philippe
Rufin</a> </div>
<div><b>Sent:</b> Friday, August 26, 2011 9:53 AM</div>
<div><b>To:</b> <a title="users@geoext.org" href="mailto:users@geoext.org" target="_blank">users@geoext.org</a>
</div>
<div><b>Subject:</b> [Users] Tutorial / Documentation
for Query Panels in GeoExt?</div>
</div>
</div>
<div> </div>
</div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:rgb(0, 0, 0);font-size:small;font-weight:normal;text-decoration:none">
<div>
<p>Hi all!</p>
<p>Iīm trying to build a webmapping application with
GeoExt. What I want to do is to create a query panel in
which I can define conditions which filter the data from
a WFS. It should filter the data displayed in my map
panel as well as my grid panel. Additionally, I want the
user to be able to export query results as maps and
tables. Anyone knows if thatīs possible as well?
Basically, I want to use the GeoExt QueryPanel (<a href="http://workshops.opengeo.org/geoext/_images/attributes.png" target="_blank">http://workshops.opengeo.org/geoext/_images/attributes.png</a>).<br>
</p>
<p>Does any of you know how to create this or knows any
nice tutorial? The OG workshop documents concerning <a href="http://workshops.opengeo.org/geoext/more_ogc/app.html" rel="nofollow" target="_blank">WFS browsing, querying and SLD
filtering</a> ( <a href="http://workshops.opengeo.org/geoext/more_ogc/app.html" target="_blank">http://workshops.opengeo.org/geoext/more_ogc/app.html</a>
) look promising but I canīt really follow it, since the
source code does not work anymore / on my machine /
somehow. Anyone with experience in this issue? It seems
like a common element to develop I think... Too bad,
good documentation is missing.</p>
<p>It would be great to get help in this case, since the
issueīs not heavily discussed on mailinglists or
boards...</p>
<p>Cheers, </p>
<p>Philippe</p>
</div>
<p>
</p>
<hr>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</div>
</blockquote>
<br>
</div>