Dear all

The examples I provide are on geoserver2.12.2, but on 2.13 I get the same 
results

I have a service, and here you can see the (complex) GetFeature result

http://inspire.beta.informatievlaanderen.be/overdrachtdiensten/hy-p/wfs?request=getfeature&service=wfs&typename=hy-p:DrainageBasin&outputFormat=gml32&count=1


?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs/2.0"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:hy="http://inspire.ec.europa.eu/schemas/hy/4.0"; 
xmlns:gco="http://www.isotc211.org/2005/gco"; 
xmlns:nns="http://inspire.ec.europa.eu/schemas/net/4.0"; 
xmlns:hy-n="http://inspire.ec.europa.eu/schemas/hy-n/4.0"; 
xmlns:hy-p="http://inspire.ec.europa.eu/schemas/hy-p/4.0"; 
xmlns:gml="http://www.opengis.net/gml/3.2"; 
xmlns:gn="http://inspire.ec.europa.eu/schemas/gn/4.0"; 
xmlns:base="http://inspire.ec.europa.eu/schemas/base/3.3"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; numberMatched="unknown" 
numberReturned="1" timeStamp="2018-04-19T11:24:50.579Z" 
xsi:schemaLocation="http://www.opengis.net/wfs/2.0 
http://schemas.opengis.net/wfs/2.0/wfs.xsd 
http://inspire.ec.europa.eu/schemas/hy-p/4.0 
http://inspire.ec.europa.eu/schemas/hy-p/4.0/HydroPhysicalWaters.xsd 
http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
            <wfs:member>
                        <hy-p:DrainageBasin gml:id="vha_bekken_1">
                                    <gml:identifier 
codeSpace="http://inspire.ec.europa.eu/ids";>http://data.vlaanderen.be/doc/vha/bekken/1</gml:identifier>
                                    <hy-p:geographicalName>
                                               <gn:GeographicalName>
                                                           
<gn:language>dut</gn:language>
                                                           <gn:nativeness 
xsi:nil="true" 
nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"/>
                                                           <gn:nameStatus 
xsi:nil="true" 
nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"/>
                                                           <gn:sourceOfName 
xsi:nil="true" 
nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"/>
                                                           <gn:pronunciation 
xsi:nil="true" 
nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"/>
                                                           <gn:spelling>
                                                                       
<gn:SpellingOfName>
                                                                                
   <gn:text>Bekken Brugse polders</gn:text>
                                                                                
  <gn:script>Latn</gn:script>
                                                                       
</gn:SpellingOfName>
                                                           </gn:spelling>
                                               </gn:GeographicalName>
                                    </hy-p:geographicalName>
                                    <hy-p:area 
uom="m2">1.0451260847803648E9</hy-p:area>
                                    
<hy-p:beginLifespanVersion>2017-03-03T00:00:00Z</hy-p:beginLifespanVersion>
                                    <hy-p:geometry>
                                               <gml:Polygon 
gml:id="geometry.drainagebasin.4" srsDimension="2" 
srsName="http://www.opengis.net/def/crs/EPSG/0/4258";>
                                                           <gml:exterior>
                                                                       
<gml:LinearRing>
                                                                                
   <gml:posList>51.09484836054


A GetPropertyValue (valueReference=hy-p:geographicalName) request gives me a 
nice result without null namespaces

http://inspire.beta.informatievlaanderen.be/overdrachtdiensten/hy-p/wfs?request=GetPropertyValue&service=wfs&typename=hy-p:DrainageBasin&valueReference=hy-p:geographicalName

If I try to go a bit deeper, like “hy-p:geographicalName/gn:GeographicalName” I 
get
No such attribute: hy-p:geographicalName/gn:GeographicalName

What do I do wrong?

Thanks!

Bart


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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