您好,二三维数据在接口的使用上并没有差异,数据集类型是什么,几何对象类型是什么即可。
给您一个三维点的json格式的例子:
{"stringID":null,"fieldNames":["SMID","SMUSERID","SMGEOMETRY"],"geometry":{"center":null,"type":"POINT3D","scaleZ":1,"points":[{"x":79.191527486,"y":68.5127745682,"z":10}],"scaleX":1,"scaleY":1,"rotationX":0,"rotationY":0,"rotationZ":0,"x":79.191527486,"parts":[1],"y":68.5127745682,"z":10,"style":null,"prjCoordSys":null,"position":{"x":79.191527486,"y":68.5127745682,"z":10},"id":1,"partTopo":null},"fieldValues":["1","0","AAGKEQAA7SmA/EHMU0DuKGxM0SBRQO0pgPxBzFNA7ihsTNEgUUB86QMAAO0pgPxBzFNA7ihsTNEgUUAAAAAAAAAkQP4="],"ID":1}
以上仅作为几何数据结构的例子,具体的字段根据您的数据结构和业务需求自行构造字段和字段值。
希望可以帮助到您。