[Geoserver-devel] [jira] Created: (GEOS-215) ArcSDE bounding box encoding doesn't work

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/GEOS-215

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-215
    Summary: ArcSDE bounding box encoding doesn't work
       Type: Bug

     Status: Open
   Priority: Blocker

Original Estimate: 5 minutes
Time Spent: Unknown
  Remaining: 5 minutes

    Project: GeoServer
Components:
             ArcSDE
   Versions:
             1.2.0

   Assignee: Chris Holmes
   Reporter: brock anderson

    Created: Fri, 24 Sep 2004 5:21 PM
    Updated: Fri, 24 Sep 2004 5:21 PM
Environment: Tomcat 4.?, Platform Windows 2k Server, ArcSDE 8.3 I think

Description:
ServerURL:
http://slkapps2.env.gov.bc.ca/geoserver/

Request:

<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="GML2"
  xmlns:imb="http://www.refractions.net/imb&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:gml="http://www.opengis.net/gml&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="imb:WHSE_BASEMAPPING.BC_WATER_POLYS_5KM">
    <ogc:Filter>
      <ogc:BBOX>
        <ogc:PropertyName>GEOMETRY</ogc:PropertyName>
        <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#27345&quot;&gt;
           <gml:coordinates>200000,300000 500000,600000</gml:coordinates>
        </gml:Box>
      </ogc:BBOX>
   </ogc:Filter>
  </wfs:Query>
</wfs:GetFeature>

Exception:

problem with FeatureResults: org.geotools.data.DataSourceException: Encoder error Cannot apply spatial constraints:
  at org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:446)
  at org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:363)
  at org.geotools.data.arcsde.ArcSDEDataStore.getCount(ArcSDEDataStore.java:476)
  at org.geotools.data.AbstractFeatureSource.getCount(AbstractFeatureSource.java:221)
  at org.geotools.data.DefaultFeatureResults.getCount(DefaultFeatureResults.java:196)
  at org.vfny.geoserver.responses.wfs.FeatureResponse.execute(FeatureResponse.java:285)
  at org.vfny.geoserver.responses.wfs.FeatureResponse.execute(FeatureResponse.java:142)
  at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:357)
  at org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:295)
  at org.vfny.geoserver.servlets.wfs.WfsDispatcher.doResponse(WfsDispatcher.java:221)
  at org.vfny.geoserver.servlets.wfs.WfsDispatcher.doPost(WfsDispatcher.java:110)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
  at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
  at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
  at org.apache.jk.common.ChannelJni.invoke(ChannelJni.java:210)
  at org.apache.jk.core.MsgContext.execute(MsgContext.java:203)
  at org.apache.jk.apr.AprImpl.jniInvoke(AprImpl.java:232)
Caused by: org.geotools.data.DataSourceException: Cannot apply spatial constraints:
  at org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:434)
  ... 41 more
Caused by: com.esri.sde.sdk.client.SeException:
  at com.esri.sde.sdk.client.j.a(Unknown Source)
  at com.esri.sde.sdk.client.j.a(Unknown Source)
  at com.esri.sde.sdk.client.SeQuery.setSpatialConstraints(Unknown Source)
  at org.geotools.data.arcsde.ArcSDEQuery.setSpatialConstraints(ArcSDEQuery.java:636)
  at org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:432)
  ... 41 more

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira