[OpenLayers-Users] WFS layer not display..

Bart van den Eijnden bartvde at osgis.nl
Tue Mar 2 11:23:36 EST 2010


There are still several reasons why things could be misconfigured (maybe an extra / in your namespace definition, the geometry column is not named the_geom etc), and we can't help you without knowing the request/response. So please install Firebug (a Firefox extension) and learn how to use it, it's really the most necessary tool for any javascript/web developer.

Btw what you posted is the request, not the response.

Best regards,
Bart

On Mar 2, 2010, at 4:28 PM, pocky wrote:

> 
> Bart,
> 
> I don't have much knowledge in OL & geoserver. Moreover, I don't know how to
> use Firebug. Btw, below is GML returned which I got it from Live HTTP
> Headers / Firefox.
> 
> ------------------------------------------------------
> 
> <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
> version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> 	<wfs:Query typeName="feature:city_point"
> xmlns:feature="http://www.opp.com/city">
> 		<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
> 			<ogc:BBOX>
> 				<ogc:PropertyName>the_geom</ogc:PropertyName>
> 				<gml:Box xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:32632">
> 					<gml:coordinates decimal="." cs="," ts=" ">529860.876452,6829909.436333
> 779860.876452,6978346.936333</gml:coordinates>
> 				</gml:Box>
> 			</ogc:BBOX>
> 		</ogc:Filter>
> 	</wfs:Query>
> </wfs:GetFeature>
> 
> ------------------------------------------------------
> 
> The WMS layer displays correctly but WFS layer doesn't appear..
> Note: I'm using GeoServer 2.0 & OL 2.8
> 
> Thank you very much,
> -- 
> View this message in context: http://n2.nabble.com/WFS-layer-not-display-tp4660996p4661567.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 




More information about the Users mailing list