Hi,

I do not know about mapping, but you'd better to correct your Envelope.   
LowerCorner must have smaller numbers for both coordinates.

<gml:lowerCorner>11.4 2.1</gml:lowerCorner>
<gml:upperCorner>22.3 2.3</gml:upperCorner>

-Jukka Rahkonen-


________________________________
alessandro marrone wrote:


> Hello, I'm trying to map the follow attribute defined in gml/3.2 :
 <gml:boundedBy>
     <gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326";>
        <gml:lowerCorner>22.3 2.1</gml:lowerCorner>
        <gml:upperCorner>11.4 2.3</gml:upperCorner>
      </gml:Envelope>
  </gml:boundedBy>

> In my mapping file I write this:

                <AttributeMapping>
                    
<targetAttribute>gml:boundedBy/gml:Envelope</targetAttribute>
                    <ClientProperty>
                        <name>srsName</name>
                        
<value>'http://www.opengis.net/def/crs/EPSG/0/4326'</value>
                    </ClientProperty>
                </AttributeMapping>


                <AttributeMapping>
                    
<targetAttribute>gml:boundedBy/gml:Envelope/gml:lowerCorner</targetAttribute>
                        <sourceExpression>
                            <OCQL>'22.3 2.1'</OCQL>
                        </sourceExpression>
                </AttributeMapping>

                <AttributeMapping>
                    
<targetAttribute>gml:boundedBy/gml:Envelope/gml:upperCorner</targetAttribute>
                        <sourceExpression>
                            <OCQL>'11.4 2.3'</OCQL>
                        </sourceExpression>
                </AttributeMapping>

The problem is that in the WFS response the element doesn't appear
but all the others do regularly

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to