[OpenLayers-Users] WFS layers loaded are not visible

Alessio Di Lorenzo alessio.dilorenzo at gmail.com
Tue Mar 4 09:13:24 EST 2008


Arnd Wippermann ha scritto:
> Hi Alessio,
>
> When the console tab shows nothing, i would think so.
>
> You have only one layer in your map, the WFS-layer. It seems, that the
> WFS-layer can not be a baselayer. Try to add as baselayer some WMS
> (metacarta from examples) and the WFS as overlay.
>   

Hi Arnd,

I added a WMS baselayer to my code and now the situation is chaged.
When I send the WFS request a popup window show me this message:

"Unhandled request return Bad Gateway"

and the Firebug console displays the following error:

non well-formed

parseXMLString()OpenLayers.js (line 188)

getImagesLocation()OpenLayers.js (line 101)

parseXMLString("<address>Apache/2.2.4 (Ubuntu) mod_jk/1.2.23 mod_python/3.3.1 Python/2.5.1 PHP/5.2.3-1ubuntu6.3 Serv...")OpenLayers.js (line 188)

loadFeaturesForRegion(XMLHttpRequest)OpenLayers.js (line 604)

bind()OpenLayers.js (line 55)

onStateChange(4)OpenLayers.js (line 197)

onStateChange()OpenLayers.js (line 195)

bind()


Thanks for your help

alessio



More information about the Users mailing list