HI again,
Indeed it seems that the request is for a region that doesn't exist in the
server (due to the wrong SRS). Assuming that there's nothign wrong with the
layer in the server you could try to add the EPSG to the layer constructor:
var wfs2 = new OpenLayers.Layer.WFS(
"myLayer",
"http://myserver:81/geoserver/wfs",
{
typename: 'myLayersNameInTheServer',
srsName: "EPSG:4326"
}
);
If it still doesn't show up then there must be some problem re-projecting
the layer to the map's SRS.
Good luck,
Luís
2010/3/8 Sarah Schuessler <[email protected]>
>
> Hi,
>>
>> thanks for your suggestion!
>> Name of the layer is correct. I use featureType: "mylayer" (without
>> prefix) and/or typename: "gn:mylayer" but neither worked.
>> Firebug gave me:
>> gml:boundedby ><gml:null>unknown</gml:null>
>> I think because of different EPSG/coordinates. But don´t know how to
>> manage best way.
>>
>> best regards
>> Sarah
>>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users