|
阅读:1363回复:2
sde空间数据查询怎么出错
long rc;
SE_CONNECTION connection; rc=SE_connection_create("lqk","esri_sde","sde","sde","sde",;Connect_error,;connection); SE_STREAM stream; SE_SHAPE shape; SE_POINT Point; SE_FILTER filter; LFLOAT radius=100.0; LONG max_points; Point.x=X; Point.y=Y; char *name=new char[50]; char *beizhu=new char[50]; max_points=1000; long xuhao; double dianyazhi; SE_COORDREF coordref; rc = SE_coordref_create (;coordref); rc = SE_coordref_set_xy (coordref,0,0,10000); rc=SE_shape_create(coordref,;shape); rc=SE_stream_create(connection,;stream); rc=SE_shape_generate_circle(Point,radius,max_points,shape); strcpy (filter.table, "kxc11"); //图层的表名 strcpy (filter.column, "馈线空间列"); //图层的表名 filter.filter.shape = shape; filter.method = SM_AI; filter.truth = TRUE; filter.filter_type = SE_SHAPE_FILTER; rc = SE_stream_set_spatial_constraints (stream, SE_SPATIAL_FIRST, FALSE, 1,;filter); rc = SE_stream_execute(stream); //以上各语句都返回成功值0,只有这最后一句返回错误值-113 怎么回事? |
|
|
1楼#
发布于:2005-01-27 16:28
公司让作gis ,sde弄不出来怎么办?<img src="images/post/smile/dvbbs/em27.gif" />
|
|
|
2楼#
发布于:2005-01-27 08:19
<img src="images/post/smile/dvbbs/em02.gif" />
|
|