Hi,

I think this is a bug, probably in App Schema, but I want to ensure I'm not
doing something wrong before filing a report. I am using App Schema to
output GeodesyML for WFS requests. I noticed recently that Geoserver fails
to resolve one of my namespaces in GetFeature requests. This confused me
because in the past it wasn't a problem. Now I am further confused because
in GetPropertyValue requests it resolves again! How can one WFS request
fail to resolve a namespace but another succeeds? To be clear these are
back to back requests with zero change to mapping files or any other
configuration.

*Specifics:*

http://host:port/geoserver/ows?
service=WFS&
version=2.0.0&
request=*GetFeature*&
typeNames=geo:siteLog&
outputFormat=gml32&
count=10

*results in*

<geo:siteLocation>
<geo:countryCodeISO>Nepal</geo:countryCodeISO>
<geo:tectonicPlate>Eurasia</geo:tectonicPlate>
<geo:approximatePositionITRF>
<geo:cartesianPosition>
<*null:Point* xmlns:null="http://www.opengis.net/gml/3.2"; id="
cartesian.geoml_monuments.fid--1f0f9389_15d8afee8b4_-4128"/>
</geo:cartesianPosition>
<geo:geodeticPosition>
<*null:Point* xmlns:null="http://www.opengis.net/gml/3.2"; id="
latlon.geoml_monuments.fid--1f0f9389_15d8afee8b4_-4128"/>
</geo:geodeticPosition>
</geo:approximatePositionITRF>
</geo:siteLocation>

*BUT*

http://ws-beta.int.unavco.org:9090/geoserver/wfs?
service=wfs&
version=2.0.0&
request=*GetPropertyValue*&
typeNames=geo:siteLog&
valueReference=geo:siteLocation&
count=10

*results in*

<geo:siteLocation>
<geo:countryCodeISO>Nepal</geo:countryCodeISO>
<geo:tectonicPlate>Eurasia</geo:tectonicPlate>
<geo:approximatePositionITRF>
<geo:cartesianPosition>
<*gml:Point* gml:id="
cartesian.geoml_monuments.fid--1f0f9389_15d8afee8b4_-40bc"/>
</geo:cartesianPosition>
<geo:geodeticPosition>
<*gml:Point* gml:id="latlon.geoml_monuments.fid--1f0f9389_15d8afee8b4_-40bc"
/>
</geo:geodeticPosition>
</geo:approximatePositionITRF>
</geo:siteLocation>


Many thanks,

-- 
Gavin Medley
Software Engineer I
*UNAVCO*
6350 Nautilus Drive
Boulder, CO 80301-5394
med...@unavco.org
------------------------------------------------------------------------------
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

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

Reply via email to