lgoubet

featuretable query error

Discussion created by lgoubet on Jul 23, 2020

Hi,

I have a layer point and I try to get the features in a polygon.

 

final FeatureTable gdbFeatureTable = ((FeatureLayer) layer).getFeatureTable();
QueryParameters query = new QueryParameters();
query.setGeometry(geometry[0]);
query.setReturnGeometry(false);
query.setSpatialRelationship(QueryParameters.SpatialRelationship.INTERSECTS);
final ListenableFuture<FeatureQueryResult> featureQueryResultListenableFuture = gdbFeatureTable.queryFeaturesAsync(query);
try {
    FeatureQueryResult result = featureQueryResultListenableFuture.get();
    ....

and I have this error com.esri.arcgisruntime.ArcGISRuntimeException: SQL error or missing database

 

and additionnal message I have no such table: v_reaun_eau_pro

 

I don't understand beacause it works in a line layer.

 

What's the problem ?

 

Thnaks for your help

Outcomes