renderingRules=[{renderingRule1},{renderingRule2},{renderingRule3},{renderingRule4}]
1、兼容原单点坐标
{
"request":"identify",
"collectionName":"420281大冶市",
"point":{
"x":38589551.9435897395,
"y":3332651.4875125242
},
"geoSRS":"EPSG:2362"
}
2、多点查询识别
{
"request": "identify",
"collectionName": "420281大冶市",
"point": [
{
"x": 38589551.9435897395,
"y": 3332651.4875125242
},
{
"x": 38589651.9435897395,
"y": 3332551.4875125242
}
],
"geoSRS": "EPSG:2362"
}
curl --location --request POST 'http://172.16.1.44:9800/rest/services//image/identify' \
--header 'ua_token: ' \
--header 'Content-Type: application/json' \
--data-raw '1、兼容原单点坐标
{
"request":"identify",
"collectionName":"420281大冶市",
"point":{
"x":38589551.9435897395,
"y":3332651.4875125242
},
"geoSRS":"EPSG:2362"
}
2、多点查询识别
{
"request": "identify",
"collectionName": "420281大冶市",
"point": [
{
"x": 38589551.9435897395,
"y": 3332651.4875125242
},
{
"x": 38589651.9435897395,
"y": 3332551.4875125242
}
],
"geoSRS": "EPSG:2362"
}'
{
"result": {
"RasterNameValue": [
{
"name": "4202812017GF2+BJ2+WV2+KS3DOM.img",
"value": "32,68,47"
}
]
},
"resultcode": "success"
}