[Geoserver-users] PropertyName in GetFeature requests

Hi list,

does Geoserver 1.7.0-alpha1 (I know time to upgrade but this instance is
out of my control) have a known issue with using a PropertyName in a
GetFeature request? I.e. something like:

<wfs:Query typeName="feature:V_TEST_PERCELEN"
xmlns:feature="http://www.rijkswaterstaat.nl/akr&quot;&gt;&lt;ogc:PropertyName
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;PERCNR17&lt;/ogc:PropertyName&gt;&lt;ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;&lt;ogc:BBOX&gt;

I get a translator error (but it disappears if I leave out the
propertyname tag):

error:Translator error
Translator error
null
Details:
org.geoserver.platform.ServiceException: error:Translator error
        at
org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:254)
        at
org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:263)

TIA.

Best regards,
Bart

bartvde@anonymised.com ha scritto:

Hi list,

does Geoserver 1.7.0-alpha1 (I know time to upgrade but this instance is
out of my control) have a known issue with using a PropertyName in a
GetFeature request? I.e. something like:

<wfs:Query typeName="feature:V_TEST_PERCELEN"
xmlns:feature="http://www.rijkswaterstaat.nl/akr&quot;&gt;&lt;ogc:PropertyName
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;PERCNR17&lt;/ogc:PropertyName&gt;&lt;ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;&lt;ogc:BBOX&gt;

I get a translator error (but it disappears if I leave out the
propertyname tag):

error:Translator error
Translator error
null
Details:
org.geoserver.platform.ServiceException: error:Translator error
        at
org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:254)
        at
org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:263)

A search in jira for closed issues:
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&&query=propertyname+wfs+gml&summary=true&description=true&body=true&pid=10311&status=6&sorter/field=issuekey&sorter/order=DESC

turns one a likely candidate (as far as I remember you use SDE?):
http://jira.codehaus.org/browse/GEOS-2695

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Andrea,

in this case it was Oracle NG.

I've just verified things work properly in 1.7.4.

Best regards,
Bart

bartvde@anonymised.com ha scritto:

Hi list,

does Geoserver 1.7.0-alpha1 (I know time to upgrade but this instance is
out of my control) have a known issue with using a PropertyName in a
GetFeature request? I.e. something like:

<wfs:Query typeName="feature:V_TEST_PERCELEN"
xmlns:feature="http://www.rijkswaterstaat.nl/akr&quot;&gt;&lt;ogc:PropertyName
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;PERCNR17&lt;/ogc:PropertyName&gt;&lt;ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;&lt;ogc:BBOX&gt;

I get a translator error (but it disappears if I leave out the
propertyname tag):

error:Translator error
Translator error
null
Details:
org.geoserver.platform.ServiceException: error:Translator error
        at
org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:254)
        at
org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:263)

A search in jira for closed issues:
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&&query=propertyname+wfs+gml&summary=true&description=true&body=true&pid=10311&status=6&sorter/field=issuekey&sorter/order=DESC

turns one a likely candidate (as far as I remember you use SDE?):
http://jira.codehaus.org/browse/GEOS-2695

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.