[Geoserver-users] application schema and wfs-query with bbox

Hello,

I have done some feature mapping with App-Schema. When I try to do wfs-query
with a bbox-parameter I get this message:

<ows:Exception exceptionCode="NoApplicableCode">
  <ows:ExceptionText>java.lang.RuntimeException: Failed to get property:
{http://www.opengis.net/wfs/2.0\}boundedBy Failed to get property:
{http://www.opengis.net/wfs/2.0\}boundedBy java.io.IOException null ERROR:
syntax error at or near &quot;FROM&quot; Position: 618
</ows:ExceptionText>
</ows:Exception>

Without bbox the query works fine. I'm using Geoserver version 2.3.2 and
PostgreSQL 9.2.4 on Apache Tomcat/7.0.32-gentoo.

An example query is
server/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=hy-p:Rapids&bbox=7009000,334000,7011000,335000.
I have tried with version 1.1.0, changing y- and x- coordinates, changing
srsname etc. Bbox-query works for the same data when not using app-schema
(using only database store). I have also configured layer.xml and
featuretype.xml in Rapids folder using tutorials and examples.

When I tried bbox-query with the App-Schema tutorial data, I didn't get any
errors, but didn't get any features either.

What could be wrong?

Best Regards,
Eero

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/application-schema-and-wfs-query-with-bbox-tp5063574.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Some time have passed, but if someone has similar problems, here is my
solution:

The problem was solved by not using getId() - function in idExpression in
the mapping for the top level type. Instead I used one database column as
the id.

In the Geoserver documentation it is also said not to use functions in the
idExpression.
http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#idexpression-optional.

BR,
Eero

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/application-schema-and-wfs-query-with-bbox-tp5063574p5072215.html
Sent from the GeoServer - User mailing list archive at Nabble.com.