您好
类似这样的服务查询接口有没有完整的文档
1、http://www.cangnanmap.com/dev/apidoc/files/smmap/Geometry/Polygon-js.html
2、var geoCylinder = new Cesium.GeoCylinder(300, 300, 300);
geoCylinder.geoPosition = new Cesium.Point3D(115.009302, 39.006673, 102.0);
var datasetSpatialQuery3DPostParameter = {};
datasetSpatialQuery3DPostParameter.operateRegion = geoCylinder;
datasetSpatialQuery3DPostParameter.positionMode = "INTERSECTSORCONTAINS";
datasetSpatialQuery3DPostParameter.sourceDatasetFilter = {
attributeFilter: ""
};
var queryUrl = "http://www.supermapol.com/realspace/services/spatialAnalysis-data_all/restjsr/spatialanalyst/datasets/building_udb%40building/spatialquery3d.json";
$.ajax({
url: queryUrl,
async: true,
data: JSON.stringify(datasetSpatialQuery3DPostParameter),
method: "POST"
}).done(function(data) {
$.ajax({
url: data.newResourceLocation + ".json",
method: "GET"
}).done(function(data) {
ids1 = data.ids;
})
});
3、var getFeatureParam, getFeatureBySQLService, getFeatureBySQLParams;
getFeatureParam = new SuperMap.REST.FilterParameter({
attributeFilter: SQL
});
getFeatureBySQLParams = new SuperMap.REST.GetFeaturesBySQLParameters({
queryParameter: getFeatureParam,
toIndex: -1,
datasetNames: ["building:jingjin"]
});
var url = 'http://**************/iserver/services/data-nd/rest/data';
getFeatureBySQLService = new SuperMap.REST.GetFeaturesBySQLService(url, {
eventListeners: {
"processCompleted": onQueryComplete,
"processFailed": processFailed
}
});
}
getFeaturesByGeometryService = new SuperMap.REST.GetFeaturesByGeometryService(url, {
eventListeners: {
"processCompleted": processCompleted,
"processFailed": processFailed
}
});
有sql查询、geometry查询两个接口,如果要同时进行geometry+sql查询的结构应该怎么写了?
5、如果有类似geojson的polygon的经纬度坐标对,如何构建查询参数了?
谢谢!