[OpenLayers-Users] WFS Not loading

Christopher Schmidt crschmidt at metacarta.com
Fri Feb 12 10:15:42 EST 2010


On Fri, Feb 12, 2010 at 02:58:29PM +0000, Lewis Oaten wrote:
> Hi all,
> 
> I am very sorry if this is a duplicate post but I believe my last message
> didn't appear as I wasn't signed up to the mailing list.
> 
> I would be very grateful if you could read through my message and pass on
> your thoughts.

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost

> Many thanks,
> 
> Lewis Oaten
> web: lewisoaten.com
> twit: twitter.com/lewisoaten
> key: pk.caecus.co.uk
> cal: tgl.me/LewisOaten
> 
> ---------- Forwarded message ----------
> From: "Lewis Oaten" <sphyrz at gmail.com>
> Date: 9 Feb 2010 17:09
> Subject: WFS Not loading
> To: <users at openlayers.org>
> 
> Hi All,
> 
> Excuse me if my etiquette isn't up-to-scratch, this is my first time
> posting on this mailing list.
> 
> I have been fighting with a bug for some time when working with
> GeoServer, GeoExt and OpenLayers. When I try to load a WFS layer,
> nothing happens. No connection attempt is made to the server and no
> errors are displayed. If, however, I try to load the same data as WMS,
> from the same server with similar parameters, the layer loads
> correctly.
> 
> Examples of my code are:
> 
>        var geoserverWMS = new OpenLayers.Layer.WMS(
>          "Geoserver WMS: Itasca Lakes",
>          "http://172.16.172.129:8080/geoserver/wms",
>          {layers: "prco303:itasca", transparent: "true"},
>          {isBaseLayer: false, projection: "EPSG:26915"}
>          );
> 
>        var geoserver = new OpenLayers.Layer.Vector( "GeoServer WFS:
> Itasca Lakes", {
>          strategies: [new OpenLayers.Strategy.BBOX()],
>          protocol: new OpenLayers.Protocol.WFS({
>              url: "http://172.16.172.129:8080/geoserver/wfs",
>              featureType: "prco303:itasca",
>              featureNS: "http://172.16.172.129",
>              })
>          });
> 
> I have whittled away at the parts of the system until I am attempting
> to run the WFS example
> (http://openlayers.org/dev/examples/wfs-states.html) on my own server
> and am faced with the same problem.
> 
> Unfortunately, I have run out of ideas to test next. I would be very
> grateful if someone could give me some idea of what I am doing wrong
> or at least a suggestion for how to continue debugging.
> 
> Thanks in advanced for your help.
> 
> Yours sincerely,
> 
> Lewis Oaten
> web: lewisoaten.com
> twit: twitter.com/lewisoaten
> pk: pk.caecus.co.uk
> cal: tgl.me/LewisOaten

> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users


-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list