[OpenLayers-Users] WFS Not loading

Lewis Oaten sphyrz at gmail.com
Tue Mar 9 04:45:47 EST 2010


Hi Brian,

I have had a play around with a few things and not had any success but
noticed some strange results. As you can see, I have added a
geometryName,  attempted using a featureNS and added a styleMap.

My latest code: http://pastebin.com/9RFJ6tJh

When I add the projection the result returns 0 features and, of
course, nothing is displayed. When I remove it, the default 100
features return but are not displayed. Why might this be?

Here is the request, without an explicit projection, which has
results: http://pastebin.com/VEPE3zQN

Here is the request, with the projection "projection: new
OpenLayers.Projection("EPSG:26915")"  which returns 0 features:
http://pastebin.com/4C5DFYsn

Thanks again,

Lewis Oaten
web: lewisoaten.com
twit: twitter.com/lewisoaten
key: pk.caecus.co.uk
cal: tgl.me/LewisOaten




On Mon, Mar 8, 2010 at 7:47 PM, Brian Stempin <brian.stempin at gmail.com> wrote:
> Hrmm....this is starting to stump me.  I had a difficult time with the last
> WFS layer I setup.  Here's my working code: http://pastebin.com/dVRAsi5C
>
> I'd try looking at your featureNS and adding a geometryName.
>
> HTH,
> Brian
>



More information about the Users mailing list