Hi Peter,

try featureType: "LDFOpenSpaceMOL" instead in your OpenLayers code.

Best regards,
Bart

> OK I can see that now. Why would a layer be accessible via WMS but not via
> WFS? What would cause it to be missing from the catalog?
>
> Peter Spurgeon
> Corporate GIS Manager
>
> Telephone: 020 7974 5614
>
> -----Original Message-----
> From: Bart van den Eijnden (OSGIS) [mailto:[email protected]]
> Sent: 14 December 2010 11:59
> To: Spurgeon, Peter
> Cc: [email protected]
> Subject: RE: [OpenLayers-Users] WFS layer
>
> Hi Peter,
>
> it's still giving you back an exception. Install Firebug (an extension) in
> Firefox and you can see for yourself in the Console tab.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ows:ExceptionReport version="1.0.0"
>   xsi:schemaLocation="http://www.opengis.net/ows
> http://gis.camden.gov.uk:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:ows="http://www.opengis.net/ows";>
>   <ows:Exception exceptionCode="NoApplicableCode">
>     <ows:ExceptionText>Could not locate Camden:LDFOpenSpaceMOL in
> catalog.</ows:ExceptionText>
>   </ows:Exception>
> </ows:ExceptionReport>
>
> Best regards,
> Bart
>
>> I have changed the code to use a layer that is listed in the WFS 1.1
>> getCapabilities:
>>
>> <FeatureType>
>> <Name>Camden:LDFOpenSpaceMOL</Name>
>> <Title>LDFOpenSpaceMOL</Title>
>> <Abstract/>
>> <DefaultSRS>urn:x-ogc:def:crs:EPSG:27700</DefaultSRS>
>> รข^'
>> <ows:WGS84BoundingBox>
>> <ows:LowerCorner>-0.192 51.525</ows:LowerCorner>
>> <ows:UpperCorner>-0.141 51.573</ows:UpperCorner>
>> </ows:WGS84BoundingBox>
>> </FeatureType>
>>
>> Here is the URL:
>>
>> http://gis.camden.gov.uk/geoserver/test8.html
>>
>>
>> The WFS layer is not visible - please advise.
>>
>> Thanks
>>
>> Peter Spurgeon
>> Corporate GIS Manager
>>
>> Telephone: 020 7974 5614
>> -----Original Message-----
>> From: Bart van den Eijnden (OSGIS) [mailto:[email protected]]
>> Sent: 14 December 2010 11:24
>> To: Spurgeon, Peter
>> Cc: [email protected]
>> Subject: Re: [OpenLayers-Users] WFS layer
>>
>> Hi,
>>
>> your Geoserver reports that it does not know this featureType:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ows:ExceptionReport version="1.0.0"
>>   xsi:schemaLocation="http://www.opengis.net/ows
>> http://gis.camden.gov.uk:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";
>>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xmlns:ows="http://www.opengis.net/ows";>
>>   <ows:Exception exceptionCode="NoApplicableCode">
>>     <ows:ExceptionText>Could not locate Camden:Ward in
>> catalog.</ows:ExceptionText>
>>   </ows:Exception>
>> </ows:ExceptionReport>
>>
>>
>> Best regards,
>> Bart
>>
>>> Hi
>>>
>>>
>>>
>>> I want to display a WFS layer on an OpenLayers map: -
>>>
>>>
>>>
>>> http://gis.camden.gov.uk/geoserver/test3.html
>>>
>>>
>>>
>>> Can someone tell me why the WFS layer is not visible?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Peter Spurgeon
>>> Corporate GIS Manager
>>> Camden Corporate ICT
>>> Finance
>>> London Borough of Camden
>>>
>>> Telephone:   020 7974 5614
>>> Fax:               020 7974 5860
>>> Web:             camden.gov.uk <http://www.camden.gov.uk/>
>>>
>>> 310
>>> 3rd Floor, Old Town Hall
>>> Judd Street
>>> London WC1H 8NJ
>>>
>>> Please consider the environment before printing this email.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> This e-mail may contain information which is confidential, legally
>>> privileged and/or copyright protected. This e-mail is intended for the
>>> addressee only. If you receive this in error, please contact the sender
>>> and delete the material from your
>>> computer_______________________________________________
>>> Users mailing list
>>> [email protected]
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>>
>>
>>
>>
>> This e-mail may contain information which is confidential, legally
>> privileged and/or copyright protected. This e-mail is intended for the
>> addressee only. If you receive this in error, please contact the sender
>> and delete the material from your computer
>>
>
>
>
> This e-mail may contain information which is confidential, legally
> privileged and/or copyright protected. This e-mail is intended for the
> addressee only. If you receive this in error, please contact the sender
> and delete the material from your computer
>


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to