Forget this, turns out it's a different issue. Will send another email shortly

From: Michael Sexton <michael.sex...@ga.gov.au>
Sent: Friday, 29 October 2021 10:14 PM
To: 'geoserver-users@lists.sourceforge.net' 
<geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Forward slash not encoding for app-schema 
ClientProperty [SEC=UNOFFICIAL]

Hi GeoServer users!

I have a GRADE_CODE column in my database which contains values like 'g/t' (for 
grams per tonne) or 'c/t' (for carats per tonne) but when GeoServer tries to 
encode these values, the entire mapping goes missing, and the feature-chaining 
doesn't happen. Snippet of app-schema mapping is below.

<AttributeMapping>
    <targetAttribute>er:grade/gsmlu:GSML_QuantityRange/swe:uom</targetAttribute>
    <ClientProperty>
        <name>code</name>
        <value>GRADE_CODE</value>
    </ClientProperty>
    <ClientProperty>
        <name>xlink:title</name>
        <value>GRADE_TITLE</value>
    </ClientProperty>
    <ClientProperty>
        <name>xlink:href</name>
        <value>GRADE_HREF</value>
    </ClientProperty>
</AttributeMapping>

As I understand it forward-slash is valid in XML (although perhaps it isn't in 
swe:uom).

Any help would be greatly appreciated.

Thanks


Michael Sexton


Data Analyst  |  MEGIS
Minerals Energy Groundwater  |  GEOSCIENCE AUSTRALIA
____________________________________________________________
Phone:  +61 2 6249 9262    Fax:  +61 2 6249 9999
Email:  michael.sex...@ga.gov.au<mailto:michael.sex...@ga.gov.au>    Web:  
www.ga.gov.au<http://www.ga.gov.au/>
Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT 2609
GPO Box 378 Canberra ACT 2601 Australia
Applying geoscience to Australia's most important challenges


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 
intended only for the person or entity to which it is addressed. If you are not 
the intended recipient, then you have received this e-mail by mistake and any 
use, dissemination, forwarding, printing or copying of this e-mail and its file 
attachments is prohibited. The security of emails transmitted cannot be 
guaranteed; by forwarding or replying to this email, you acknowledge and accept 
these risks.

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 
intended only for the person or entity to which it is addressed. If you are not 
the intended recipient, then you have received this e-mail by mistake and any 
use, dissemination, forwarding, printing or copying of this e-mail and its file 
attachments is prohibited. The security of emails transmitted cannot be 
guaranteed; by forwarding or replying to this email, you acknowledge and accept 
these risks.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to