String url = "http://192.168.5.229:8090/iserver/services/data-b13Mobile/rest/data";
GetFeaturesByGeometryParameters geometryParameters = new GetFeaturesByGeometryParameters();
com.supermap.services.components.commontypes.Point2D point2D1 = new com.supermap.services.components.commontypes.Point2D(point2D.getX(),point2D.getY());
com.supermap.services.components.commontypes.Geometry geometry = com.supermap.services.components.commontypes.Geometry.fromPoint2D(point2D1);
geometryParameters.spatialQueryMode = SpatialQueryMode.WITHIN;
geometryParameters.geometry = geometry;
GetFeaturesByGeometryService geometryService = new GetFeaturesByGeometryService(url);
MyEventListener eventListener = new MyEventListener();
geometryService.process(geometryParameters,eventListener);
请问一下GetFeaturesByGeometryService这种查询方式,有如下问题:
1、geometry 是应该传入Point3D类型参数还是Point2D;
2、url这个参数,对不对,应该传入什么url。
有没有文档可以参考,谢谢!