<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Tobias,<br>
<br>
This(image attached)?<br>
<br>
<br>
<br>
<br>
<br>
<blockquote cite="mid:4FF40C03.30603@sapo.pt" type="cite">
<div class="moz-cite-prefix"> <br>
Em 04-07-2012 10:21, Tobias Reinicke escreveu:<br>
</div>
<blockquote
cite="mid:CAPitpCaZMrQ8CCis5r8a_9KZrK1AwNch-aqB7AfQyuZ8gAEfQQ@mail.gmail.com"
type="cite">If you expand that "options.wfs" in the firebug
console, what does the "response" tab have in it?
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On 4 July 2012 10:09, Pedro Costa <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:pedrocostaarma@sapo.pt" target="_blank">pedrocostaarma@sapo.pt</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <br>
<div><br>
I forgot image....<br>
<br>
<br>
<div><br>
<br>
-------- Mensagem Original --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">Assunto: </th>
<td>my vector data don't show up - wfs</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">Data: </th>
<td>Wed, 04 Jul 2012 09:56:54 +0100</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">De: </th>
<td>Pedro Costa <a moz-do-not-send="true"
href="mailto:pedrocostaarma@sapo.pt"
target="_blank"><pedrocostaarma@sapo.pt></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">Para: </th>
<td><a moz-do-not-send="true"
href="mailto:openlayers-users@lists.osgeo.org"
target="_blank">openlayers-users@lists.osgeo.org</a></td>
</tr>
</tbody>
</table>
<div class="im"> <br>
<br>
<pre>Hi,
I'm trying to add vector data to my map from geoserver but data don't
show up.
I tried like that:
var wfs = new OpenLayers.Layer.Vector("Equipamentos_WFS", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: <a moz-do-not-send="true" href="http://localhost:8080/geoserver/testes/wfs" target="_blank">"http://localhost:8080/geoserver/testes/wfs"</a>,
featurePrefix:"testes",
featureType: "testes:equipamentos",
featureNS: "<a moz-do-not-send="true" href="http://namespacetestes.pt" target="_blank">namespacetestes.pt</a>",
srsName: "EPSG:900913",
geometryName: "the_geom",
version: "1.0.0"
})
});
map.addLayer(wfs);
I'm using only data from localhost (my computer) so i don't need proxy
right?
Using firebug I can see that the request is made, but returns nothing
(image attached).
Can anybody help me?
Thanks
</pre>
<br>
<br>
</div>
</div>
<br>
<br>
<br>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/openlayers-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>