Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] "layer not rendered" so it can't be edited?

Ok,

<wfs:GetFeature service="WFS" version="1.1.0"
  xmlns:topp="http://www.openplans.org/topp"
  xmlns:wfs="http://www.opengis.net/wfs"
  xmlns:ogc=" http://www.opengis.net/ogc"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
  <wfs:Query typeName="wfstest:WFSTEST">
    </wfs:Query>
</wfs:GetFeature>

returns:

<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2007-09-19T14:03: 40.172+01:00" xsi:schemaLocation="http://www.openplans.org/topp http://jdi-consult.net:8080/geoserver/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=topp:WFSTEST http://www.opengis.net/wfs http://jdi-consult.net:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd">

    <gml:featureMembers>

    <topp:WFSTEST gml:id="WFSTEST.1">

    <gml:boundedBy>

    <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:6.11.2:27700">
<gml:lowerCorner>547285.54 310117.95</gml:lowerCorner>
<gml:upperCorner>547314.0 310137.58</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>

    <topp:WFSTESTGEOMETRY>

    <gml:Polygon>

    <gml:exterior>

    <gml:LinearRing>

    <gml:posList>
547285.54 310129.23 547289.1 310125.15 547293.95 310119.7 547294.1 310119.25 547294.35 310118.8 547294.7 310118.45 547295.1 310118.15 547295.55 310118.0 547296.05 310117.95 547296.45 310118.0 547296.9 310118.15 547297.3 310118.4 547300.15 310120.8 547300.75 310120.7 547301.45 310120.75 547302.2 310120.9 547302.45 310121.0 547303.1 310121.35 547303.7 310121.75 547304.2 310122.25 547304.6 310122.9 547304.85 310123.5 547304.95 310124.15 547304.9 310124.8 547312.55 310131.8 547312.85 310132.15 547313.3 310132.75 547313.65 310133.45 547313.8 310133.95 547314.0 310134.65 547314.0 310135.5 547313.85 310136.05 547313.55 310136.55 547313.2 310137.0 547312.68 310137.58 547311.65 310136.66 547311.85 310136.44 547305.4 310130.75 547306.05 310130.05 547295.25 310120.5 547286.64 310130.24 547285.54 310129.23
</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</topp:WFSTESTGEOMETRY>
</topp:WFSTEST>
</gml:featureMembers>
</wfs:FeatureCollection>


aha, maybe this is the problem...

The request:

<DescribeFeatureType
  version="1.1.0"
  service="WFS"
  xmlns="http://www.opengis.net/wfs"
  xmlns:topp="http://www.openplans.org/topp"
  xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation=" http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
 
    <TypeName>wfstest:WFSTEST</TypeName>
   
</DescribeFeatureType>

returns:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version= "1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows http://jdi-consult.net:8080/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 find type: WFSTEST</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>




On 9/19/07, Andrea Aime <aaime@xxxxxxxxxxxxx> wrote:
Tom (JDi Solutions) ha scritto:
> Hi all,
>
> I've added 3 WFS layers all hosted by Geoserver, all contain many
> thousands of features and all have rendered perfectly in uDig.  The 4th
> layer however has only 1 feature which does not appear in the area I'm
> looking at on screen and when I try to add it it says "layer not
> rendered" and it won't let me create any new features on it either.  I
> also had to tell it which projection it's in.  In geoserver this layer
> is setup the same as the other 3.  What could be going wrong?  Is it a
> bug or have I done something wrong?

Let's try to isolate an eventual GeoServer failure first.
What happens if you do a GetFeature request against that feature type
by using a modified request from the GeoServer sample ones?
If all goes fine there, can you give us the result of a
DescribeFeatureType? You can use the sample requests again.

Cheers
Andrea
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


Back to the top