Hi,

A simple question concerning GeoSciM:

When I deal with the gsml:positionalAccuracy in GeoSciML, I think it is more 
reasonable to use gsml:CGI_NumbericValue. However, when I check the user manual 
from 

http://docs.geoserver.org/trunk/en/user/data/app-schema/mapping-file.html

The example is like 

<AttributeMapping>
    <targetAttribute>gsml:positionalAccuracy</targetAttribute>
    <targetAttributeNode>gsml:CGI_TermValuePropertyType</targetAttributeNode>
</AttributeMapping>

where gsml:CGI_TermValue is considered.

So if define 

                <AttributeMapping>
                    <targetAttribute>gsml:positionalAccuracy</targetAttribute>
                    
<targetAttributeNode>gsml:CGI_NumbericValuePropertyType</targetAttributeNode>
                </AttributeMapping>
                <AttributeMapping>
                    
<targetAttribute>gsml:positionalAccuracy/gsml:CGI_NumbericValue/gsml:value</targetAttribute>
                    <sourceExpression>
                        <OCQL>MF_POSACCU</OCQL>
                    </sourceExpression>
                    <ClientProperty>
                        <name>uom</name>
                        <value>'urn:ogc:def:uom:UCUM:m'</value>
                    </ClientProperty>
                </AttributeMapping>

I get error message.

My question is which one, gsml:CGI_NumbericValue or gsml:CGI_TermValue is right 
in gsml:positionalAccuracy?

Thanks,

Ying
                                          
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to