featuretable query error

330
0
07-23-2020 08:25 AM
LionelGOUBET
New Contributor II

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

0 Kudos
0 Replies