AGSGDBFeatureTable查询离线geodatabase错误

各位,帮忙看下这个问题。1.ArcGIS runtime for iOS 10.2.5
2.环境:xCode 10.2.1, xCode9.4.1都试过。
3.详情:[AGSGDBFeatureTable queryResultsWithParameters:(AGSQuery*)params completion:(void (^)(NSArray *results, NSError *error))completion]
4:错误提示:libc++abi.dylib: terminating with uncaught exception of type Esri_runtimecore::Common::Internal_error_exception: Internal error exception
 
堆栈信息如下:
* thread #5, queue = 'com.apple.root.default-qos', stop reason = breakpoint 1.2

  * frame #0: 0x000000022a6fc9bc libc++abi.dylib`__cxa_throw

    frame #1: 0x0000000100efe8ac LinHaiMap`Esri_runtimecore::Geometry::throw_internal_error_exception(char const*) + 64

    frame #2: 0x0000000100f2abdc LinHaiMap`Esri_runtimecore::Geometry::Segment::intersect_(Esri_runtimecore::Geometry::Segment const&, std::__1::vector<Esri_runtimecore::Geometry::Point_2D, std::__1::allocator<Esri_runtimecore::Geometry::Point_2D> >*, std::__1::vector<double, std::__1::allocator<double> >*, std::__1::vector<double, std::__1::allocator<double> >*, double) const + 160

    frame #3: 0x0000000100f18354 LinHaiMap`Esri_runtimecore::Geometry::Relational_operations::linear_path_intersects_linear_path_(Esri_runtimecore::Geometry::Multi_path const&, Esri_runtimecore::Geometry::Multi_path const&, double) + 580

    frame #4: 0x0000000100f17d1c LinHaiMap`Esri_runtimecore::Geometry::Relational_operations::polygon_disjoint_multi_path_(Esri_runtimecore::Geometry::Polygon const&, Esri_runtimecore::Geometry::Multi_path const&, double, Esri_runtimecore::Geometry::Progress_tracker*) + 188

    frame #5: 0x0000000100f10d98 LinHaiMap`Esri_runtimecore::Geometry::Relational_operations::polygon_relate_polygon_(Esri_runtimecore::Geometry::Polygon const&, Esri_runtimecore::Geometry::Polygon const&, double, Esri_runtimecore::Geometry::Relational_operations::Relation, Esri_runtimecore::Geometry::Progress_tracker*) + 292

    frame #6: 0x0000000100f1060c LinHaiMap`Esri_runtimecore::Geometry::Relational_operations::relate(Esri_runtimecore::Geometry::Geometry const&, Esri_runtimecore::Geometry::Geometry const&, std::__1::shared_ptr<Esri_runtimecore::Geometry::Spatial_reference> const&, Esri_runtimecore::Geometry::Relational_operations::Relation, Esri_runtimecore::Geometry::Progress_tracker*) + 2592

    frame #7: 0x0000000100ef1eb4 LinHaiMap`Esri_runtimecore::Geometry::Operator_intersects_local::execute(Esri_runtimecore::Geometry::Geometry const&, Esri_runtimecore::Geometry::Geometry const&, std::__1::shared_ptr<Esri_runtimecore::Geometry::Spatial_reference> const&, Esri_runtimecore::Geometry::Progress_tracker*) + 32

    frame #8: 0x0000000101285a24 LinHaiMap`bool Esri_runtimecore::Geodatabase::Sqlite_command::do_spatial_operator<std::__1::shared_ptr<Esri_runtimecore::Geometry::Operator_intersects> >(std::__1::shared_ptr<Esri_runtimecore::Geometry::Operator_intersects> const&) + 128

    frame #9: 0x0000000100dffcd0 LinHaiMap`Esri_runtimecore::Geodatabase::Sqlite_command::next() + 2800

    frame #10: 0x0000000100b46420 LinHaiMap`-[AGSGDBQueryResultCursor countByEnumeratingWithState:objects:count:] + 156

    frame #11: 0x0000000100b49ed0 LinHaiMap`-[AGSGDBFeatureTable resultsForQuery:error:] + 232

    frame #12: 0x0000000100b4923c LinHaiMap`__60-[AGSGDBFeatureTable queryResultsWithParameters:completion:]_block_invoke + 52

    frame #13: 0x0000000103257824 libdispatch.dylib`_dispatch_call_block_and_release + 24

    frame #14: 0x0000000103258dc8 libdispatch.dylib`_dispatch_client_callout + 16

    frame #15: 0x000000010325bc90 libdispatch.dylib`_dispatch_queue_override_invoke + 888

    frame #16: 0x000000010326a1dc libdispatch.dylib`_dispatch_root_queue_drain + 376

    frame #17: 0x000000010326abc8 libdispatch.dylib`_dispatch_worker_thread2 + 156

    frame #18: 0x000000022b15517c libsystem_pthread.dylib`_pthread_wqthread + 472

    frame #19: 0x000000022b157cec libsystem_pthread.dylib`start_wqthread + 4
Jietu20190531-102912.jpg
已邀请:

TTmrxb

赞同来自:

数据的问题。图层不能放到数据集里面,另外需要检查是否有几何错误。

要回复问题请先登录注册