[Users] GeoEXT textbooks

Nomeneta Saili nome.saili at gmail.com
Wed Sep 7 12:06:27 CEST 2011


Hi people,

Despite my best efforts i still can't past actually getting things
right with GeoEXT which is a shame as i think its a wonderful piece of
tech.

I managed to complete the FOSS 2010 WMS portion of the workshop barely
and i am completely lost with WFS. The Midford layers don't show up in
the list.

As such i am asking if there are any recommended text books i can buy
to help me get past the initial phase.

I already bought OpenLayers2.10 Beginners guide from Amazon but i was
wondering if there are any text specifically for GeoEXT i can buy or
text that covers GeoEXT that i can use.

Thanks,

Nome

On Tue, Sep 6, 2011 at 12:02 PM,  <users-request at geoext.org> wrote:
> Send Users mailing list submissions to
>        users at geoext.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.geoext.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>        users-request at geoext.org
>
> You can reach the person managing the list at
>        users-owner at geoext.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>   1. formPanel search not working with WFS (John M. Stein)
>   2. Re: formPanel search not working with WFS (Matt Priour)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 6 Sep 2011 16:58:05 -0400
> From: "John M. Stein" <jms at clevelandmetroparks.com>
> Subject: [Users] formPanel search not working with WFS
> To: <users at geoext.org>
> Message-ID: <E33F66F81FF649BFBE4596CF2EAF7085 at metroparks.local>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello All,
>
> I'm trying to set up a very simple search form.  Most of my usergroup
> perusals have shown that it seems to be pretty straightforward, but for some
> reason this just won't work.  When the search is sent, I recieve (via
> Firebug) a GML that, once saved into its own .xml on the server, works
> perfectly fine.  For whatever reason, it just doesn't want to show up from
> the POST request.
>
> Here's the code:
>
>
>    formPanel = new GeoExt.form.FormPanel({
>        title: "SEARCHBOX",
>        region: "north",
>        width: 300,
>        height: 100,
>        protocol: new OpenLayers.Protocol.WFS({
>              url:  GeoserverWFS,
>              version: "1.1.0",
>              featureType: "plant_view",
>              featureNS: "localparks",
>              srsName: "EPSG:3734"
>              }),
>        items: [{
>            xtype: "textfield",
>            name: "p_genus",
>            value: "Acer",
>            fieldLabel: "GENUS"
>        }, {
>            xtype: "textfield",
>            name: "p_species",
>            value: "saccharinum",
>            fieldLabel: "SPECIES"
>        }
>  ],
>
>    listeners: {
>        actioncomplete: function(form, action) {
> //   alert(action.response);
>            }
>
>    }
> });
>
>    formPanel.addButton({
>        text: "search",
>        handler: function() {
>            this.search();
>        },
>        scope: formPanel
>    });
>
>
> right?  pretty standard.  I tried WFS 1.0.0. and 1.1.0.  I tried playing
> around with WFS settings in GeoServer (changing SRS styles from XML to URN -
> which never changes the request..).
>
> The important thing is that I'm getting a proper GML Post from the search.
> I tried adding a blank vector layer to the eventlistener and adding bindings
> from a FeatureDataStore, but those methods failed me as well.  Is there some
> basic setting in WFS that I am completely missing?  Might this have to do
> with geoserver version (2.1.0)?
>
> Is there anything else I can do with the eventlistener to force a rendering
> of the response?  Something with action.response written into a temp.xml and
> rendered?
>
> Thanks for any insight..
>
>  http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngJohn Stein
> Geographic Information Systems (GIS) Intern
> (216) 635 3239   [Mon, Tues, Thurs]
>
> Horticulture Intern
>
> (330) 760 3243   [Wed, Fri]
>
> jms at clevelandmetroparks.com
>
>
>
>
>
>
>
>
>
>
>
>
>  http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngJohn Stein
> Geographic Information Systems (GIS) Intern
> (216) 635 3239   [Mon, Tues, Thurs]
>
> Horticulture Intern
>
> (330) 760 3243   [Wed, Fri]
>
> jms at clevelandmetroparks.com
>
>
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://www.geoext.org/pipermail/users/attachments/20110906/cc534b2a/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 6 Sep 2011 18:01:59 -0500
> From: "Matt Priour" <mpriour at kestrelcomputer.com>
> Subject: Re: [Users] formPanel search not working with WFS
> To: <jms at clevelandmetroparks.com>,      <users at geoext.org>
> Message-ID: <14CC9AFBE16D4B51BEBA4E1FDEB236DF at Lenovo>
> Content-Type: text/plain; charset="utf-8"
>
> MessageOne problem is that you don?t use any of the special search action naming conventions:
> http://dev.geoext.org/docs/lib/GeoExt/widgets/form/SearchAction.html
> Since you aren?t using the search action naming conventions, I don?t think it is creating a GeoExt.form.SearchAction and thus not firing the ?actioncomplete? event.
> It is however directly using your search fields to fill a WFS filter and thus generating proper GML on client & server sides.
> Try using the search action naming convention and see if it fires your event listener.
> Matt Priour
>
> From: John M. Stein
> Sent: Tuesday, September 06, 2011 3:58 PM
> To: users at geoext.org
> Subject: [Users] formPanel search not working with WFS
>
> Hello All,
>
> I'm trying to set up a very simple search form.  Most of my usergroup perusals have shown that it seems to be pretty straightforward, but for some reason this just won't work.  When the search is sent, I recieve (via Firebug) a GML that, once saved into its own .xml on the server, works perfectly fine.  For whatever reason, it just doesn't want to show up from the POST request.
>
> Here's the code:
>
>
>    formPanel = new GeoExt.form.FormPanel({
>        title: "SEARCHBOX",
>        region: "north",
>        width: 300,
>        height: 100,
>        protocol: new OpenLayers.Protocol.WFS({
>              url:  GeoserverWFS,
>              version: "1.1.0",
>              featureType: "plant_view",
>              featureNS: "localparks",
>              srsName: "EPSG:3734"
>              }),
>        items: [{
>            xtype: "textfield",
>            name: "p_genus",
>            value: "Acer",
>            fieldLabel: "GENUS"
>        }, {
>            xtype: "textfield",
>            name: "p_species",
>            value: "saccharinum",
>            fieldLabel: "SPECIES"
>        }
> ],
>
>    listeners: {
>        actioncomplete: function(form, action) {
> //   alert(action.response);
>            }
>
>    }
> });
>
>    formPanel.addButton({
>        text: "search",
>        handler: function() {
>            this.search();
>        },
>        scope: formPanel
>    });
>
>
> right?  pretty standard.  I tried WFS 1.0.0. and 1.1.0.  I tried playing around with WFS settings in GeoServer (changing SRS styles from XML to URN - which never changes the request..).
>
> The important thing is that I'm getting a proper GML Post from the search.  I tried adding a blank vector layer to the eventlistener and adding bindings from a FeatureDataStore, but those methods failed me as well.  Is there some basic setting in WFS that I am completely missing?  Might this have to do with geoserver version (2.1.0)?
>
> Is there anything else I can do with the eventlistener to force a rendering of the response?  Something with action.response written into a temp.xml and rendered?
>
> Thanks for any insight..
>
> John Stein
> Geographic Information Systems (GIS) Intern
> (216) 635 3239   [Mon, Tues, Thurs]
> Horticulture Intern
>
> (330) 760 3243   [Wed, Fri]
>
> jms at clevelandmetroparks.com
>
>
>
>
>
>
>
>
>
>
>
>
> John Stein
> Geographic Information Systems (GIS) Intern
> (216) 635 3239   [Mon, Tues, Thurs]
> Horticulture Intern
>
> (330) 760 3243   [Wed, Fri]
>
> jms at clevelandmetroparks.com
>
>
>
>
>
>
>
>
>
>
>
>
>
> --------------------------------------------------------------------------------
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://www.geoext.org/pipermail/users/attachments/20110906/c5bbec41/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 32, Issue 8
> ************************************
>


More information about the Users mailing list